PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 2.0.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v2.0.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
darkify / src / Admin / blocks / block.json

block.json in Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) 2.0.2, at src/Admin/blocks/block.json

39 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 2,
3 "name": "darkify/switcher",
4 "title": "Dark Mode Switcher",
5 "category": "widgets",
6 "icon": "visibility",
7 "description": "Easily place a dark mode switch anywhere on your website. Fully customizable and powered by Darkify for a smooth light/dark experience.",
8 "textdomain": "darkify",
9 "editorScript": "file:./build/index.js",
10 "editorStyle": "file:./build/index.css",
11 "style": "darkify-client-main",
12 "supports": {
13 "styles": false,
14 "html": false
15 },
16 "attributes": {
17 "style": { "type": "string", "default": "classic" },
18 "size": { "type": "string", "default": "1.0" },
19 "custom_size": { "type": "number", "default": 100 },
20 "switch_bg_light": { "type": "string", "default": "#121116" },
21 "switch_bg_dark": { "type": "string", "default": "#ffffff" },
22 "light_icon_color": { "type": "string", "default": "#ffffff" },
23 "dark_icon_color": { "type": "string", "default": "#121116" },
24 "light_text_color": { "type": "string", "default": "#121116" },
25 "dark_text_color": { "type": "string", "default": "#ffffff" },
26 "border_width": { "type": "number", "default": 0 },
27 "border_light_color": { "type": "string", "default": "#121116" },
28 "border_dark_color": { "type": "string", "default": "#ffffff" },
29 "border_radius": { "type": "number", "default": 7 },
30 "alignment": { "type": "string", "default": "left" },
31 "preview": { "type": "boolean", "default": false }
32 },
33 "example": {
34 "attributes": {
35 "preview": true
36 }
37 }
38 }
39