First version

This commit is contained in:
Christoph Hagen
2024-10-14 19:22:32 +02:00
parent 7c812de089
commit 0989f06d87
51 changed files with 2477 additions and 234 deletions

View File

@ -0,0 +1,15 @@
import SwiftUI
extension Color {
init(_ r: Int, _ g: Int, _ b: Int) {
self.init(r: r, g: g, b: b)
}
init(r: Int, g: Int, b: Int) {
self.init(
red: Double(r) / 255,
green: Double(g) / 255,
blue: Double(b) / 255)
}
}