Easy Dark Mode

Beskrivning

Easy Dark Mode adds a floating toggle button to your WordPress website that allows visitors to switch between light and dark modes with just one click.

Features:

  • One-click toggle between light and dark modes
  • Customizable toggle button position (top-left, top-right, bottom-left, bottom-right)
  • Multiple toggle button styles (circle, square, pill)
  • Option to remember user preference between visits
  • Default mode settings (light, dark, or auto based on system preference)
  • Lightweight with minimal impact on page load speed
  • Works with any WordPress theme
  • No configuration needed – works out of the box
  • Admin settings page for customization

Installation

  1. Upload the easy-dark-mode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Go to ’Settings > Easy Dark Mode’ to customize options (optional)

Vanliga frågor

Will this work with my theme?

Yes, Easy Dark Mode is designed to work with any WordPress theme. The plugin applies CSS that overrides your theme’s default styling when dark mode is enabled.

Can visitors save their preference?

Yes, by default the plugin remembers each visitor’s preference using localStorage. This can be disabled in the settings.

Does this slow down my website?

No, Easy Dark Mode is designed to be lightweight. It uses minimal CSS and JavaScript that only loads what’s necessary.

Can I customize the colors?

The current version uses a standard dark color scheme. Future versions will include color customization options.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Easy Dark Mode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Easy Dark Mode” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.0

  • Initial release