diff --git a/Clocker/ClockerUnitTests/ThemerTests.swift b/Clocker/ClockerUnitTests/ThemerTests.swift index 47a9f69..8b1a734 100644 --- a/Clocker/ClockerUnitTests/ThemerTests.swift +++ b/Clocker/ClockerUnitTests/ThemerTests.swift @@ -290,7 +290,7 @@ class ThemerTests: XCTestCase { let expectedSliderRightColor = NSColor.gray let expectedBackgroundColor = NSColor(deviceRed: 7.0 / 255.0, green: 54.0 / 255.0, blue: 66.0 / 255.0, alpha: 1.0) let expectedTextColor = NSColor.white - let expectedTextBackgroundColor = NSColor(deviceRed: 88.0 / 255.0, green: 110.0 / 255.0, blue: 117.0 / 255.0, alpha: 1.0) + let expectedTextBackgroundColor = NSColor(deviceRed: 0.0 / 255.0, green: 43.0 / 255.0, blue: 54.0 / 255.0, alpha: 1.0) let expectedShutdownImageName = "ellipsis.circle" let expectedPreferenceImageName = "plus" diff --git a/Clocker/Overall App/Themer.swift b/Clocker/Overall App/Themer.swift index 0613deb..26a403e 100644 --- a/Clocker/Overall App/Themer.swift +++ b/Clocker/Overall App/Themer.swift @@ -146,7 +146,7 @@ extension Themer { case .solarizedLight: return NSColor(deviceRed: 238.0 / 255.0, green: 232.0 / 255.0, blue: 213.0 / 255.0, alpha: 1.0) case .solarizedDark: - return NSColor(deviceRed: 88.0 / 255.0, green: 110.0 / 255.0, blue: 117.0 / 255.0, alpha: 1.0) + return NSColor(deviceRed: 0.0 / 255.0, green: 43.0 / 255.0, blue: 54.0 / 255.0, alpha: 1.0) } } @@ -448,7 +448,7 @@ extension Themer { if #available(OSX 10.14, *) { var appAppearance = NSAppearance(named: .aqua) - if themeIndex == .dark { + if themeIndex == .dark || themeIndex == .solarizedDark { appAppearance = NSAppearance(named: .darkAqua) } else if themeIndex == .system { appAppearance = retrieveCurrentSystem() == .dark ? NSAppearance(named: .darkAqua) : NSAppearance(named: .aqua) diff --git a/Clocker/Preferences/Preferences.storyboard b/Clocker/Preferences/Preferences.storyboard index cfe663a..2cecec0 100644 --- a/Clocker/Preferences/Preferences.storyboard +++ b/Clocker/Preferences/Preferences.storyboard @@ -1,6 +1,7 @@ + @@ -388,7 +389,7 @@ - + @@ -800,7 +801,7 @@ - + @@ -813,7 +814,7 @@ - + @@ -833,7 +834,7 @@ - + @@ -843,7 +844,7 @@ - + @@ -853,6 +854,7 @@ + @@ -864,7 +866,7 @@ - + @@ -877,7 +879,7 @@ - + @@ -895,7 +897,7 @@ - + @@ -908,7 +910,7 @@ - + @@ -924,7 +926,7 @@ - + @@ -937,7 +939,7 @@ - + @@ -953,7 +955,7 @@ - + @@ -966,7 +968,7 @@ - + @@ -978,12 +980,12 @@ - + - + - - + + @@ -1002,7 +1004,7 @@ - + @@ -1511,7 +1513,7 @@ - + @@ -1568,13 +1570,13 @@ DQ - + - + - + @@ -1664,14 +1666,14 @@ DQ - + - + @@ -1781,7 +1783,7 @@ DQ - + @@ -1996,6 +1998,11 @@ CA + + + + +