PluginProbe
Gutenberg / 15.8.1
Gutenberg v15.8.1
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / lib / theme.json

theme.json in Gutenberg 15.8.1, at lib/theme.json

493 lines 10.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "version": 2,
3 "settings": {
4 "appearanceTools": false,
5 "useRootPaddingAwareAlignments": false,
6 "border": {
7 "color": false,
8 "radius": false,
9 "style": false,
10 "width": false
11 },
12 "color": {
13 "background": true,
14 "button": true,
15 "caption": true,
16 "custom": true,
17 "customDuotone": true,
18 "customGradient": true,
19 "defaultDuotone": true,
20 "defaultGradients": true,
21 "defaultPalette": true,
22 "duotone": [
23 {
24 "name": "Dark grayscale",
25 "colors": [ "#000000", "#7f7f7f" ],
26 "slug": "dark-grayscale"
27 },
28 {
29 "name": "Grayscale",
30 "colors": [ "#000000", "#ffffff" ],
31 "slug": "grayscale"
32 },
33 {
34 "name": "Purple and yellow",
35 "colors": [ "#8c00b7", "#fcff41" ],
36 "slug": "purple-yellow"
37 },
38 {
39 "name": "Blue and red",
40 "colors": [ "#000097", "#ff4747" ],
41 "slug": "blue-red"
42 },
43 {
44 "name": "Midnight",
45 "colors": [ "#000000", "#00a5ff" ],
46 "slug": "midnight"
47 },
48 {
49 "name": "Magenta and yellow",
50 "colors": [ "#c7005a", "#fff278" ],
51 "slug": "magenta-yellow"
52 },
53 {
54 "name": "Purple and green",
55 "colors": [ "#a60072", "#67ff66" ],
56 "slug": "purple-green"
57 },
58 {
59 "name": "Blue and orange",
60 "colors": [ "#1900d8", "#ffa96b" ],
61 "slug": "blue-orange"
62 }
63 ],
64 "gradients": [
65 {
66 "name": "Vivid cyan blue to vivid purple",
67 "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",
68 "slug": "vivid-cyan-blue-to-vivid-purple"
69 },
70 {
71 "name": "Light green cyan to vivid green cyan",
72 "gradient": "linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",
73 "slug": "light-green-cyan-to-vivid-green-cyan"
74 },
75 {
76 "name": "Luminous vivid amber to luminous vivid orange",
77 "gradient": "linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",
78 "slug": "luminous-vivid-amber-to-luminous-vivid-orange"
79 },
80 {
81 "name": "Luminous vivid orange to vivid red",
82 "gradient": "linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",
83 "slug": "luminous-vivid-orange-to-vivid-red"
84 },
85 {
86 "name": "Very light gray to cyan bluish gray",
87 "gradient": "linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",
88 "slug": "very-light-gray-to-cyan-bluish-gray"
89 },
90 {
91 "name": "Cool to warm spectrum",
92 "gradient": "linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",
93 "slug": "cool-to-warm-spectrum"
94 },
95 {
96 "name": "Blush light purple",
97 "gradient": "linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",
98 "slug": "blush-light-purple"
99 },
100 {
101 "name": "Blush bordeaux",
102 "gradient": "linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",
103 "slug": "blush-bordeaux"
104 },
105 {
106 "name": "Luminous dusk",
107 "gradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",
108 "slug": "luminous-dusk"
109 },
110 {
111 "name": "Pale ocean",
112 "gradient": "linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",
113 "slug": "pale-ocean"
114 },
115 {
116 "name": "Electric grass",
117 "gradient": "linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",
118 "slug": "electric-grass"
119 },
120 {
121 "name": "Midnight",
122 "gradient": "linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",
123 "slug": "midnight"
124 }
125 ],
126 "heading": true,
127 "link": false,
128 "palette": [
129 {
130 "name": "Black",
131 "slug": "black",
132 "color": "#000000"
133 },
134 {
135 "name": "Cyan bluish gray",
136 "slug": "cyan-bluish-gray",
137 "color": "#abb8c3"
138 },
139 {
140 "name": "White",
141 "slug": "white",
142 "color": "#ffffff"
143 },
144 {
145 "name": "Pale pink",
146 "slug": "pale-pink",
147 "color": "#f78da7"
148 },
149 {
150 "name": "Vivid red",
151 "slug": "vivid-red",
152 "color": "#cf2e2e"
153 },
154 {
155 "name": "Luminous vivid orange",
156 "slug": "luminous-vivid-orange",
157 "color": "#ff6900"
158 },
159 {
160 "name": "Luminous vivid amber",
161 "slug": "luminous-vivid-amber",
162 "color": "#fcb900"
163 },
164 {
165 "name": "Light green cyan",
166 "slug": "light-green-cyan",
167 "color": "#7bdcb5"
168 },
169 {
170 "name": "Vivid green cyan",
171 "slug": "vivid-green-cyan",
172 "color": "#00d084"
173 },
174 {
175 "name": "Pale cyan blue",
176 "slug": "pale-cyan-blue",
177 "color": "#8ed1fc"
178 },
179 {
180 "name": "Vivid cyan blue",
181 "slug": "vivid-cyan-blue",
182 "color": "#0693e3"
183 },
184 {
185 "name": "Vivid purple",
186 "slug": "vivid-purple",
187 "color": "#9b51e0"
188 }
189 ],
190 "text": true
191 },
192 "shadow": {
193 "defaultPresets": true,
194 "presets": [
195 {
196 "name": "Natural",
197 "slug": "natural",
198 "shadow": "6px 6px 9px rgba(0, 0, 0, 0.2)"
199 },
200 {
201 "name": "Deep",
202 "slug": "deep",
203 "shadow": "12px 12px 50px rgba(0, 0, 0, 0.4)"
204 },
205 {
206 "name": "Sharp",
207 "slug": "sharp",
208 "shadow": "6px 6px 0px rgba(0, 0, 0, 0.2)"
209 },
210 {
211 "name": "Outlined",
212 "slug": "outlined",
213 "shadow": "6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1)"
214 },
215 {
216 "name": "Crisp",
217 "slug": "crisp",
218 "shadow": "6px 6px 0px rgba(0, 0, 0, 1)"
219 }
220 ]
221 },
222 "layout": {
223 "definitions": {
224 "default": {
225 "name": "default",
226 "slug": "flow",
227 "className": "is-layout-flow",
228 "baseStyles": [
229 {
230 "selector": " > .alignleft",
231 "rules": {
232 "float": "left",
233 "margin-inline-start": "0",
234 "margin-inline-end": "2em"
235 }
236 },
237 {
238 "selector": " > .alignright",
239 "rules": {
240 "float": "right",
241 "margin-inline-start": "2em",
242 "margin-inline-end": "0"
243 }
244 },
245 {
246 "selector": " > .aligncenter",
247 "rules": {
248 "margin-left": "auto !important",
249 "margin-right": "auto !important"
250 }
251 }
252 ],
253 "spacingStyles": [
254 {
255 "selector": " > :first-child:first-child",
256 "rules": {
257 "margin-block-start": "0"
258 }
259 },
260 {
261 "selector": " > :last-child:last-child",
262 "rules": {
263 "margin-block-end": "0"
264 }
265 },
266 {
267 "selector": " > *",
268 "rules": {
269 "margin-block-start": null,
270 "margin-block-end": "0"
271 }
272 }
273 ]
274 },
275 "constrained": {
276 "name": "constrained",
277 "slug": "constrained",
278 "className": "is-layout-constrained",
279 "baseStyles": [
280 {
281 "selector": " > .alignleft",
282 "rules": {
283 "float": "left",
284 "margin-inline-start": "0",
285 "margin-inline-end": "2em"
286 }
287 },
288 {
289 "selector": " > .alignright",
290 "rules": {
291 "float": "right",
292 "margin-inline-start": "2em",
293 "margin-inline-end": "0"
294 }
295 },
296 {
297 "selector": " > .aligncenter",
298 "rules": {
299 "margin-left": "auto !important",
300 "margin-right": "auto !important"
301 }
302 },
303 {
304 "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))",
305 "rules": {
306 "max-width": "var(--wp--style--global--content-size)",
307 "margin-left": "auto !important",
308 "margin-right": "auto !important"
309 }
310 },
311 {
312 "selector": " > .alignwide",
313 "rules": {
314 "max-width": "var(--wp--style--global--wide-size)"
315 }
316 }
317 ],
318 "spacingStyles": [
319 {
320 "selector": " > :first-child:first-child",
321 "rules": {
322 "margin-block-start": "0"
323 }
324 },
325 {
326 "selector": " > :last-child:last-child",
327 "rules": {
328 "margin-block-end": "0"
329 }
330 },
331 {
332 "selector": " > *",
333 "rules": {
334 "margin-block-start": null,
335 "margin-block-end": "0"
336 }
337 }
338 ]
339 },
340 "flex": {
341 "name": "flex",
342 "slug": "flex",
343 "className": "is-layout-flex",
344 "displayMode": "flex",
345 "baseStyles": [
346 {
347 "selector": "",
348 "rules": {
349 "flex-wrap": "wrap",
350 "align-items": "center"
351 }
352 },
353 {
354 "selector": " > *",
355 "rules": {
356 "margin": "0"
357 }
358 }
359 ],
360 "spacingStyles": [
361 {
362 "selector": "",
363 "rules": {
364 "gap": null
365 }
366 }
367 ]
368 },
369 "grid": {
370 "name": "grid",
371 "slug": "grid",
372 "className": "is-layout-grid",
373 "displayMode": "grid",
374 "baseStyles": [
375 {
376 "selector": " > *",
377 "rules": {
378 "margin": "0"
379 }
380 }
381 ],
382 "spacingStyles": [
383 {
384 "selector": "",
385 "rules": {
386 "gap": null
387 }
388 }
389 ]
390 }
391 }
392 },
393 "spacing": {
394 "blockGap": null,
395 "margin": false,
396 "padding": false,
397 "customSpacingSize": true,
398 "units": [ "px", "em", "rem", "vh", "vw", "%" ],
399 "spacingScale": {
400 "operator": "*",
401 "increment": 1.5,
402 "steps": 7,
403 "mediumStep": 1.5,
404 "unit": "rem"
405 }
406 },
407 "typography": {
408 "customFontSize": true,
409 "dropCap": true,
410 "fontSizes": [
411 {
412 "name": "Small",
413 "slug": "small",
414 "size": "13px"
415 },
416 {
417 "name": "Medium",
418 "slug": "medium",
419 "size": "20px"
420 },
421 {
422 "name": "Large",
423 "slug": "large",
424 "size": "36px"
425 },
426 {
427 "name": "Extra Large",
428 "slug": "x-large",
429 "size": "42px"
430 }
431 ],
432 "fontStyle": true,
433 "fontWeight": true,
434 "letterSpacing": true,
435 "lineHeight": false,
436 "textColumns": false,
437 "textDecoration": true,
438 "textTransform": true
439 },
440 "blocks": {
441 "core/button": {
442 "border": {
443 "radius": true
444 }
445 },
446 "core/pullquote": {
447 "border": {
448 "color": true,
449 "radius": true,
450 "style": true,
451 "width": true
452 }
453 }
454 }
455 },
456 "styles": {
457 "elements": {
458 "button": {
459 "color": {
460 "text": "#fff",
461 "background": "#32373c"
462 },
463 "spacing": {
464 "padding": "calc(0.667em + 2px) calc(1.333em + 2px)"
465 },
466 "typography": {
467 "fontSize": "inherit",
468 "fontFamily": "inherit",
469 "lineHeight": "inherit",
470 "textDecoration": "none"
471 },
472 "border": {
473 "width": "0"
474 }
475 },
476 "link": {
477 "typography": {
478 "textDecoration": "underline"
479 }
480 }
481 },
482 "spacing": {
483 "blockGap": "24px",
484 "padding": {
485 "top": "0px",
486 "right": "0px",
487 "bottom": "0px",
488 "left": "0px"
489 }
490 }
491 }
492 }
493