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-tokens / block.json

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

277 lines 4.7 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-tokens",
5 "version": "1.0.0",
6 "title": "Color Tokens",
7 "category": "bkbg-dev",
8 "icon": "art",
9 "description": "Design-system colour token reference. Displays named colour swatches grouped into palettes (Primary, Neutral, Semantic, etc.) with hex/RGB values. Visitors can click any swatch to copy its hex code.",
10 "keywords": [
11 "color",
12 "colour",
13 "tokens",
14 "palette",
15 "design system",
16 "swatches",
17 "brand"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-color-tokens-editor",
21 "style": "bkbg-color-tokens-style",
22 "viewScript": "bkbg-color-tokens-frontend",
23 "supports": {
24 "html": false,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "title": {
32 "type": "string",
33 "default": "Color System"
34 },
35 "showTitle": {
36 "type": "boolean",
37 "default": true
38 },
39 "subtitle": {
40 "type": "string",
41 "default": "Our full design-system colour palette with token names and hex values"
42 },
43 "showSubtitle": {
44 "type": "boolean",
45 "default": true
46 },
47 "swatchSize": {
48 "type": "integer",
49 "default": 80
50 },
51 "swatchRadius": {
52 "type": "integer",
53 "default": 10
54 },
55 "showHex": {
56 "type": "boolean",
57 "default": true
58 },
59 "showRGB": {
60 "type": "boolean",
61 "default": false
62 },
63 "showName": {
64 "type": "boolean",
65 "default": true
66 },
67 "showCopyHint": {
68 "type": "boolean",
69 "default": true
70 },
71 "groups": {
72 "type": "array",
73 "default": [
74 {
75 "name": "Primary",
76 "tokens": [
77 {
78 "name": "primary-50",
79 "hex": "#eff6ff"
80 },
81 {
82 "name": "primary-100",
83 "hex": "#dbeafe"
84 },
85 {
86 "name": "primary-200",
87 "hex": "#bfdbfe"
88 },
89 {
90 "name": "primary-300",
91 "hex": "#93c5fd"
92 },
93 {
94 "name": "primary-400",
95 "hex": "#60a5fa"
96 },
97 {
98 "name": "primary-500",
99 "hex": "#3b82f6"
100 },
101 {
102 "name": "primary-600",
103 "hex": "#2563eb"
104 },
105 {
106 "name": "primary-700",
107 "hex": "#1d4ed8"
108 },
109 {
110 "name": "primary-800",
111 "hex": "#1e40af"
112 },
113 {
114 "name": "primary-900",
115 "hex": "#1e3a8a"
116 }
117 ]
118 },
119 {
120 "name": "Neutral",
121 "tokens": [
122 {
123 "name": "gray-50",
124 "hex": "#f9fafb"
125 },
126 {
127 "name": "gray-100",
128 "hex": "#f3f4f6"
129 },
130 {
131 "name": "gray-200",
132 "hex": "#e5e7eb"
133 },
134 {
135 "name": "gray-300",
136 "hex": "#d1d5db"
137 },
138 {
139 "name": "gray-400",
140 "hex": "#9ca3af"
141 },
142 {
143 "name": "gray-500",
144 "hex": "#6b7280"
145 },
146 {
147 "name": "gray-600",
148 "hex": "#4b5563"
149 },
150 {
151 "name": "gray-700",
152 "hex": "#374151"
153 },
154 {
155 "name": "gray-800",
156 "hex": "#1f2937"
157 },
158 {
159 "name": "gray-900",
160 "hex": "#111827"
161 }
162 ]
163 },
164 {
165 "name": "Semantic",
166 "tokens": [
167 {
168 "name": "success",
169 "hex": "#22c55e"
170 },
171 {
172 "name": "warning",
173 "hex": "#f59e0b"
174 },
175 {
176 "name": "error",
177 "hex": "#ef4444"
178 },
179 {
180 "name": "info",
181 "hex": "#06b6d4"
182 }
183 ]
184 }
185 ]
186 },
187 "bgColor": {
188 "type": "string",
189 "default": "#ffffff"
190 },
191 "titleColor": {
192 "type": "string",
193 "default": "#0f172a"
194 },
195 "subtitleColor": {
196 "type": "string",
197 "default": "#64748b"
198 },
199 "groupNameColor": {
200 "type": "string",
201 "default": "#374151"
202 },
203 "swatchNameColor": {
204 "type": "string",
205 "default": "#374151"
206 },
207 "swatchMetaColor": {
208 "type": "string",
209 "default": "#6b7280"
210 },
211 "swatchBg": {
212 "type": "string",
213 "default": "#f8fafc"
214 },
215 "borderColor": {
216 "type": "string",
217 "default": "#e2e8f0"
218 },
219 "borderRadius": {
220 "type": "integer",
221 "default": 16
222 },
223 "paddingTop": {
224 "type": "integer",
225 "default": 48
226 },
227 "paddingBottom": {
228 "type": "integer",
229 "default": 48
230 },
231 "titleSize": {
232 "type": "integer",
233 "default": 24
234 },
235 "subtitleSize": {
236 "type": "integer",
237 "default": 15
238 },
239 "fontSize": {
240 "type": "integer",
241 "default": 12
242 },
243 "titleFontWeight": {
244 "type": "string",
245 "default": "600"
246 },
247 "titleLineHeight": {
248 "type": "number",
249 "default": 1.3
250 },
251 "subtitleFontWeight": {
252 "type": "string",
253 "default": "400"
254 },
255 "subtitleLineHeight": {
256 "type": "number",
257 "default": 1.5
258 },
259 "labelLineHeight": {
260 "type": "number",
261 "default": 1.4
262 },
263 "typoTitle": {
264 "type": "object",
265 "default": {}
266 },
267 "typoSubtitle": {
268 "type": "object",
269 "default": {}
270 },
271 "typoLabel": {
272 "type": "object",
273 "default": {}
274 }
275 }
276 }
277