Expand description
Case 5 — mode-adaptive brand.
A single brand color faces two backgrounds (light and dark) and the two checks pull in opposite directions. The engine measures each independently and only edits the failing mode.
rustio-admin is currently light-only, so today both outputs
often equal the input. The token structure still ships both so a
future dark-mode return is a configuration flip, not a refactor.
Structs§
- Adaptive
Brand - The light- and dark-mode variants of one brand color, plus a flag
for each side indicating whether the engine had to adjust it and
whether that adjustment actually cleared AA.
*_adjustedsays “we tried”;*_clears_aasays “we succeeded”.
Functions§
- adaptive_
brand - Produce the light/dark pair for one brand color.