Background
While a short overview has been provided on mediawiki.org when Codex tokens became the source for skin variables in April, the documentation is lacking depth.
Goal
Ensure that the documentation has a clear overview
- why this source of truth is so powerful for MediaWiki interface authors
- why it's advantageous to have one source of truth
- how to customize them to team specific needs
- what's the connex to Codex, the design system for Wikimedia and how to connect
I've provided a diagram for a better overview:
It features our three “WikimediaUI” based skins, Timeless for another Wikimedia deployed one, and two exemplary skins beyond.
The tokens and vars provided are representations for the functionality, not always 1:1 values.
One missing piece is, that skin.defaults are meant to be oriented on pure HTML looks with usability/accessibility in mind.
Food for thought
Acceptance criteria
- Expand the documentation to represent above points and reach out internally and externally on clarity. Based on feedback: amend.
- Update Vue.js guidelines on mediawiki.org for design tokens usage