2018-05-20 18:58:47 +00:00
|
|
|
/**
|
2022-07-21 20:07:15 +00:00
|
|
|
* ###IMPORTANT:##
|
|
|
|
* If editing this file, please also edit the respective file in the MinervaNeue skin.
|
|
|
|
* ####
|
|
|
|
*
|
|
|
|
* This file is a LESS @import match for "mediawiki.skin.variables.less"
|
|
|
|
* when Vector 2022 is the active skin.
|
|
|
|
* Please note, that legacy Vector is handled by
|
|
|
|
* "mediwiki.less.legacy/mediawiki.skin.variables.less".
|
|
|
|
*
|
|
|
|
* Please also note, that both current Wikimedia Design Style Guide based skins,
|
|
|
|
* Vector 2022 and Minerva Neue are using the same variable values respectively in their
|
|
|
|
* repositories.
|
2018-05-20 18:58:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
@import 'mediawiki.skin.defaults.less';
|
2024-03-06 22:12:45 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Codex design tokens. This imports Less variables, some of which refer to CSS variables.
|
|
|
|
* The CSS variable values are imported in CSSCustomProperties.less.
|
|
|
|
*/
|
2023-06-13 22:56:17 +00:00
|
|
|
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
|
2023-02-06 18:05:32 +00:00
|
|
|
|
|
|
|
// Overrides for Codex variables:
|
|
|
|
|
|
|
|
// Fonts
|
2023-10-10 20:00:22 +00:00
|
|
|
// Assumes 16px as the default browser font-size.
|
|
|
|
@font-size-base: unit( 14 / 16, em ); // Equals `0.875em`.
|
2023-02-06 18:05:32 +00:00
|
|
|
|
|
|
|
// Body content uses the user setting in browser / the system default sans-serif font:
|
|
|
|
// Arial on Windows, Roboto on Android.
|
|
|
|
// FIXME: Use Codex's OS specific default sans-serif fonts.
|
|
|
|
@font-family-sans: @font-family-sans--fallback; // Codex: 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif;
|