2022-12-30 19:55:23 +00:00
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
public protocol ColorSet {
|
2022-12-31 05:48:09 +00:00
|
|
|
var tintColor: Color { get set }
|
|
|
|
var primaryBackgroundColor: Color { get set }
|
|
|
|
var secondaryBackgroundColor: Color { get set }
|
|
|
|
var labelColor: Color { get set }
|
2022-12-30 19:55:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public struct DarkSet: ColorSet {
|
2022-12-31 05:48:09 +00:00
|
|
|
public var tintColor: Color = Color(red: 187/255, green: 59/255, blue: 226/255)
|
|
|
|
public var primaryBackgroundColor: Color = Color(red: 16/255, green: 21/255, blue: 35/255)
|
|
|
|
public var secondaryBackgroundColor: Color = Color(red: 30/255, green: 35/255, blue: 62/255)
|
|
|
|
public var labelColor: Color = .white
|
|
|
|
|
|
|
|
public init() {}
|
2022-12-30 19:55:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public struct LightSet: ColorSet {
|
2022-12-31 05:48:09 +00:00
|
|
|
public var tintColor: Color = Color(red: 187/255, green: 59/255, blue: 226/255)
|
|
|
|
public var primaryBackgroundColor: Color = .white
|
|
|
|
public var secondaryBackgroundColor: Color = Color(hex:0xF0F1F2)
|
|
|
|
public var labelColor: Color = .black
|
|
|
|
|
|
|
|
public init() {}
|
2022-12-30 19:55:23 +00:00
|
|
|
}
|