ElectronSystemPreferences.isDarkMode method
ElectronSystemPreferences › isDarkMode
Unofficial
Returns whether the system is in Dark Mode.Signature:
isDarkMode(): booleanReturns: boolean — Whether the system is in Dark Mode.
ElectronSystemPreferences › isDarkMode
Unofficial
Returns whether the system is in Dark Mode.Signature:
isDarkMode(): booleanReturns: boolean — Whether the system is in Dark Mode.