PluginProbe
Gutenberg / 14.9.0
Gutenberg v14.9.0
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 14.9.0, at lib/theme.json

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