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';
|
|
|
|
|
2023-02-06 18:12:49 +00:00
|
|
|
// Import the Codex design tokens from the “WikimediaUI” theme.
|
|
|
|
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
|
|
|
|
|
|
|
|
// 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
|
|
|
/**
|
|
|
|
* Link styles are defined in MediaWiki core.
|
|
|
|
* These variables are first defined in core/resources/src/mediawiki.less/mediawiki.skin.defaults.less
|
|
|
|
* Then they're overridden here for night mode compatibility
|
|
|
|
* Then they're fed back into MediaWiki core & extensions
|
|
|
|
* through the usage of @import "mediawiki.skin.variables.less".
|
|
|
|
* 🙃
|
|
|
|
**/
|
2024-02-20 22:40:56 +00:00
|
|
|
@color-subtle: var(--color-subtle);
|
|
|
|
@color-error: var(--color-error);
|
|
|
|
// Can be uncommented with https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Flow/+/1005204 is merged.
|
2024-02-21 01:58:26 +00:00
|
|
|
//@color-progressive: var(--color-progressive);
|
|
|
|
//@color-destructive: var(--color-destructive);
|
|
|
|
@color-inverted: var(--color-inverted);
|
2024-02-20 22:40:56 +00:00
|
|
|
@color-base: var(--color-base);
|
|
|
|
@background-color-progressive-subtle: var(--background-color-progressive-subtle);
|
2024-02-01 17:33:08 +00:00
|
|
|
@color-link: var(--color-link);
|
|
|
|
@color-link--visited: var( --color-visited);
|
|
|
|
@color-link--active: var(--color-progressive--active);
|
|
|
|
@color-link-new: var(--color-link-red);
|
|
|
|
@color-link-new--visited: var(--color-link-red--visited);
|
|
|
|
@color-link-external: var(--color-link-external);
|
|
|
|
@color-link-external--visited: var(--color-link-external--visited);
|
|
|
|
@color-link-external--active: var(--color-link-external--active);
|
2024-02-20 22:40:56 +00:00
|
|
|
@background-color-base: var(--background-color-base);
|
|
|
|
@background-color-destructive: var(--background-color-destructive);
|
|
|
|
@background-color-interactive: var(--background-color-interactive);
|
|
|
|
@background-color-interactive-subtle: var(--background-color-interactive-subtle);
|
|
|
|
@border-color-base: var(--border-color-base);
|
|
|
|
@border-color-inverted: var(--border-color-inverted);
|
|
|
|
@border-color-muted: var(--border-color-muted);
|
|
|
|
@border-color-progressive--focus: var(--border-color-progressive--focus);
|
|
|
|
@border-color-subtle: var(--border-color-subtle);
|
|
|
|
@border-color-transparent: var(--border-color-transparent);
|
|
|
|
@box-shadow-color-progressive--focus: var(--box-shadow-color-progressive--focus);
|
|
|
|
@color-visited: var(--color-visited);
|
|
|
|
@color-progressive--active: var(--color-progressive--active);
|
|
|
|
@color-link-red: var(--color-link-red);
|
|
|
|
@color-link-red--visited: var(--color-link-red--visited);
|
|
|
|
@color-link--active: var(--color-link--active);
|