IceCubesApp/Packages/DesignSystem/Sources/DesignSystem/ColorSet.swift

27 lines
885 B
Swift
Raw Normal View History

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 }
}
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() {}
}
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() {}
}