fix: render light palettes with matching appearance

This commit is contained in:
2026-10-22 16:47:58 +02:00
parent 1b171c7b52
commit c0a17f5efe
16 changed files with 467 additions and 27 deletions
+2
View File
@@ -345,6 +345,7 @@ final class NotesController: NSViewController, NSTextViewDelegate {
do {
let export = try NoteMarkdownExport(contents: editor.documentContents)
let panel = NSSavePanel()
panel.appearance = ThemePalette.appearance
panel.title = "Export as Markdown"
panel.prompt = "Export"
panel.canCreateDirectories = true
@@ -376,6 +377,7 @@ final class NotesController: NSViewController, NSTextViewDelegate {
guard let window = view.window, window.attachedSheet == nil, let id = selectedID else { return }
actions.close(animated: false)
let alert = NSAlert()
alert.window.appearance = ThemePalette.appearance
alert.alertStyle = .warning
alert.messageText = "Delete “\(noteTitle.stringValue)”?"
alert.informativeText = "This permanently deletes the note and its embedded images. This cannot be undone."