PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / color-thief / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/color-thief/block.json

149 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/color-thief",
5 "version": "1.0.0",
6 "title": "Color Thief",
7 "category": "bkbg-dev",
8 "icon": "art",
9 "description": "Upload an image to automatically extract its dominant color palette using canvas pixel analysis.",
10 "keywords": [
11 "color",
12 "palette",
13 "image",
14 "extract",
15 "swatch"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-color-thief-editor",
19 "style": "bkbg-color-thief-style",
20 "viewScript": "bkbg-color-thief-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "imageUrl": {
32 "type": "string",
33 "default": ""
34 },
35 "imageId": {
36 "type": "integer",
37 "default": 0
38 },
39 "imageAlt": {
40 "type": "string",
41 "default": ""
42 },
43 "paletteSize": {
44 "type": "integer",
45 "default": 6
46 },
47 "quality": {
48 "type": "integer",
49 "default": 10
50 },
51 "showHexValues": {
52 "type": "boolean",
53 "default": true
54 },
55 "showRgbValues": {
56 "type": "boolean",
57 "default": false
58 },
59 "showHslValues": {
60 "type": "boolean",
61 "default": false
62 },
63 "swatchSize": {
64 "type": "integer",
65 "default": 60
66 },
67 "swatchRadius": {
68 "type": "integer",
69 "default": 8
70 },
71 "swatchGap": {
72 "type": "integer",
73 "default": 8
74 },
75 "showCopyButton": {
76 "type": "boolean",
77 "default": true
78 },
79 "copyFormat": {
80 "type": "string",
81 "default": "hex"
82 },
83 "layout": {
84 "type": "string",
85 "default": "row"
86 },
87 "swatchColumns": {
88 "type": "integer",
89 "default": 6
90 },
91 "showImagePreview": {
92 "type": "boolean",
93 "default": true
94 },
95 "imageHeight": {
96 "type": "integer",
97 "default": 200
98 },
99 "imageObjectFit": {
100 "type": "string",
101 "default": "cover"
102 },
103 "borderRadius": {
104 "type": "integer",
105 "default": 12
106 },
107 "showDominant": {
108 "type": "boolean",
109 "default": true
110 },
111 "showSwatchNames": {
112 "type": "boolean",
113 "default": false
114 },
115 "bgColor": {
116 "type": "string",
117 "default": "#ffffff"
118 },
119 "labelColor": {
120 "type": "string",
121 "default": "#374151"
122 },
123 "borderColor": {
124 "type": "string",
125 "default": "#e5e7eb"
126 },
127 "padding": {
128 "type": "integer",
129 "default": 20
130 },
131 "labelFontSize": {
132 "type": "integer",
133 "default": 11
134 },
135 "labelFontWeight": {
136 "type": "string",
137 "default": "400"
138 },
139 "labelLineHeight": {
140 "type": "number",
141 "default": 1.4
142 },
143 "typoLabel": {
144 "type": "object",
145 "default": {}
146 }
147 }
148 }
149