From 99127b617b1e7895df3977b366f652cf01381850 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 6 Feb 2023 18:47:50 -0500 Subject: [PATCH] Tweak non-pure-black dark mode colors --- Tusker/Preferences/Colors.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tusker/Preferences/Colors.swift b/Tusker/Preferences/Colors.swift index 825fa2c2..9a13b07e 100644 --- a/Tusker/Preferences/Colors.swift +++ b/Tusker/Preferences/Colors.swift @@ -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