开发者 | mosne |
---|---|
更新时间 | 2024年6月25日 03:34 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.5 |
版权: | GPL-2.0-or-later |
版权网址: | 版权信息 |
You can change the desired behavior using CSS in your theme or in the customizer:
body[data-theme="dark"] { /* your CSS here */ }
You can go in the style editor (Appearance > Editor > Styles) and add color to your custom palette.
You can change the icons using CSS in your theme or in the customizer.
.wp-block-mosne-dark-palette.has-icon button.has-icon { mask: url("[your svg path]") no-repeat; } .wp-block-mosne-dark-palette.has-icon button.has-icon--dark { mask: url("[your svg path]") no-repeat; } .wp-block-mosne-dark-palette.has-icon button.has-icon--light { mask: url("[your svg path]") no-repeat; }