-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.json
113 lines (113 loc) · 2.44 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
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#333333",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#666666",
"name": "Tertiary"
}
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell, \"Helvetica Neue\",sans-serif",
"slug": "system-font",
"name": "System Font"
},
{
"fontFamily": "Helvetica Neue, Helvetica, Arial, sans-serif",
"slug": "helvetica-arial",
"name": "Helvetica or Arial"
}
],
"fontSizes": [
{
"slug": "small",
"size": "1rem",
"name": "Small"
},
{
"slug": "normal",
"size": "1.5rem",
"name": "Normal"
},
{
"slug": "large",
"size": "2rem",
"name": "Large"
}
]
}
},
"styles": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"link": {
"color": {
"text": "green"
},
":hover": {
"color": {
"text": "hotpink"
}
}
}
},
"blocks": {
"core/paragraph": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/group": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
}
}
},
"customTemplates": {},
"templateParts": {}
}