/
theme.json
106 lines (106 loc) · 2.95 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
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
"layout": {
"contentSize": "960px",
"wideSize": "1200px"
},
"useRootPaddingAwareAlignments": true,
"typography": {
"fontSizes": [
{
"slug": "small",
"size": "0.875rem"
},
{
"slug": "medium",
"size": "1rem"
},
{
"slug": "large",
"size": "1.125rem"
},
{
"slug": "x-large",
"size": "1.3125rem"
}
]
},
"color": {
"palette": [
{
"color": "#279ac4",
"slug": "primary",
"name": "Primary"
},
{
"color": "#1d7291",
"slug": "primary-dark",
"name": "PrimaryDark"
},
{
"color": "#2e353f",
"slug": "body",
"name": "Body"
},
{
"color": "#fafaf9",
"slug": "background",
"name": "Background"
}
]
}
},
"styles": {
"typography": {
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.5"
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"top": "1rem",
"right": "1rem",
"bottom": "1rem",
"left": "1rem"
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--body)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
":hover": {
"color": {
"text": "var(--wp--preset--color--primary-dark)"
},
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"templateParts": [
{
"name": "header",
"title": "サイトヘッダー",
"area": "header"
},
{
"name": "footer",
"title": "サイトフッター",
"area": "footer"
}
]
}