Repository navigation
Expand file tree
/
Copy paththeme.json
More file actions
110 lines (110 loc) · 1.9 KB
/
Copy paththeme.json
File metadata and controls
110 lines (110 loc) · 1.9 KB
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
{
"$schema": "https://schemas.wp.org/wp/6.0/theme.json",
"version": 2,
"settings": {
"appearanceTools": false,
"color": {
"custom": true,
"customDuotone": false,
"customGradient": false,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"palette": [
{
"slug": "primary",
"color": "#D83B4B",
"name": "Primary"
},
{
"slug": "primary-hover",
"color": "#B02A37",
"name": "Primary hover"
},
{
"slug": "button",
"color": "#D83B4B",
"name": "Button"
},
{
"slug": "button-hover",
"color": "#363636",
"name": "Button hover"
},
{
"slug": "heading",
"color": "#D83B4B",
"name": "Heading"
},
{
"slug": "body",
"color": "#6B6B6B",
"name": "Body text"
},
{
"slug": "background",
"color": "#FFFFFF",
"name": "Background"
},
{
"slug": "light",
"color": "#F2F2F2",
"name": "Light"
},
{
"slug": "dark",
"color": "#363636",
"name": "Dark"
}
]
},
"layout": {
"contentSize": "648px",
"wideSize": "648px"
},
"spacing": {
"units": [
"px",
"em",
"rem",
"%",
"vw",
"vh"
]
},
"typography": {
"dropCap": false,
"fontFamilies": [
{
"slug": "open-sans",
"name": "Open Sans",
"fontFamily": "'Open Sans', sans-serif"
},
{
"slug": "roboto-slab",
"name": "Roboto Slab",
"fontFamily": "'Roboto Slab', serif"
}
]
}
},
"styles": {
"elements": {
"button": {
"color": {
"background": "var(--wp--preset--color--button)",
"text": "var(--wp--preset--color--background)"
},
"border": {
"radius": "4px"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--button-hover)",
"text": "var(--wp--preset--color--background)"
}
}
}
}
}
}