feat: configure launcher color scheme

This commit is contained in:
2026-10-22 15:36:44 +02:00
parent 1ec4c0d582
commit be761b4704
21 changed files with 460 additions and 150 deletions
@@ -21,7 +21,7 @@ final class TranslationSettingsController: NSViewController {
let forget = NSButton(title: "Forget Key", target: self, action: #selector(forgetKey))
for button in [save, forget] {
button.bezelStyle = .rounded
button.contentTintColor = SunsetPalette.accent
button.contentTintColor = ThemePalette.accent
}
let controls = NSStackView(views: [keyField, save, forget])
controls.orientation = .horizontal
@@ -37,7 +37,7 @@ final class TranslationSettingsController: NSViewController {
"OpenAI · gpt-6-luna · Text and optional situation/context are sent to OpenAI only when you explicitly translate, not when advancing to context. Saving a key does not send your text. Your API key is stored in Keychain."
)
for label in [status, myMemory, openAI] {
label.textColor = SunsetPalette.secondaryText
label.textColor = ThemePalette.secondaryText
}
let stack = NSStackView(views: [controls, status, myMemory, openAI])
stack.orientation = .vertical
@@ -85,6 +85,6 @@ final class TranslationSettingsController: NSViewController {
private func setStatus(_ message: String, isError: Bool = false) {
status.stringValue = message
status.textColor = isError ? .systemRed : SunsetPalette.secondaryText
status.textColor = isError ? ThemePalette.error : ThemePalette.secondaryText
}
}