fix: render light palettes with matching appearance
This commit is contained in:
@@ -94,6 +94,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
|
||||
ActionEntry(title: "Export as Markdown…", symbol: "square.and.arrow.up")
|
||||
]
|
||||
view = ActionsPanelView()
|
||||
view.appearance = ThemePalette.appearance
|
||||
view.wantsLayer = true
|
||||
view.layer?.shadowColor = NSColor.black.cgColor
|
||||
view.layer?.shadowOpacity = 0.35
|
||||
@@ -215,6 +216,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
|
||||
updateSelection()
|
||||
themeObservation = ThemeObservation { [weak self, weak content] in
|
||||
guard let self else { return }
|
||||
self.view.appearance = ThemePalette.appearance
|
||||
self.search.applyTheme()
|
||||
self.applicationLabel.textColor = ThemePalette.secondaryText
|
||||
self.empty.textColor = ThemePalette.secondaryText
|
||||
|
||||
Reference in New Issue
Block a user