| 1 |
/** |
| 2 |
* This file is a LESS import match for "mediawiki.skin.variables.less" |
| 3 |
* when legacy Vector (useskin=vector) is the active skin. |
| 4 |
*/ |
| 5 |
|
| 6 |
@import 'mediawiki.skin.defaults.less'; |
| 7 |
|
| 8 |
// Use the legacy version (for a 14px base font size) of the wikimedia-ui theme |
| 9 |
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less'; |
| 10 |
|
| 11 |
// Overrides for Codex variables: |
| 12 |
|
| 13 |
// Opacity |
| 14 |
@opacity-medium: 0.67; // Codex: 0.65 |
| 15 |
@opacity-low: 0.33; // Codex: 0.30 |
| 16 |
@opacity-icon-base: 1; // Codex: 0.87 |
| 17 |
@opacity-icon-base--hover: 0.8; // = `#333` on `background-color: #fff`. Codex: 0.74 |
| 18 |
|
| 19 |
// Fonts |
| 20 |
|
| 21 |
// Body content uses the user setting in browser / the system default sans-serif font: |
| 22 |
// Arial on Windows, Roboto on Android. |
| 23 |
// FIXME: Use WikimediaUI Base's OS specific default sans-serif fonts. |
| 24 |
@font-family-sans: sans-serif; // Codex: 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif; |
| 25 |
|
| 26 |
// Overrides for non-Codex variables: |
| 27 |
|
| 28 |
// Set pre July 2022 colors for links (T213778). |
| 29 |
@color-link: #0645ad; |
| 30 |
@color-link--visited: #0b0080; |
| 31 |
@color-link--active: #faa700; |
| 32 |
@color-link-new: #ba0000; |
| 33 |
@color-link-new--visited: #a55858; |
| 34 |
|
| 35 |
// Note these colors are different from Vector 2022 for historic reasons: |
| 36 |
@color-link-external: #36b; |
| 37 |
@color-link-external--visited: #636; |
| 38 |
@color-link-external--active: #b63; |