plugin-icon

Joynal Dark Mode Switcher

作者:Joynal·
A lightweight, modern, and performant WordPress plugin to toggle between light and dark modes easily with a simple floating switch.
版本
1.0.1
最后更新
May 2, 2026
Joynal Dark Mode Switcher

Joynal Dark Mode Switcher is a lightweight WordPress plugin that lets visitors toggle between light and dark modes with a simple frontend switch.

It provides a fast, flicker-free experience by remembering user preferences and applying clean CSS-based styling for accurate colors and smooth performance across your website.

Key Features

  • Simple & Fast: Lightweight architecture ensures optimal performance and prevents visual blinking (FOUC).
  • Floating Toggle Button: Beautiful SVG-based sun/moon toggle switch that can be anchored to the bottom right or left.
  • User Persistence: The visitor’s preference is automatically remembered on subsequent visits and across different pages.
  • Accessible Designs: High contrast base colors provide readable white text over dark backgrounds by default.
  • Custom CSS Rules: Easily inject custom CSS overrides from the minimalist settings dashboard for more nuanced dark themes.
  • Default Mode Option: Define whether the plugin should default to ‘light’ or ‘dark’ for visitors who haven’t selected a preference yet.
  • Secure & Compliant: Native integration using native wp_enqueue_ hooks, translatable text domains (joynal-dark-mode-switcher), and proper late escaping.
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。