zng::color

Function color_scheme

source
pub fn color_scheme(
    child: impl UiNode,
    pref: impl IntoVar<ColorScheme>,
) -> impl UiNode
Expand description

P Defines the preferred color scheme in the widget and descendants.

Sets the COLOR_SCHEME_VAR.