Follow-up to a30b575271 Map color-based skin variables to CSS variables

Add an @import for Codex variables, i.e.
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
that adds overrides to the variables from
'mediawiki.skin.defaults.less' to CSSCustomProperties.less.

Bug: T356427
Change-Id: I7c2c3a07899b4de735f7e7fd24e003ab69d449bb
This commit is contained in:
Jan Drewniak 2024-02-21 10:17:39 -05:00
parent 451e3edf2f
commit 7f1e394e9e

View file

@ -17,6 +17,9 @@
*/ */
@import 'mediawiki.skin.defaults.less'; @import 'mediawiki.skin.defaults.less';
// Import the Codex design tokens from the “WikimediaUI” theme.
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
:root { :root {
/* Standard Codex colors */ /* Standard Codex colors */
--background-color-base: @background-color-base; --background-color-base: @background-color-base;