Page MenuHomePhabricator

Colours on Special:NewLexeme are not appearing correctly in dark mode on Vector 2022
Closed, ResolvedPublic

Description

Problem
Currently, the colours on Special:NewLexeme are not appearing correctly on dark mode: https://wikidata.beta.wmflabs.org/wiki/Special:NewLexeme?vectornightmode=1&useskin=vector-2022

image.png (968×1 px, 273 KB)

Solution

We will assign Codex colour tokens to the elements on the page so that they work across light and dark modes and align with Wikimedia frontend standards.

See Figma file for more info. (Figma tip: double-click repeatedly to “drill down” into elements until you’ve selected the one that has the color tokens.)

Acceptance Criteria

  • The colours for all the elements have been converted to their equivalent Codex colour tokens in light-mode

Notes
Not all colours have an equivalent token; in some cases, we accept that light mode colours will slightly change
By assigning the correct colour tokens the colours will automatically work across light and dark mode

Event Timeline

Change #1130524 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/WikibaseLexeme@master] Bump special new lexeme to include dark-mode fixes

https://gerrit.wikimedia.org/r/1130524

Change #1130524 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Bump special new lexeme to include dark-mode fixes

https://gerrit.wikimedia.org/r/1130524