Skip to main content

resolve_semantics

Function resolve_semantics 

Source
pub fn resolve_semantics(brand: &Color) -> SemanticPalette
Expand description

Pick state colors, pushing each one away from the brand hue when it sits inside the brand’s collision zone. See the module docs for the two guard rails layered on top of the brief’s algorithm.