fix: render light palettes with matching appearance
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user