Description | Dark mode for Wikimedia wikis |
---|---|
Author(s) | CSS: Volker E. (WMF), MusikAnimal, AHollender (WMF) JS: SD0001, Nardog |
Status | Stable |
First released | December 31, 2021 |
Updated | November 15, 2024 (0 days ago) |
Browsers | Modern browsers with CSS filter support |
Skins | All |
Source | MediaWiki:Gadget-dark-mode.css MediaWiki:Gadget-dark-mode-toggle.js |
This gadget is not recommended for enabling dark mode on Wikimedia sites. Please see Manual:Dark_mode for understanding different options for dark mode support with MediaWiki. |
WikimediaUI Dark mode is a gadget for enabling dark mode in modern browsers, based on experimental work of Wikimedia Design team members Volker E. and Alex Hollender in support by volunteer MusikAnimal and others.
Preview dark mode on the Main Page.
To enable, go to your gadget preferences, and enable the gadget "Dark mode toggle: Enable a toggle for using a light text on dark background color scheme".
You should now see a "Dark mode" switch at the top of pages. If you wish to enable/disable dark mode automatically based on your system colour scheme, add the following to your common.js page:
window.wpDarkModeAutoToggle = true;
Any modern browser works with the only exception being Opera Mini, which lacks filter
support.