- Replacing 'mediawiki.ui/variables.less' `@import` with new Codex design tokens as external library. We're using the legacy values as UniversalLanguageSelector has been a desktop first extension and those values are also used by Vector skin. The values replaced are anyways only touching colors, borders or transitions which are the same in normal and legacy. These will be replaced by skin-aware 'mediawiki.skin.variables.less' standard with dependency of UniversalLanguageSelector upped to MW 1.42.0. - Replacing several static values with new Codex design token featuring skin variables, in categories `background-color`, `color`, `border-*`, `box-shadow`, `opacity` and `transition`. Note, that this change should result in same rendering of the extension, only properties that already have an equal token are replaced. Bug: T332541 Co-Authored-by: Volker E. <volker.e@wikimedia.org> Change-Id: Ic563fa84bf8e76fd62f14487924d7d6fd5c1a065
5 lines
164 B
Bash
Executable File
5 lines
164 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cp -v node_modules/@wikimedia/codex-design-tokens/theme-wikimedia-ui-legacy.less lib/codex-design-tokens/theme-wikimedia-ui-legacy.less |