What MDN Web Docs offers by itself
MDN has a theme switcher of its own, and on its default setting it follows the Mac's appearance. With the Mac set to dark appearance, the page was dark.
What Cameleon does on MDN Web Docs
- When MDN Web Docs is already dark, a dark skin stands back and leaves its own colours on the page, because two dark themes fighting read worse than one. Choose a skin for MDN Web Docs itself and it applies anyway.
- When your Mac is light, MDN Web Docs keeps its own colours unless you set a skin for light appearance, or choose one for MDN Web Docs.
- A light skin, Sunset or Yardage Book, always goes ahead on MDN Web Docs, dark or not.
- Choose a skin on MDN Web Docs and it is remembered for MDN Web Docs; other sites keep theirs.
- Colour only: the layout, the text and the links stay as MDN Web Docs made them.
The contrast, before and after
| Colours | Text under WCAG AA | Median contrast |
|---|
| MDN Web Docs's own | 0 of 1,521 | 21.00:1 |
|---|
| Midnight | 0 of 1,521 | 17.00:1 |
|---|
| Dusk | 0 of 1,521 | 18.89:1 |
|---|
| Legacy | 0 of 1,521 | 14.84:1 |
|---|
| Sunset | 0 of 1,521 | 13.50:1 |
|---|
| Yardage Book | 0 of 1,521 | 13.02:1 |
|---|
Measured 3 November 2026 on the page shown, a public one read without signing in, with Cameleon's own engine. WCAG AA is 4.5:1 for text and 3:1 for large text. How it was measured, and what it cannot fix.
MDN Web Docs belongs to its owner, who has nothing to do with Cameleon. The captures show its public page, to show the colours.
Other sites