Vector and Minerva now have identical skin variables definitions that need to be manually synced.
They live here:
- https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/master/resources/mediawiki.less/mediawiki.skin.variables.less
- https://github.com/wikimedia/mediawiki-skins-Vector/blob/master/resources/mediawiki.less/vector-2022/mediawiki.skin.variables.less#L32
These colors are "Wikimedia-branded". The concern is this would make Minerva and Vector look Wikimedia branded when installed on 3rd parties. By default we want these to be non-Wikimedia colors. What we want is to be able to conditionally toggle on a Wikimedia theme similar to how OOUI has themes. This seems to overlap a little with the goal of T122924.
Going forward, we would like to define a Wikimedia theme that both Minerva and Vector can consume optionally.
One solution would be to put this shared variables list in core, but this has the negative effect of making all MediaWiki instances look like Wikimedia's brand .
I wrote some notes here https://www.mediawiki.org/wiki/User:Jdlrobson/Themes_in_MediaWiki
One idea is too make it possible to set themes on skins which would allow us to define themes for dark mode for example which is a longstanding request (T26070).