style: use translucent dark fill for launcher action pill

This commit is contained in:
Valdemar Lorenzen
2026-10-14 13:52:56 +02:00
parent 639167950e
commit 7eb52bd1db
2 changed files with 3 additions and 3 deletions
@@ -350,7 +350,7 @@ final class LauncherWindowController: NSWindowController, NSWindowDelegate, NSSe
let border = SunsetPalette.secondaryText.withAlphaComponent(0.22).cgColor
content.layer?.borderColor = border
actionPill.layer?.borderColor = SunsetPalette.accent.withAlphaComponent(0.35).cgColor
actionPill.layer?.backgroundColor = SunsetPalette.accent.withAlphaComponent(0.08).cgColor
actionPill.layer?.backgroundColor = SunsetPalette.background.withAlphaComponent(0.25).cgColor
}
window.initialFirstResponder = searchField
launcherViews = [header, sectionLabel, scrollView, emptyLabel, footer]
@@ -766,7 +766,7 @@ final class ApplicationCell: NSTableCellView {
let locationLabel = NSTextField(labelWithString: "")
let kindLabel = NSTextField(labelWithString: "Application")
let numberHint = ShortcutIndicator(
"1", backgroundColor: NSColor(srgbRed: 0.26, green: 0.22, blue: 0.19, alpha: 1),
"1", backgroundColor: NSColor(srgbRed: 0.26, green: 0.22, blue: 0.19, alpha: 0.5),
fontSize: 10, keySize: 20
)
private let kindFade = CAGradientLayer()