Dark Mode for WordPress

Adds a "dark mode" button to your theme, using "mix-blend-mode" to darken your styles. Useful for many websites and many eyeballs.

Author:Optimocha (profile at wordpress.org)
WordPress version required:2.1
WordPress version tested:5.2.2
Plugin version:1.0.0
Added to WordPress repository:26-06-2019
Last updated:26-06-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:50
Rated by:2
Plugin URI:https://wordpress.org/plugins/darkmode/
Total downloads:2 420
Active installs:100+
plugin download
Click to start download

Adds a “dark mode” button to your theme, using mix-blend-mode to darken your styles. Useful for many websites and many eyeballs.

This plugin is developed using DarkMode.js by Sandoche Adittane. If you like the plugin, be sure to donate him! (PS: We’re not affiliated with Sandoche in any way.)

How to Use

Activating the plugin will activate the button. If you want to exclude some buttons or your logo or stuff like that, you can use the following CSS code (add it into your Customizer’s Add CSS section):

.button {
  isolation: isolate;
}

With the CSS code avove, the button class is ignored by the dark mode. Also, you can add the darkmode-ignore class to anything in order to achieve the same thing, but using custom CSS is more managable.

Todo List

  • Add a settings page for some cool settings