Skip to main content

is_dark

Function is_dark 

Source
pub fn is_dark(resolved: &ResolvedThemeVariant) -> bool
Expand description

Returns true if the resolved theme is considered dark.

Equivalent to is_dark_resolved() – delegates to background lightness.