Function zng::color::accent_color

source ยท
pub fn accent_color(
    child: impl UiNode,
    color: impl IntoVar<LightDark>,
) -> impl UiNode
Expand description

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

The is a distinct background/fill color that contrasts with the foreground text color.

Sets the COLOR_SCHEME_VAR.