ElectronSystemPreferences.getEffectiveAppearance method
ElectronSystemPreferences › getEffectiveAppearance
Unofficial
Gets the macOS appearance setting that is currently applied to your application, maps toNSApplication.effectiveAppearance. Can be dark, light or unknown. Signature:
getEffectiveAppearance(): 'dark' | 'light' | 'unknown'Returns: 'dark' | 'light' | 'unknown' — The effective appearance.
Platform: darwin.