private func setDarkMode(darkMode:Bool) {
if !darkMode {
NSApp.appearance = NSAppearance(named: .aqua)
} else {
NSApp.appearance = NSAppearance(named: .darkAqua)
}
}
Override SYSTEM level, and set dark/light specific to a given app
Obvious that code is Swift, and needs to call the proper Xojo “declare”