diff --git a/Clocker/Onboarding/OnboardingSearchController.swift b/Clocker/Onboarding/OnboardingSearchController.swift index 59c0f80..f6fe97f 100644 --- a/Clocker/Onboarding/OnboardingSearchController.swift +++ b/Clocker/Onboarding/OnboardingSearchController.swift @@ -77,10 +77,10 @@ class OnboardingSearchController: NSViewController { } } - @objc func doubleClickAction(_: NSTableView?) { + @objc func doubleClickAction(_ tableView: NSTableView) { [accessoryLabel].forEach { $0?.isHidden = false } - if resultsTableView.selectedRow >= 0, resultsTableView.selectedRow < searchResultsDataSource.resultsCount() { + if tableView.selectedRow >= 0, tableView.selectedRow < searchResultsDataSource.resultsCount() { let selectedType = searchResultsDataSource.placeForRow(resultsTableView.selectedRow) switch selectedType { case .city: diff --git a/Clocker/Overall App/Themer.swift b/Clocker/Overall App/Themer.swift index 970f682..a46d123 100644 --- a/Clocker/Overall App/Themer.swift +++ b/Clocker/Overall App/Themer.swift @@ -274,6 +274,10 @@ extension Themer { } func removeImage() -> NSImage { + if let symbolImage = symbolImage(for: "xmark") { + return symbolImage + } + if #available(macOS 10.14, *) { switch themeIndex { case .light, .solarizedLight: diff --git a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift index 5b459a8..9dab3d4 100644 --- a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift +++ b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift @@ -257,6 +257,9 @@ class AppFeedbackWindowController: NSWindowController { [accessoryInfo].forEach { $0?.textColor = Themer.shared().mainTextColor() } contactBox.borderColor = Themer.shared().mainTextColor() + feedbackTextView.backgroundColor = Themer.shared().mainBackgroundColor() + nameField.backgroundColor = Themer.shared().mainBackgroundColor() + emailField.backgroundColor = Themer.shared().mainBackgroundColor() } private func setUnderline(for button: UnderlinedButton?, range: NSRange) { diff --git a/Clocker/Preferences/Appearance/AppearanceViewController.swift b/Clocker/Preferences/Appearance/AppearanceViewController.swift index 0e48080..8419c40 100644 --- a/Clocker/Preferences/Appearance/AppearanceViewController.swift +++ b/Clocker/Preferences/Appearance/AppearanceViewController.swift @@ -174,6 +174,8 @@ class AppearanceViewController: ParentViewController { previewLabel, miscelleaneousLabel, dstTransitionField].forEach { $0?.textColor = Themer.shared().mainTextColor() } + + self.previewPanelTableView.backgroundColor = Themer.shared().mainBackgroundColor() } @IBAction func timeFormatSelectionChanged(_ sender: NSPopUpButton) { diff --git a/Clocker/Preferences/Calendar/CalendarViewController.swift b/Clocker/Preferences/Calendar/CalendarViewController.swift index df62f2a..827a3eb 100644 --- a/Clocker/Preferences/Calendar/CalendarViewController.swift +++ b/Clocker/Preferences/Calendar/CalendarViewController.swift @@ -61,8 +61,9 @@ class CalendarViewController: ParentViewController { } if #available(macOS 10.14, *) { - noAccessView.material = .underWindowBackground + noAccessView.material = .contentBackground } + upcomingEventView.setAccessibility("UpcomingEventView") } deinit { @@ -215,7 +216,8 @@ class CalendarViewController: ParentViewController { showNextMeetingLabel, nextMeetingAccessoryLabel, truncateTextLabel, showEventsFromLabel, charactersField, truncateAccessoryLabel].forEach { $0?.textColor = Themer.shared().mainTextColor() } - upcomingEventView.setAccessibility("UpcomingEventView") + calendarsTableView.backgroundColor = Themer.shared().mainBackgroundColor() + truncateTextField.backgroundColor = Themer.shared().mainBackgroundColor() } } diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 510324e..2f53265 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -249,7 +249,7 @@ class PreferencesViewController: ParentViewController { } timezoneTableView.backgroundColor = Themer.shared().mainBackgroundColor() - availableTimezoneTableView.backgroundColor = Themer.shared().mainBackgroundColor() + availableTimezoneTableView.backgroundColor = Themer.shared().textBackgroundColor() timezonePanel.backgroundColor = Themer.shared().textBackgroundColor() timezonePanel.contentView?.wantsLayer = true timezonePanel.contentView?.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor diff --git a/Clocker/Preferences/Preferences.storyboard b/Clocker/Preferences/Preferences.storyboard index e9fd5bf..e1d98b6 100644 --- a/Clocker/Preferences/Preferences.storyboard +++ b/Clocker/Preferences/Preferences.storyboard @@ -979,11 +979,11 @@ - + - + @@ -1512,7 +1512,7 @@ - + @@ -1569,13 +1569,13 @@ DQ - + - - + + - + @@ -1665,14 +1665,14 @@ DQ - + - + @@ -1889,7 +1889,7 @@ CA