WebSession.IsDarkMode

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aWebSession.IsDarkMode

New in 2020r1

Supported for all project types and targets.

If True, the user's browser is set to Dark Mode.

See Also

UserGuide:Dark Mode