feat: configure launcher color scheme
This commit is contained in:
@@ -7,12 +7,12 @@ final class ActionPill: NSView {
|
||||
wantsLayer = true
|
||||
layer?.cornerRadius = 18
|
||||
layer?.borderWidth = 0.5
|
||||
layer?.borderColor = SunsetPalette.accent.withAlphaComponent(0.35).cgColor
|
||||
layer?.backgroundColor = SunsetPalette.background.withAlphaComponent(0.25).cgColor
|
||||
layer?.borderColor = ThemePalette.accent.withAlphaComponent(0.35).cgColor
|
||||
layer?.backgroundColor = ThemePalette.background.withAlphaComponent(0.25).cgColor
|
||||
for button in [primaryButton, actionsButton] {
|
||||
button.isBordered = false
|
||||
button.font = .systemFont(ofSize: 12, weight: .medium)
|
||||
button.contentTintColor = SunsetPalette.text
|
||||
button.contentTintColor = ThemePalette.text
|
||||
}
|
||||
primaryButton.keyEquivalent = primaryCommand ?? "\r"
|
||||
primaryButton.keyEquivalentModifierMask = primaryCommand == nil ? [] : .command
|
||||
|
||||
Reference in New Issue
Block a user