Page MenuHomePhabricator

Colours on Wikidata Lexemes are not appearing correctly in dark mode on Vector 2022
Closed, ResolvedPublic

Description

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

image.png (968×1 px, 182 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

hoo moved this task from The Backlog to The Board on the Wikidata-Omega board.
hoo edited projects, added Wikidata-Omega (The Board); removed Wikidata-Omega.
hoo moved this task from new to the board to In Development on the Wikidata-Omega (The Board) board.
hoo removed hoo as the assignee of this task.Mar 18 2025, 8:21 PM
hoo subscribed.

After 85f3478386615aa1bdb6dd6929fb5b75ea65b1ff this seems to work analogue to items and properties: https://wikidata.beta.wmflabs.org/wiki/Lexeme:L1?vectornightmode=1&useskin=vector-2022

Given that the changes done to the style sheets for items/ properties applied previously, I think it is safe to assume that further changes done in that context (eg. for statement edit mode) will apply to Lexeme without further action.