Background
In order to get rem enabled in OOUI, we will rely on Codex design tokens v1.4.0+ as part of T363857. With that we are surfacing an issue that would be disruptive to users, the "shrinking" of now 14px equivalent OOUI widgets and layouts in rem based OOUI in a skin like MinervaNeue.
Goal
Find a measurement to make the interfaces in wide majority of use cases equivalent to before rems in order to not disrupt our users.
We might come back to redefine some interaces in 16px equivalent base font size skins like MinervaNeue, but that will need strong design and possibly community liasons support. For now enabling dark mode, which the rem based token dependency change is a precursor, is the major objective.
Technical notes
We think of introducing a temporary Codex design token, basically a font size multiplier and add it in the normal release cycle to mediawiki.skin.variables.less and to the skins in quest, here MinervaNeue
Acceptance criteria
- Add temporary Codex design token
- Release Codex and
- Add token with specific multiplier to MinervaNeue
- Ensure interface equivalent before/after in MN OOUI AMC interfaces, Timeless and Vector skin