enum Adw::ColorScheme

Overview

Application color schemes for [property@StyleManager:color-scheme].

Defined in:

auto/adw-1/adw.cr

Enum Members

Default = 0_u32

Inherit the parent color-scheme. When set on the AdwStyleManager returned by StyleManager#default, it's equivalent to ADW_COLOR_SCHEME_PREFER_LIGHT.

ForceLight = 1_u32

Always use light appearance.

PreferLight = 2_u32

Use light appearance unless the system prefers dark colors.

PreferDark = 3_u32

Use dark appearance unless the system prefers prefers light colors.

ForceDark = 4_u32

Always use dark appearance.

Instance Method Summary

Instance Method Detail

def default? #

def force_dark? #

def force_light? #

def prefer_dark? #

def prefer_light? #