autonomic-block-theme/theme.json

147 lines
3.0 KiB
JSON

{
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.0/theme.json",
"settings": {
"appearanceTools": true,
"color": {
"defaultPalette": false,
"defaultGradients": false,
"defaultDuotone": false,
"palette": [
{
"slug": "background",
"color": "#F5FBF8",
"name": "Background"
},
{
"slug": "foreground",
"color": "#dc3e9d",
"name": "Foreground"
},
{
"slug": "primary",
"color": "#dc3e9d",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#27c773",
"name": "Secondary"
},
{
"slug": "button",
"color": "#FF7613",
"name": "Button color"
}
]
},
"layout": {
"contentSize": "1000px",
"wideSize": "1100px"
},
"spacing": {
"units": [ "px", "em", "rem", "vh", "vw", "%" ]
},
"typography": {
"dropCap": true,
"fontFamilies": [
{
"name": "System (Roboto, Segoe UI, Ubuntu)",
"slug": "system",
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif"
},
{
"fontFace": [
{
"fontFamily": "Karmilla",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/karmilla-regular-webfont.woff2",
"file:./assets/fonts/karmilla-regular-webfont.woff"
]
},
{
"fontFamily": "Karmilla",
"fontStyle": "bold",
"fontWeight": "700",
"src": [
"file:./assets/fonts/karmilla-bold-webfont.woff2",
"file:./assets/fonts/karmilla-bold-webfont.woff"
]
}
],
"fontFamily": "Karmilla",
"slug": "karmilla"
},
{
"fontFace": [
{
"fontFamily": "Darker Grotesque",
"fontWeight": "700",
"src": [
"file:./assets/fonts/DarkerGrotesque-Semibold.woff"
]
}
],
"name": "'Darker Grotesque', sans-serif",
"fontFamily": "Darker Grotesque",
"slug": "darkergrotesque"
}
]
}
},
"styles": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--karmilla)",
"fontSize": "21px"
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/navigation": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--darkergrotesque)",
"fontSize": "21px",
"fontStyle": "normal",
"fontWeight": "600",
"textTransform": "uppercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "44px",
"fontWeight": "400",
"lineHeight": "0.9"
}
},
"h2": {
"typography": {
"fontSize": "14px",
"textTransform": "uppercase"
}
}
}
},
"templateParts": [
{
"name": "nav-menu",
"title": "Navigation"
},
{
"name": "footer",
"title": "Footer",
"area": "footer"
}
]
}