Background goal
While Red600 - #d33 (destructive) works with White - #fff, it doesn't work on any of our greys, failing contrast ratio requirements slightly (f.e. 4.33 (foreground color: #d33, background color: #f8f9fa).
Considerations
- If we update the Red600 this would affect to:
- Destructive button (primary, normal and quiet)
- Red link
- Inline error messages (e.g. error form Field)
- Error messages and Error InfoChips (icon uses color-error)
Final proposal
We will update color-Red600 from #d33 to #d73333. This will affect any decision token using color-Red600.
Design spec
Acceptance criteria (or Done)
Design
- Find a design-first way to resolve this special case
- Create the design spec for the new color's decision and link it in this task
- Update the Red600 color and decision tokens in the Design Tokens library
Code
- Update color-Red600 from #d33 to #d73333
- Update the hex in the Style Guide