style: reduce launcher action pill tint

This commit is contained in:
Valdemar Lorenzen
2026-10-14 13:45:00 +02:00
parent ffc8f81067
commit 5ae4ce7e4b
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import AppKit
@MainActor
enum SunsetPalette {
static let background = NSColor(srgbRed: 0.12, green: 0.09, blue: 0.08, alpha: 0.35)
static let background = NSColor(srgbRed: 0.12, green: 0.09, blue: 0.08, alpha: 0.55)
static let text = NSColor(srgbRed: 1.00, green: 0.89, blue: 0.71, alpha: 1)
static let secondaryText = NSColor(srgbRed: 0.85, green: 0.78, blue: 0.65, alpha: 1)
static let accent = NSColor(srgbRed: 0.95, green: 0.58, blue: 0.23, alpha: 1)
@@ -352,7 +352,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.accent.withAlphaComponent(0.04).cgColor
}
window.initialFirstResponder = searchField
launcherViews = [header, sectionLabel, scrollView, emptyLabel, footer]