Linux 软件免费装
Banner图

SVisciano - Light-Dark Theme Mode

开发者 svisciano
更新时间 2026年9月6日 15:01
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

theme light dark dark mode dark theme

下载

0.1.1 0.2.0 0.1.0 0.3.0 0.2.1

详情介绍:

SVisciano - Light-Dark Theme Mode allows you to easily create a secondary color variant for your website. Give your users the freedom to switch between your default style and a custom color override with a sleek, modern toggle. Unlike rigid dark mode plugins, it does not force a predefined style. It works on top of your existing design, meaning your base theme can be either light or dark. You decide which version is the default, and the plugin handles the secondary variant. 🚀 How It Works
  1. Set your Base Theme: Select whether your site is natively Light or Dark.
  2. Scan CSS Variables: Automatically detect the color variables used on any page of your site with one click.
  3. Map Your Colors: Pair your original color variables with your custom override colors.
  4. Display the Switcher: Place the shortcode anywhere on your site to display a beautiful toggle.
🌟 Key Features Take full control of your website's secondary theme without being locked into a predefined dark mode system!

安装:

Automatic Installation
  1. Go to "Plugins" > "Add New" and search for "SVisciano - Light-Dark Theme Mode";
  2. Click "Install", then "Activate";
  3. Go to "Settings" > "SVisciano - Light-Dark Theme Mode" to configure the plugin.
Manual Installation
  1. Download the plugin zip file
  2. Go to "Plugins" > "Add New" > "Upload Plugin", and select the ZIP file;
  3. Click "Install", then "Activate";
  4. Go to "Settings" > "SVisciano - Light-Dark Theme Mode" to configure the plugin.

屏幕截图:

  • Example of Dark Mode
  • Plugin settings page inside the WordPress admin panel.

升级注意事项:

0.3.0 Added CSS variable mapping, color picker alpha support, and WordPress Plugin Check compliance. 0.2.1 Compatibility update for WordPress 7.1. 0.2.0 Added new features (default theme, search, import/export) and optimized management tables UI/UX. 0.1.1 This update improves CSS variable generation for theme switching. 0.1.0 Initial release.

常见问题:

Does the plugin work with an already light or dark theme?

Yes! The plugin does not enforce a predefined style. You choose which theme (Light or Dark) will be the base, and the plugin applies the alternate theme when the switch is activated.

How does the "Auto" mode work?

The "Auto" mode detects the user's browser preference. If the user has dark mode enabled in their system, the alternate dark theme is applied, otherwise, the alternate light theme is applied.

Does the plugin automatically map all site colors?

No. The plugin only scans a page to detect color variables. You must manually map each original color variable to a custom override color.

Can I place multiple toggle switches on a page?

You can insert the shortcode anywhere, but only one toggle per page will work. If you add multiple toggles, only the first one will be functional.

Are multiple toggle styles available?

Yes. You can select the default toggle style in the plugin settings, and the shortcode will display it accordingly.

Do the override colors replace the original theme colors?

No. The base theme colors remain intact. When the switch is active, only the mapped override colors are applied. Switching OFF restores the original base theme.

Is the plugin compatible with any theme?

The plugin works at the CSS level and does not rely on any theme-specific logic. In practice, it can be used with any theme, but the actual results depend on the color variables present and how the theme is structured.

更新日志:

0.3.0 0.2.1 0.2.0 0.1.1 0.1.0