define basic styles
This commit is contained in:
219
theme.json
Normal file
219
theme.json
Normal file
@ -0,0 +1,219 @@
|
||||
{
|
||||
"version": 3,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"defaultDuotone": false,
|
||||
"defaultGradients": false,
|
||||
"defaultPalette": false,
|
||||
"palette": [
|
||||
{
|
||||
"color": "#040810",
|
||||
"name": "Background",
|
||||
"slug": "background"
|
||||
},
|
||||
{
|
||||
"color": "#FAF7EF",
|
||||
"name": "Foreground",
|
||||
"slug": "foreground"
|
||||
},
|
||||
{
|
||||
"color": "#8E9AEC",
|
||||
"name": "Accent",
|
||||
"slug": "accent"
|
||||
}
|
||||
]
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "968px",
|
||||
"wideSize": "1440px"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"slug": "eb-garamond",
|
||||
"name": "EB Garamond",
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "400",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Regular.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "400",
|
||||
"fontStyle": "italic",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Italic.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "500",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Medium.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "500",
|
||||
"fontStyle": "italic",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-MediumItalic.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "600",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-SemiBold.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "EB Garamond",
|
||||
"fontWeight": "600",
|
||||
"fontStyle": "italic",
|
||||
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-SemiBoldItalic.ttf"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"slug": "jura",
|
||||
"name": "Jura",
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"fontWeight": "300",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/jura/Jura-Light.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"fontWeight": "400",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/jura/Jura-Regular.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"fontWeight": "500",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/jura/Jura-Medium.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"fontWeight": "600",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/jura/Jura-SemiBold.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Jura",
|
||||
"fontWeight": "700",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/jura/Jura-Bold.ttf"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"slug": "sora",
|
||||
"name": "Sora",
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "100",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-Thin.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "200",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-ExtraLight.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "300",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-Light.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "400",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-Regular.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "500",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-Medium.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "600",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-SemiBold.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "700",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-Bold.ttf"]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Sora",
|
||||
"fontWeight": "800",
|
||||
"fontStyle": "normal",
|
||||
"src": ["file:./assets/fonts/sora/Sora-ExtraBold.ttf"]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
{
|
||||
"fluid": false,
|
||||
"name": "Small",
|
||||
"size": "14px",
|
||||
"slug": "tiny"
|
||||
},
|
||||
{
|
||||
"fluid": false,
|
||||
"name": "Medium",
|
||||
"size": "16px",
|
||||
"slug": "small"
|
||||
},
|
||||
{
|
||||
"fluid": false,
|
||||
"name": "Standard",
|
||||
"size": "18px",
|
||||
"slug": "standard"
|
||||
},
|
||||
{
|
||||
"name": "Extra Large",
|
||||
"size": "38px",
|
||||
"slug": "x-large"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--background)",
|
||||
"text": "var(--wp--preset--color--foreground)"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--sora)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header",
|
||||
"title": "Header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer",
|
||||
"title": "Footer"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user