User:Dialectric/dark-mode

From Wikipedia, the free encyclopedia

A light-on-dark color scheme (dark mode, night mode) — has been suggested as an option / enhancement to wikipedia numerous times since 2010, including on Phabricator. Wikipedia's smartphone apps offer an official night mode, but the desktop settings did not have one until 2025. In 2020, I modified the css for the Vector wikipedia skin to use a Light-on-dark color scheme with a palate similar to the Monokai palate available in several code editing programs. I updated this css in July 2023, though only for the Vector legacy version. In January 2024, I added support for Vector 2022 (default version). In January 2026, I implemented minor visual fixes to keep up with wikimedia's UI changes.

DescriptionDark mode for Wikipedia Vector skin
Statusin development
UpdatedFebruary 3, 2026
    (43 days ago)
Quick facts darklands.css, Description ...
User script
darklands.css
DescriptionDark mode for Wikipedia Vector skin
AuthorDialectric
Statusin development
UpdatedFebruary 3, 2026
    (43 days ago)
BrowsersModern browsers with CSS `filter` support
SkinsVector legacy (2010), Vector 2022
Close

The css is available at User:Dialectric/vector.css and User:Dialectric/vector-2022.css. Please feel free to try it out and make suggestions on my talk page. It works well for most general page and talk editing, but does not cover tables found on some admin and archive pages, and occasional in-article tables with set background colors. This skin was built off of the Skin:Vector-DarkCSS.

When trying new themes and scripts, an important consideration is the risk of importing malicious code from outside of wikipedia. This css theme does not import code, does not use "importScript" or "iusc", and the only external links used are to icons / UI elements on commons.

Version 2.0 (July 2023) improvements:

  • dark tables
  • darker homepage headings
  • adjusted notification popup styles
  • various uncommon white/light boxes overridden with dark
  • more compatibility with newer vector features


Version 2.1 (Jan 2024)


The old version 1 of this theme is available through page history: https://en.wikipedia.org/w/index.php?title=User:Dialectric/vector.css&oldid=1081653758


Related Articles

Wikiwand AI