2020-09-25 18:17:15 +00:00
|
|
|
/**
|
2022-08-16 14:32:52 +00:00
|
|
|
* ###IMPORTANT:##
|
|
|
|
* If editing this file, please also edit the respective file in the Vector skin.
|
|
|
|
* ####
|
|
|
|
*
|
2020-09-25 18:17:15 +00:00
|
|
|
* This file is a LESS @import match for 'mediawiki.skin.variables.less'
|
|
|
|
* when MinervaNeue is the active skin.
|
2022-08-16 14:32:52 +00:00
|
|
|
*
|
|
|
|
* Please also note, that both current Wikimedia Design Style Guide based skins,
|
|
|
|
* MinervaNeue and Vector 2022 are using the same variable values respectively in their
|
|
|
|
* repositories.
|
2020-09-25 18:17:15 +00:00
|
|
|
*/
|
|
|
|
@import 'mediawiki.skin.defaults.less';
|
|
|
|
|
2024-02-27 19:17:07 +00:00
|
|
|
/**
|
2024-04-30 20:19:57 +00:00
|
|
|
* Codex design tokens. This imports Less variables, some of which refer to CSS variables.
|
2024-03-26 21:17:57 +00:00
|
|
|
* The CSS variable values are imported in CSSCustomProperties.less.
|
2024-02-27 19:17:07 +00:00
|
|
|
*/
|
2024-04-30 20:19:57 +00:00
|
|
|
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
|
2023-02-06 18:12:49 +00:00
|
|
|
|
|
|
|
// Overrides for Codex tokens:
|
|
|
|
|
|
|
|
@font-size-base: 1em; // Codex: 16px
|
|
|
|
|
|
|
|
// == Typography ==
|
|
|
|
// 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: @font-family-sans--fallback;
|
|
|
|
|
2024-02-01 17:33:08 +00:00
|
|
|
/**
|
2024-02-27 19:17:07 +00:00
|
|
|
* == Non-standard variable names ==
|
|
|
|
* These variables don't correspond to Codex variables.
|
|
|
|
* TODO: Determine whether any of these are actually used in practice.
|
2024-02-01 17:33:08 +00:00
|
|
|
**/
|
2024-04-29 21:08:34 +00:00
|
|
|
@color-link: @color-progressive;
|
|
|
|
@color-link--visited: @color-visited;
|
|
|
|
@color-link--active: @color-progressive--active;
|
|
|
|
@color-link-new: @color-link-red;
|
|
|
|
@color-link-new--visited: @color-link-red--visited;
|
|
|
|
@color-link-external: @color-progressive;
|
|
|
|
@color-link-external--visited: @color-visited;
|
|
|
|
@color-link-external--active: @color-progressive--active;
|