Themes & color
For visitors: change colors
Log in and open:
Special:Preferences#mw-prefsection-renderingUnder Appearance you can choose:
- theme color: Teal / Blue / Green / Violet / Rose / Amber / Indigo / Lime;
- scheme: system / light / dark;
- layout and reading mode.
The top-bar Display options menu has the same switches.
For admins: change the site default
In LocalSettings.php:
$wgChromaDefaultSeed = '#0061A4'; // bluePresets:
| Preset | Value | Feel |
|---|---|---|
| Teal | #006A6A | default, neutral |
| Blue | #0061A4 | formal / corporate |
| Green | #386A20 | natural / community |
| Violet | #6750A4 | creative |
| Rose | #984061 | soft / warm |
| Amber | #7D5700 | warm / bold |
| Indigo | #4355B9 | cool / technical |
| Lime | #4C6700 | fresh / energetic |
Arbitrary colors are not supported; unknown values fall back to Teal. See Configuration for all options.
Dark mode
Dark mode remaps the same semantic color roles onto dark surfaces; it is not a black overlay.
Set the default:
$wgChromaDefaultScheme = 'dark'; // system | light | darkVisitors can still switch from the top bar. Dark colors are tuned for WCAG AA contrast.
Preset previews
| Teal | Blue | Green | Violet |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Rose | Amber | Indigo | Lime |
![]() | ![]() | ![]() | ![]() |
Advanced: color tokens
Chroma components use --md-sys-* variables:
--md-sys-color-primary
--md-sys-color-on-primary
--md-sys-color-surface
--md-sys-color-surface-container
--md-sys-color-outlineOverride a role in MediaWiki:Chroma.css:
:root {
--md-sys-color-primary: #005a5a;
--md-sys-color-on-primary: #ffffff;
}Change primary and on-primary together so contrast stays valid.
Advanced: regenerate the palette
From the skin repository:
npm install
npm run tokensThis updates resources/styles/tokens.css and tokens.json. See Design tokens.
Fonts
The default stack uses system fonts with a Roboto Flex fallback; no external font CDN is requested. Override --md-sys-typescale-font-family to change it.
Avoid
- editing generated
tokens.css; - expecting an arbitrary seed to generate a palette;
- mass
!importantlayout overrides; prefer tokens or site CSS.







