darkMode property
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:
- Linux WPE WebKit (Official API - WPESettings.dark-mode):
- This is a WPE Platform display-level setting that affects all WebViews.
Implementation
bool? darkMode;