Page MenuHomePhabricator

Colours on Wikidata Properties are not appearing correctly in dark mode on Vector 2022
Closed, DeclinedPublic

Description

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

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

ArthurTaylor subscribed.

Resolving this ticket as a duplicate of T369385 - the Item and Property UIs have so much in common that fixes to one almost invariably apply to the other.