Page MenuHomePhabricator

[Darkmode] Fix the colour of 'In more languages' toggler / dropdown
Closed, ResolvedPublic

Description

The 'In more languages' dropdown has the hard-coded colour value #0645ad, which doesn't map to any codex token. In the Figma file this is mapped to color-progressive, but the colour value is set in ./view/lib/wikibase-data-values-value-view/lib/jquery.ui/jquery.ui.toggler.css, which belongs to data-values/value-view and is a CSS file (so no LESS variables are available).

2025-03-19-122159_454x258_scrot.png (454×258 px, 20 KB)

Investigate changing this token to the correct colour value - decide whether to use CSS variables or to change the CSS file to a LESS file.

Acceptance Criteria

  • The 'In more languages' link is mapped to the correct codex token (color-progressive)
  • (Optional) other hard-coded colour-values in data-values/value-view are identified and replaced with their codex equivalents.

Event Timeline

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

[data-values/value-view@master] Use `color-progressive` codex token for toggler colour

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

Added a change to data-values/value-view. The submodule reference in Wikibase will need to be bumped to make the change live once it's been merged to data-values/value-view.

Note: the attached patch fixes not just “in more languages” but also “x reference(s)” (evidently that’s also a toggler).

Change #1129238 merged by jenkins-bot:

[data-values/value-view@master] Use `color-progressive` codex token for toggler colour

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

Change #1129248 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Bump wikibase-data-values-value-view to HEAD

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

Change #1129248 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Bump wikibase-data-values-value-view to HEAD

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