Enum ColorScheme

Enum Documentation

enum class slint::language::ColorScheme

This enum indicates the color scheme used by the widget style. Use this to explicitly switch between dark and light schemes, or choose Unknown to fall back to the system default.

Values:

enumerator Unknown

The scheme is not known and a system wide setting configures this. This could mean that the widgets are shown in a dark or light scheme, but it could also be a custom color scheme.

enumerator Dark

The style chooses light colors for the background and dark for the foreground.

enumerator Light

The style chooses dark colors for the background and light for the foreground.