Skip to content

ElectronSystemPreferences.isInvertedColorScheme method

ElectronSystemPreferences › isInvertedColorScheme

Unofficial

Returns true if an inverted color scheme (a high contrast color scheme with light text and dark backgrounds) is active, false otherwise.

Signature:

isInvertedColorScheme(): boolean

Returns: booleanWhether an inverted color scheme is active.