Light & Dark Mode Switcher

外掛說明

Light & Dark Mode Switcher enables users to easily toggle between light, dark, and system appearance modes, improving accessibility and user comfort. Enhance your site’s modern look and reduce eye strain for your visitors with a single click.

Ideal for blogs, portfolios, business websites, online stores, or any site where user experience and personalization are important.

Features

  • Light Mode: Clean, bright interface for optimal readability in well-lit environments.
  • Dark Mode: Eye-friendly dark theme for comfortable viewing at night or in low-light settings.
  • System Mode: Automatically adapts to the user’s device or operating system color preference.
  • Effortless integration—no coding required.
  • Lightweight and fast, with minimal impact on site performance.
  • Compatible with most WordPress themes and plugins.

License

This plugin is licensed under the GNU General Public License v3 or later. See the LICENSE file for details.

Contributions

Contributions welcome! Open an issue or submit a pull request on GitHub.

Made with love for the WordPress community

螢幕擷圖

  • Light Mode
  • Dark Mode
  • System Mode

安裝方式

Installation via WordPress Admin

  1. Download the light-dark-mode-switcher-x.x.x.zip file.
  2. In your WordPress dashboard, go to Plugins > Add New.
  3. Click Upload Plugin, choose the ZIP file, and click Install Now.
  4. After installation, click Activate to enable the plugin.

Manual Installation

  1. Extract the ZIP file to a folder named light-dark-mode-switcher.
  2. Upload this folder to the /wp-content/plugins/ directory on your server.
  3. In your WordPress dashboard, go to Plugins and click Activate under “Light & Dark Mode Switcher”.

Installation via Composer

  1. Run composer require wpackagist-plugin/light-dark-mode-switcher.
  2. The plugin will be installed in the wp-content/plugins/ directory.
  3. In your WordPress dashboard, go to Plugins and click Activate under “Light & Dark Mode Switcher”.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Light & Dark Mode Switcher〉的開發相關工作。

參與者

將〈Light & Dark Mode Switcher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • 1.0.0 (2025-09-23)
  • ⚠ BREAKING CHANGES
  • plugin: first stable release 🎉
  • Features
  • plugin: first stable release 🎉

0.4.0

  • 0.4.0 (2025-09-04)
  • Features
  • plugin: add FontAwesome dependency and update styles
  • Bug Fixes
  • dependencies: update dependencies
  • plugin: enforce strict linting in lint-staged configuration
  • plugin: sanitize output in render_in_footer method
  • plugin: update debug log comment for clarity and consistency
  • readme: remove redundant tag from plugin description

0.3.0

  • 0.3.0 (2025-09-04)
  • Features
  • plugin: add light & dark mode switcher controls and templates
  • plugin: add main plugin class with debug logging functionality
  • Bug Fixes
  • plugin: correct script handle for main plugin script enqueue

0.2.0

  • 0.2.0 (2025-09-04)
  • Features
  • plugin: implement light and dark mode functionality with assets

0.1.0

  • 0.1.0 (2025-09-04)
  • Features
  • plugin: add initial plugin files for light & dark mode switcher

0.0.1

  • Initial release.