mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-04-28 18:30:09 +00:00
💄 Refactoring color management and extending to all views
- Thanks to @liza-kl for the color scheme <3
This commit is contained in:
@@ -7,12 +7,7 @@
|
||||
import SwiftUI
|
||||
import Foundation
|
||||
extension Color {
|
||||
// For Darkmode
|
||||
static let darkModeDarkColor = Color(red: 16 / 255, green: 32 / 255, blue: 39 / 255)
|
||||
static let darkModePrimaryColor = Color(red: 55 / 255, green: 71 / 255, blue: 79 / 255)
|
||||
static let darkModeLightColor = Color(red: 98 / 255, green: 114 / 255, blue: 123 / 255)
|
||||
// For Lightmode
|
||||
static let lightkModeDarkColor = Color(red: 174 / 255, green: 174 / 255, blue: 174 / 255)
|
||||
static let lightModePrimaryColor = Color(red: 224 / 255, green: 224 / 255, blue: 224 / 255)
|
||||
static let lightModeLightColor = Color(red: 255 / 255, green: 255 / 255, blue: 255 / 255)
|
||||
static let primaryColor = Color("PrimaryColor")
|
||||
static let darkColor = Color("DarkColor")
|
||||
static let lightColor = Color("LightColor")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user