]> git.r.bdr.sh - rbdr/patterns/blobdiff - Sources/Patterns/Tile.swift
Add supported platforms
[rbdr/patterns] / Sources / Patterns / Tile.swift
index 389332428f29b8ebe9e22f56ba7e10e4f77a7810..816ebc5a87926eef37f4dfaa89b5f6da4cd8546a 100644 (file)
@@ -2,10 +2,10 @@ import SwiftUI
 
 public struct Tile: View {
   
-  let design: TileDesign
-  var pixelSize: CGFloat = 2.0;
-  var foregroundColor: Color = .black
-  var backgroundColor: Color = .white
+  public let design: TileDesign
+  public var pixelSize: CGFloat = 2.0;
+  public var foregroundColor: Color = .black
+  public var backgroundColor: Color = .white
   
   private var pixels: [Int] {
     design.pixels()