mediawiki-skins-Vector/resources/mediawiki.less.legacy/mediawiki.skin.variables.less
Jon Robson 2be7ce5c47 Vector legacy no longer imports variables from Vector modern
In f7f78023e we added new variables to the Vector 2022 variables
that overrode the defaults, but forgot to preserve the defaults
in Vector legacy. This resulted in changes documented in
T213778#8181795

Going forward it makes sense to separate these.

Bug: T213778
Change-Id: I5e4f1729fc0f41b21579807fc83a7dda9c3519ea
2022-08-24 15:08:35 +00:00

27 lines
844 B
Plaintext

/**
* This file is a LESS import match for "mediawiki.skin.variables.less"
* when legacy Vector is the active skin.
*/
@import 'mediawiki.skin.defaults.less';
// Set pre July 2022 colors for links (T213778).
@color-link: #0645ad;
@color-link--visited: #0b0080;
@color-link--active: #faa700;
@color-link-new: #ba0000;
@color-link-new--visited: #a55858;
// Note these colors are different from Vector 2022 for historic reasons:
@color-link-external: #36b;
@color-link-external--visited: #636;
@color-link-external--active: #b63;
// Body content uses the user setting in browser / the system default sans-serif font:
// Arial on Windows, Roboto on Android.
// FIXME: Use WikimediaUI Base's OS specific default sans-serif fonts.
@font-family-sans: sans-serif;
// Matches WikimediaUI Base and Codex, OOUI/wikimedia
@border-radius-base: 2px;