Easy Dark Mode

Apraksts

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

Uzstādīšana

  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)

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Easy Dark Mode” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Easy Dark Mode&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0.0

  • Initial release