accent_color

Function accent_color 

Source
pub fn accent_color(
    child: impl IntoUiNode,
    color: impl IntoVar<LightDark>,
) -> UiNode
Expand description

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

This is a a high saturation color used to highlight important UI elements, like the focused text input.

Sets the ACCENT_COLOR_VAR.