-
Notifications
You must be signed in to change notification settings - Fork 28
/
_theme.json
122 lines (122 loc) · 2.13 KB
/
_theme.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"$schema": "https://raw.githubusercontent.com/WordPress/gutenberg/trunk/schemas/json/theme.json",
"version": 2,
"settings": {
"color": {
"background": true,
"text": true,
"link": true
},
"spacing": {
"blockGap": true,
"margin": true,
"padding": true,
"spacingSizes": [
{
"//": "Why the choice of slugs in the 10,20,30 format: https://wp.me/p2AvED-pxv ",
"name": "XS",
"slug": "30",
"size": "var(--vk-margin-xs, 0.75rem)"
},
{
"name": "S",
"slug": "40",
"size": "var(--vk-margin-sm, 1.5rem)"
},
{
"name": "M",
"slug": "50",
"size": "var(--vk-margin-md, 2.4rem)"
},
{
"name": "L",
"slug": "60",
"size": "var(--vk-margin-lg, 4rem)"
},
{
"name": "XL",
"slug": "70",
"size": "var(--vk-margin-xl, 6rem)"
}
],
"units": [
"px",
"%",
"vw",
"vh",
"em",
"rem",
"svw",
"lvw",
"dvw",
"svh",
"lvh",
"dvh",
"svi",
"lvi",
"dvi",
"svb",
"lvb",
"dvb",
"vmin",
"svmin",
"lvmin",
"dvmin",
"vmax",
"svmax",
"lvmax",
"dvmax"
]
},
"layout": {
"contentSize": "calc( var(--vk-width-container) - var(--vk-width-container-padding) * 2 )",
"wideSize": "calc( var(--vk-width-container) - var(--vk-width-container-padding) * 2 + ( 100vw - ( var(--vk-width-container) - var(--vk-width-container-padding) * 2 ) ) / 2 )"
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"typography": {
"fluid": false,
"writingMode": true,
"fontSizes": [
{
"name": "Small",
"slug": "small",
"size": "0.875rem"
},
{
"name": "Regular",
"slug": "regular",
"size": "1rem"
},
{
"name": "Large",
"slug": "large",
"size": "1.5rem"
},
{
"name": "Huge",
"slug": "huge",
"size": "2.25rem"
}
]
},
"blocks": {
"core/group": {
"spacing": {
"padding": true
}
}
},
"background": {
"backgroundImage": true,
"backgroundSize": true
},
"dimensions": {
"aspectRatio": true
}
}
}