2023-01-05 11:55:20 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
//
|
|
|
|
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
extension Color {
|
|
|
|
|
|
|
|
// MARK: - Text Colors
|
|
|
|
static let dangerColor = Color("DangerColor")
|
|
|
|
static let lightGrayColor = Color("LightGrayColor")
|
|
|
|
static let mainTextColor = Color("MainTextColor")
|
2023-01-08 11:32:39 +01:00
|
|
|
static let selectedRowColor = Color("SelectedRowColor")
|
2023-02-13 21:10:07 +01:00
|
|
|
static let viewBackgroundColor = Color("ViewBackgroundColor")
|
2023-02-27 14:03:22 +01:00
|
|
|
static let keyboardToolbarColor = Color("KeyboardToolbar")
|
2023-02-13 21:10:07 +01:00
|
|
|
static let viewTextColor = Color("ViewTextColor")
|
2023-01-12 18:34:48 +01:00
|
|
|
static let accentColor1 = Color("AccentColor1")
|
|
|
|
static let accentColor2 = Color("AccentColor2")
|
|
|
|
static let accentColor3 = Color("AccentColor3")
|
|
|
|
static let accentColor4 = Color("AccentColor4")
|
|
|
|
static let accentColor5 = Color("AccentColor5")
|
|
|
|
static let accentColor6 = Color("AccentColor6")
|
|
|
|
static let accentColor7 = Color("AccentColor7")
|
|
|
|
static let accentColor8 = Color("AccentColor8")
|
|
|
|
static let accentColor9 = Color("AccentColor9")
|
|
|
|
static let accentColor10 = Color("AccentColor10")
|
2023-01-05 11:55:20 +01:00
|
|
|
}
|
2023-01-15 12:41:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
extension Color {
|
|
|
|
func toUIColor() -> UIColor {
|
|
|
|
UIColor(self)
|
|
|
|
}
|
|
|
|
}
|