Page MenuHomePhabricator

Update Blue50 color token in Codex
Open, MediumPublic

Description

Background

While working on T404604: Design Suggestion "card" component MVP, we've detected that the current bue50 #F1F4FD used as background-color-progressive-subtle token in light mode is not contrasted enough on white backgrounds (e.g. when using as highlighted text as in this example). This blu50 is visible enough when reinforcing with a border (e.g. progressive normal Button), but not enough when used as background color with no border. This color is, at the same time, less contrasted on white than the other color50 (e.g. yellow50 or red50).

If we update blue50 to #E8EEFF, we would increase the contrast of this blue on white backgrounds, while keeping the 4.5:1 required for links (blue, red, and visited links) on this blue. In addition, this new blue50 will be better aligned with the rest of color50.

NOTE: This task is to update the blue50 used as background-color-progressive-subtle token in light mode. The blu1000 used as progressive-subtle in dark mode doesn't need to be updated since it's working well.

Captura de pantalla 2025-10-06 a las 11.12.50.png (727×1 px, 469 KB)

Acceptance criteria (or Done)

Design

  • Define the new token and include it in this task
  • Add the token as Figma style/variable in the library.

Code

  • Update blue50 from #F1F4FD to #E8EEFF

Event Timeline

Change #1193802 had a related patch set uploaded (by Bmartinezcalvo; author: Bmartinezcalvo):

[design/codex@main] tokens: update blue50 value

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

DTorsani-WMF moved this task from Backlog to Code Review on the Codex board.

Change #1193802 merged by jenkins-bot:

[design/codex@main] tokens: update blue50 value

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

Change #1211730 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v2.3.2 to v2.3.3

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

Test wiki created on Patch demo by Roan Kattouw (WMF) using patch(es) linked to this task:
https://ebaf825438.catalyst.wmcloud.org/w/

Change #1211730 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v2.3.2 to v2.3.3

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