MDN is displayed in light mode by default. You can enable dark mode and switch back to light mode at any time on any page. This feature is available for both the free version of MDN Web Docs and all subscription tiers of MDN Plus.
To enable light or dark mode:
- Click Theme in the top right of any MDN page.
- In the menu that opens, choose between:
- OS Default