πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
Dark Mode Block icon
Possibly abandoned Tested up to 6.4.15

Dark Mode Block

Dark Mode Block is a simple yet powerful WordPress block plugin that allows you to enable dark mode for your website, enhancing readability and reducing eye strain without altering your website’s colors. Give your users…

Active installs<10New
Downloads Β· 30d139β–Ό -9.7% vs prev. 30d
Rating5/54 reviews
Health score28/100At risk
All-time downloads3.6KSince Jan 2024
Support resolvedβ€”No recent threads
RequiresWP 5.7PHP 5.6+
Downloads Β· 7d26β–Ό -13.3% week over week
Our verdict

Consider an alternative

Dark Mode Block shows warning signs in 2026 β€” compare the alternatives below before installing. Is rated 5/5 and was last updated 3 years ago, and scores 28/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • No update in 2 years
  • Only tested up to WordPress 6.4 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

246Sep 2Oct 16Nov 30
Yesterday5
Daily average (1y)4
Peak day10Aug 20, 2026
Last 12 months1.4K

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where Dark Mode Block stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
block >100 10,000 Best block plugins β†’
css >100 10,000 Best css plugins β†’
dark mode >100 2,177 Best dark mode plugins β†’
theme >100 10,000 Best theme plugins β†’

Rating breakdown

β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 from 4 reviews

  • 5β˜…100.0%
  • 4β˜…0.00%
  • 3β˜…0.00%
  • 2β˜…0.00%
  • 1β˜…0.00%

About Dark Mode Block

From the official readme Β· v0.1.1

Description

Dark Mode Block is a simple yet powerful WordPress block plugin that allows you to enable dark mode for your website, enhancing readability and reducing eye strain without altering your website’s colors. Give your users the flexibility to switch between light and dark modes seamlessly.
Designed to be lightweight and efficient the whole frontend script weights less than half of a kb gzipped πŸ˜‰

Features:
– Toggle dark mode with a user-friendly icon.
– Preserve your website’s color scheme while improving readability in low-light environments.
– Enhanced user experience with reduced eye strain.
– Customizable

Make your website more accessible and user-friendly by offering a dark mode option. With Dark Mode Block, your users can enjoy your content without compromising on aesthetics.

Usage

  1. After activating the plugin, add the “Dark Mode” block to your WordPress page or post editor.
  2. Publish or update your content.

Customization

Unleash your creativity! This block is designed to be fully customizable graphically, and since it’s entirely CSS-based, it’s straightforward for anyone to modify and adapt it according to their own taste or template.

You even have control over how the dark mode is applied! Currently, I’ve applied an invert filter on the background as I don’t know the variables in your template.
However, you have the flexibility to make it even better by setting the text color as the background and vice versa.

Here’s how to do it:

  1. Add the following code to your functions.php file.
  2. Edit the $custom_css in order to fit your preferences

First dequeue the current style in this way:

add_action( 'wp_enqueue_scripts', function () {
    /** dequeue the default dark mode */
    wp_dequeue_style( 'codekraft-dark-mode-style' );
}, 9 );

Then add yours!

add_action( 'wp_head', function () {
    /** @var {string} $custom_css - your custom css for the dark mode */
    $custom_css = "html.dark-mode body {
        --wp--preset--color--background: #232323;
        --wp--preset--color--foreground: #f3f3f3;
    }
    .dark-mode-switch::before {
        width: 1.6rem;
        cursor: pointer;
        display: flex;
        font-size: 1.6rem;
        line-height: 1.6rem;
        content: '🌞'
    }
    .dark-mode .dark-mode-switch::before {
        content: '🌚'
    }";
    echo "<style id='dark-mode-custom'>$custom_css</style>";
}, 20 );

Please support the plugin posting your custom style and a screenshot in the WordPress support forum section!

Installation

  1. Upload the ‘dark-mode-block’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Changelog

0.1.0

  • Initial release

Full changelog on WordPress.org β†’

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own β€” no account needed.

Active installs badge Rating badge Health score badge

Best Dark Mode Block alternatives

All block plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Spectra Legacy – Gutenberg Blocks Spectra Legacy – Gutenberg Blocks Gutenberg blocks for existing Spectra websites. Maintained, stable, and fully supported —… by Brainstorm Force 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (1.9K) 2 weeks ago 87
2 Breadcrumb NavXT Breadcrumb NavXT Adds breadcrumb navigation showing the visitor's path to their current location. by John Havlik 700K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.6 (132) 3 months ago 71
3 PDF Embedder – PDF Viewer & Embed PDF Files for WordPress PDF Embedder – PDF Viewer & Embed PDF Files for WordPress Embed PDF files in WordPress posts and pages with a responsive PDF viewer block, live Block… by Syed Balkhi 300K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (533) 4 months ago 86
4 Layout Grid Block Layout Grid Block A Gutenberg container block to let you align items consistently across a global grid. by Automattic 200K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (13) 3 years ago 43
5 Crowdsignal Forms Crowdsignal Forms The Crowdsignal Forms plugin allows you to create and manage polls right from within the… by Automattic 200K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (3) 2 months ago 73
6 Content Views – Post Grid & Filter (Shortcode, Blocks, Elementor Widgets) Content Views Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion… by Content Views 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.8 (333) 2 weeks ago 80
7 Email Address Encoder Email Address Encoder A lightweight plugin that protects email addresses from email-harvesting robots, by… by Till KrΓΌss 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.2 (160) 4 days ago 85
8 Simple Sitemap – Responsive HTML Sitemap for WordPress Simple Sitemap – Responsive HTML Sitemap for WordPress Build a responsive HTML sitemap in the block editor with live preview, flexible sorting… by David Gwyer 60K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 3.9 (72) 2 months ago 86
9 Flexible Table Block Flexible Table Block Flexible Table Block is a custom block plugin for the WordPress block editor that allows… by Aki Hamano 40K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (34) 3 weeks ago 95
10 The Icon Block The Icon Block Easily add SVG icons and graphics to the WordPress block editor. by Nick Diego 40K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (30) 3 months ago 91

FAQ

Dark Mode Block: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Dark Mode Block free?

Yes. Dark Mode Block is free to download and use from the official WordPress.org plugin directory.

Is Dark Mode Block safe to use in 2026?

Dark Mode Block shows warning signs in 2026 β€” compare the alternatives below before installing. Is rated 5/5 and was last updated 3 years ago, and scores 28/100 on our health check.

How many websites use Dark Mode Block?

Dark Mode Block is active on <10 WordPress websites and has been downloaded 3,599 times since it launched in January 2024. It was downloaded 139 times in the last 30 days.

Does Dark Mode Block work with WordPress 7.1?

Dark Mode Block is officially tested up to WordPress 6.4.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Dark Mode Block need?

Dark Mode Block requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Dark Mode Block last updated?

The latest version, 0.1.1, was released on March 6, 2024 (3 years ago).

Who makes Dark Mode Block?

Dark Mode Block is developed and maintained by Erik.

What are the best alternatives to Dark Mode Block?

The most popular alternatives to Dark Mode Block are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open