mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-26 02:38:32 +02:00
WIP: migrations demo
This commit is contained in:
@@ -28,7 +28,7 @@ extension Modern.ColorsDemo {
|
||||
switch self {
|
||||
|
||||
case .all: return .init()
|
||||
case .light: return (\.$brightness >= 0.9)
|
||||
case .light: return (\.$brightness >= 0.6)
|
||||
case .dark: return (\.$brightness <= 0.4)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ extension Modern.ColorsDemo {
|
||||
|
||||
private static func randomBrightness() -> Float {
|
||||
|
||||
return Float.random(in: 0.0 ... 1.0)
|
||||
return Float.random(in: 0.1 ... 0.9)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user