Simple Dark Mode
Zero-config system-aware dark mode for WordPress. Respects OS preference on both frontend and admin.
by Chris Huber · github.com/chubes4/simple-dark-mode · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/chubes4/simple-dark-mode/archive/refs/heads/main.zipDeclares an update source (https://github.com/chubes4/simple-dark-mode), so updates arrive through the plugin's own updater.
From the readme
Simple Dark Mode
Zero-config system-aware dark mode for WordPress. Respects your OS preference on both frontend and admin — no settings, no toggle, it just works.
What it does
| Surface | Dark mode behavior |
|---|---|
| Frontend | Overrides --wp--preset--color--base / --contrast + body-level fallbacks |
| wp-admin | Dashboard, postboxes, forms, tables, notices all flip |
| Block editor | Canvas (via addeditorstyle()) + chrome both respect the preference |
All styles are wrapped in @media (prefers-color-scheme: dark). When your OS is in light mode, the plugin is inert — zero visual impact.
Philosophy
- No toggle. No settings page. No JavaScript.
- Respects the user's OS preference, nothing more.
- Theme-aware where possible (block themes), body-level fallbacks where not (classic themes).
- Preserves your theme's accent colors so brand identity survives the flip.
Install
Git / manual:
Then activate via the Plugins screen or WP-CLI:
WordPress.org plugin directory: coming soon.
How it works
Three hooks, three stylesheets:
enqueueblockassets is the canonical WordPress hook for stylesheets that need to apply to both the public frontend and the block editor canvas (which ren
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v0.3.2 | Apr 23, 2026 |
| v0.3.1 | Apr 23, 2026 |
| v0.3.0 | Apr 21, 2026 |
| v0.2.0 | Apr 21, 2026 |
| v0.1.1 | Apr 21, 2026 |
| v0.1.0 | Apr 21, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.