@DTorsani-WMF has developed a set of expanded color palettes which will be used in the new "night mode" as well as potentially in other use-cases down the road (data visualization, etc).
Based on the recent ADR we adopted around token organization, these new colors should first be defined as options tokens (which are not user-facing by default).
In the future, this will enable the development of a dark mode for Codex which overrides some existing color tokens with these newly-introduced values.
Acceptance Criteria
- Create a patch in the Codex Design Tokens package that updates themes/wikimedia-ui.json to include a set of new color tokens with names and values taken from @DTorsani-WMF's figma files. This patch assumes the new token organization that has been established here, and should use that patch as its starting point.
- The "maroon" and "purple" color tokens will be renamed (there will be a range of maroon and purple values instead of just one after this change), so any decision tokens which reference "maroon" and "purple" will need to be updated to point to "maroon500" or whatever the equivalent color is in the expanded palette.
- No user-facing changes should occur as a result of this change.
In the future we'll post a follow-up patch which references these new options tokens in a dedicated dark mode file.