Linux 软件免费装

Dark Mode for WordPress

开发者 optimocha
barisunver
更新时间 2019年6月27日 05:25
PHP版本: 5.6 及以上
WordPress版本: 5.2.2
版权: GPLv3 or later
版权网址: 版权信息

标签

dark mode wordpress dark mode dark theme

下载

1.0.0

详情介绍:

Adds a "dark mode" button to your theme, using mix-blend-mode to darken your styles. Useful for many websites and many eyeballs. This plugin is developed using DarkMode.js by Sandoche Adittane. If you like the plugin, be sure to donate him! (PS: We're not affiliated with Sandoche in any way.) How to Use Activating the plugin will activate the button. If you want to exclude some buttons or your logo or stuff like that, you can use the following CSS code (add it into your Customizer's Add CSS section): .button { isolation: isolate; } With the CSS code avove, the button class is ignored by the dark mode. Also, you can add the darkmode-ignore class to anything in order to achieve the same thing, but using custom CSS is more managable. Todo List

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. There are no settings page (for now). Enjoy!

常见问题:

Is this a dark theme?

Nope. It just adds a dark mode to your theme.

This button doesn't work on old browsers, why?

It uses a modern CSS feature called "mix-blend-mode", and doesn't work on Interneet Explorer, Edge (pre-Chromium versions) and Opera Mini. Check out caniuse.com for how well this feature is covered in different browsers.

更新日志:

1.0.0