Function zng_color::color_scheme_map

source ·
pub fn color_scheme_map<T: VarValue>(
    dark: impl IntoVar<T>,
    light: impl IntoVar<T>
) -> impl Var<T>
Expand description

Create a variable that maps to dark or light depending on the contextual COLOR_SCHEME_VAR.