Skip to main content

item_color

Function item_color 

Source
pub fn item_color(state: ItemState, intensity: f64) -> String
Expand description

Map a semantic state + intensity to a themeable CSS color. Higher intensity pushes toward the warm accent; lower stays cool/muted. Deterministic.