pub const MAX_STATE_ROTATION: f64 = 30.0;Expand description
Hard upper bound on how far the resolver will move a state color to clear the brand. 30° keeps each state inside its conventional hue family (success in green, warning in amber/orange, danger in red/crimson) even when the brand is a near-match. The brief allows up to a 45° rotation, but 45° pushes red→amber and green→teal — losing the state’s identity. The capped value prefers a smaller separation over a wrong-colored state.