Page MenuHomePhabricator

Token clean-up: update yellow from #ac6600 to #a66200
Open, Needs TriagePublic

Description

This shade of yellow was updated from #ac6600 to #a66200 in Codex to add more accessibility (T358032).
Some projects use this color as a hard-coded hex value and others import the .less file mediawiki.skin.variables.less to use the design tokens in their MediaWiki project.

Goal:
Find the projects using the hard-coded hex value and update the color from #ac6600 to #a66200.

Note, that T360494: Develop an expanded color palette for Codex might result in another color again. Let's settle first on the palette expansion before starting to work on this task.

Event Timeline

Volker_E renamed this task from styles: update yellow hex values from #ac6600 to #a66200 to styles: update yellow from #ac6600 to #a66200.Mar 19 2024, 1:11 PM
Volker_E added projects: Design, CSS.
Volker_E updated the task description. (Show Details)

I am not able to find the projects using Hard-coded hex value, anyone please ellaborate this issue, as I'm new to this wiki open-source community.

Hello @CCiufo-WMF, thanks for the guidance. So, I have to individually commit for all projects available in Wikimedia projects and replace every occurence of #ac6600 with #a66200, am I right?

I believe so. @Volker_E might be able to provide more info :)

bmartinezcalvo renamed this task from styles: update yellow from #ac6600 to #a66200 to Token clean-up: update yellow from #ac6600 to #a66200.Jul 22 2024, 3:39 PM

Whoops, I saw that mention just now. CodeSearch (and mayyybe some experience which extensions are unmaintained :P) are our friends here. And yes, every repo has to be cloned and updated separately, compare the patches on T343239.
For a limited simplification one could use https://lsc.toolforge.org/

But I would pledge to wait for the decision in T360494: Develop an expanded color palette for Codex, as the yellow shade is supposed to be changed again from #a66200 to #886425.
We're aiming to expand and update our palette in the next few weeks.

@Volker_E Is this something you think is ready, and would like to take on?