Page MenuHomePhabricator

tokens: Update hard-coded instances of #d73333
Open, LowPublic

Assigned To
None
Authored By
DTorsani-WMF
Oct 1 2024, 5:19 PM
Referenced Files
F57620334: image.png
Oct 16 2024, 9:22 PM
F57619691: image.png
Oct 16 2024, 4:32 PM
File Not Attached
F57619698: image.png
Oct 16 2024, 4:32 PM
File Not Attached

Description

Background

As a part of the color expansion work in T360494, the red value which most closely matches #d73333 was updated to fall in line with the rest of the palette. T370446 accounts for updating the red colors in Codex, but there are many instances where #d73333 is hard-coded. These should be updated to use Codex design tokens where possible to have consistency with other parts of the user experience across Wikimedia projects.

Acceptance criteria

  • All hard-coded instances of #d73333 that are used to represent destructive/error text are updated to use the appropriate design token.

Event Timeline

CCiufo-WMF renamed this task from Token clean-up: update red #d73333 to use token or #d74032 to tokens: Update hard-coded instances of #d73333 to use appropriate token or #d74032.Oct 1 2024, 5:23 PM
CCiufo-WMF renamed this task from tokens: Update hard-coded instances of #d73333 to use appropriate token or #d74032 to tokens: Update hard-coded instances of #d73333.Oct 16 2024, 4:32 PM
CCiufo-WMF triaged this task as Low priority.
CCiufo-WMF updated the task description. (Show Details)
CCiufo-WMF subscribed.

Reduced the scope of this task to just be about using Codex design tokens where possible. Updating every hardcoded instance to a new hardcoded value is not a worthwhile endeavor given that it is likely to be updated again in the future.