-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.json
123 lines (123 loc) · 2.55 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
123
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"color": {
"palette": [
{
"name": "Vite color 1",
"slug": "vite-color-1",
"color": "var(--color-0)"
},
{
"name": "Vite color 2",
"slug": "vite-color-2",
"color": "var(--color-1)"
},
{
"name": "Vite color 3",
"slug": "vite-color-3",
"color": "var(--color-2)"
},
{
"name": "Vite color 4",
"slug": "vite-color-4",
"color": "var(--color-3)"
},
{
"name": "Vite color 5",
"slug": "vite-color-5",
"color": "var(--color-4)"
},
{
"name": "Vite color 6",
"slug": "vite-color-6",
"color": "var(--color-5)"
},
{
"name": "Vite color 7",
"slug": "vite-color-7",
"color": "var(--color-6)"
},
{
"name": "Vite color 8",
"slug": "vite-color-8",
"color": "var(--color-7)"
}
]
},
"appearanceTools": true,
"spacing": {
"blockGap": true,
"margin": true,
"padding": true,
"units": [
"px",
"em",
"rem",
"vh",
"vw",
"ch"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"lineHeight": true,
"fontSizes": [
{
"name": "Small",
"slug": "small",
"size": "14px"
},
{
"name": "Normal",
"slug": "normal",
"size": "16px"
},
{
"name": "Large",
"slug": "large",
"size": "36px"
},
{
"name": "Huge",
"slug": "huge",
"size": "48px"
}
]
},
"layout": {
"contentSize": "var(--narrow-width)",
"wideSize": "var(--container-width)"
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "var(--button-border-radius)"
},
"color": {
"background": "var(--button-bg-color)",
"text": "var(--button-color)"
},
"spacing": {
"padding": {
"top": "10px",
"bottom": "10px",
"left": "20px",
"right": "20px"
}
}
}
},
"elements": {
"link": {
"typography": {
"textDecoration": "var(--link-text-decoration, none)"
}
}
}
}
}