Customizable Dark Mode Toggle

By Kayyum Halai

★ 5.0/5 (1 ratings)0+ active installationsVersion 1.0.0

Simple Customizable Dark Mode Toggle with customizable colors and user preference saving.

Description

Adds a Customizable Dark Mode Toggle for site visitors. Improve accessibility and user experience with a simple toggle button, user preference saving, and custom color schemes.

Features

  • Toggle dark mode on the frontend
  • Save user preference (localStorage)
  • Customizable dark and button colors
  • Custom CSS for dark mode
  • Accessible toggle button

Installation

  1. Upload the plugin files to the /wp-content/plugins/customizable-dark-mode-toggle directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Configure settings via Settings > Dark Mode Toggle.

FAQ

Can I customize the dark mode colors?

Yes, you can set background, text, and button colors in the plugin settings.

Does it save user preference?

Yes, the plugin uses localStorage to remember the user’s choice.

Screenshots

Changelog

1.0.0

  • Initial release