darkMode property

bool? darkMode
getter/setter pair

Sets whether dark mode is enabled for web content. When enabled, websites that support the prefers-color-scheme: dark CSS media query will render in dark mode.

This is a WPE Platform setting that affects the entire display.

The default value is null (follows system default).

Officially Supported Platforms/Implementations:

Implementation

bool? darkMode;