Dark Mode Toggle Block
Dark Mode Toggle Block

Dark Mode Toggle Block

Rich Tabor

A WordPress block for toggling between between light and dark appearance on your site.

Can the Dark Mode Toggle block be used with my theme?

Yes! You will need to add CSS variables to map existing coor values to a dark style though. Learn more.

Where can I send feedback or ideas?

Please reach out via the official plugin support forum.

Where can I find the development files?

You can find the development files for the block on GitHub.

1.0.4

  • Improve default colors.

1.0.3

  • Update readme.

1.0.2

  • Improve block example.

1.0.1

  • Update prefix.
  • Improve inline script.
  • Use apiVersion 3.

1.0.0

  • Initial release.
  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly (if available).
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add the block from the inserter within the WordPress editor.
  4. If necessary, add CSS variables using .theme-dark to assign dark mode colors. Learn more

Reviews

0 out of 5 stars

  • Version: 1.0.4
  • Last updated: 1 month ago
  • Active installations: 10
  • WordPress version: 6.4
  • Tested up to: 6.6.2
  • PHP version: 7.0