skins/Vector/resources/mediawiki.less/vector/mediawiki.skin.variables.less
/**
 * This file is a LESS import match for "mediawiki.skin.variables.less"
 * when legacy Vector (useskin=vector) is the active skin.
 */

@import 'mediawiki.skin.defaults.less';

// Use the legacy version (for a 14px base font size) of the wikimedia-ui theme
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';

// Overrides for Codex variables:

// 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; // Codex: 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif;

// Line height specific former values in preparation of new font modes, see T389900.
// TODO: These variables can be removed once the new font modes typographic styles are
// fully implemented.
@line-height-xx-small: 1.375;
@line-height-medium: 1.6;

// Overrides for non-Codex variables:

// 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;
