Skip to content

ElectronSystemPreferences.getAppLevelAppearance method

ElectronSystemPreferences › getAppLevelAppearance

Unofficial

Gets the macOS appearance setting that you have declared you want for your application, maps to NSApplication.appearance. Can be dark, light or unknown.

Signature:

getAppLevelAppearance(): 'dark' | 'light' | 'unknown'

Returns: 'dark' | 'light' | 'unknown'The declared app-level appearance.