Skip to content

ElectronSystemPreferences.isDarkMode method

ElectronSystemPreferences › isDarkMode

Unofficial

Returns whether the system is in Dark Mode.

Signature:

isDarkMode(): boolean

Returns: booleanWhether the system is in Dark Mode.