fix(web): give the warning badge a dark-mode amber pair #461
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-463-warning-badge-dark"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Change the
warningbadge variant (ui.rs:190) frombg-primary/15 text-primarytobg-amber-500/15 text-amber-700 dark:text-amber-300.Why
No dark pair meant
text-primary(reed-green) hit 2.03:1 on its own tint in dark mode - an AA fail; thesuccesssibling already hasdark:text-teal-400. The amber pair passes AA in both themes and matches feedback.rs:680 (so the utilities are already compiled into the bundle). UI audit (BUNYIP-455) finding F19.Closes BUNYIP-463.