Tweak non-pure-black dark mode colors

This commit is contained in:
Shadowfacts 2023-02-06 18:47:50 -05:00
parent 65ea72c07f
commit 99127b617b
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ extension UIColor {
static let appBackground = UIColor { traitCollection in
if case .dark = traitCollection.userInterfaceStyle,
!traitCollection.pureBlackDarkMode {
return UIColor(hue: 230/360, saturation: 20/100, brightness: 10/100, alpha: 1)
return UIColor(hue: 230/360, saturation: 23/100, brightness: 10/100, alpha: 1)
} else {
return .systemBackground
}
@ -23,9 +23,9 @@ extension UIColor {
if case .dark = traitCollection.userInterfaceStyle,
!traitCollection.pureBlackDarkMode {
if traitCollection.userInterfaceLevel == .elevated {
return UIColor(hue: 230/360, saturation: 25/100, brightness: 10/100, alpha: 1)
return UIColor(hue: 230/360, saturation: 23/100, brightness: 10/100, alpha: 1)
} else {
return UIColor(hue: 230/360, saturation: 25/100, brightness: 5/100, alpha: 1)
return UIColor(hue: 230/360, saturation: 23/100, brightness: 5/100, alpha: 1)
}
} else {
return .secondarySystemBackground