themes-wordpress/stewart/theme.json
2022-01-17 13:57:07 +00:00

354 lines
No EOL
7.7 KiB
JSON

{
"version": 1,
"templateParts": [
{
"name": "header",
"title": "Header",
"area": "header"
},
{
"name": "header-title-nav",
"title": "Header with Site Title and Navigation",
"area": "header"
},
{
"name": "sidebar",
"title": "Sidebar",
"area": "uncategorized"
},
{
"name": "footer",
"title": "Footer",
"area": "footer"
}
],
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
},
{
"name": "sidebar-footer-only",
"title": "Sidebar and Footer Only",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"appearanceTools": true,
"color": {
"duotone": [
{
"colors": [ "#F1F2F2", "#F1F2F2" ],
"slug": "background-and-foreground",
"name": "Background and Foreground"
},
{
"colors": [ "#C14420", "#F1F2F2" ],
"slug": "foreground-and-background",
"name": "Foreground and background"
}
],
"palette": [
{
"slug": "foreground",
"color": "#C14420",
"name": "Foreground"
},
{
"slug": "background",
"color": "#F1F2F2",
"name": "Background"
},
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#863119",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#FFFFFF",
"name": "Tertiary"
}
]
},
"custom": {
"body": {
"typography": {
"lineHeight": 1.6
}
},
"heading": {
"typography": {
"lineHeight": 1.2
}
},
"margin": {
"horizontal": "30px",
"vertical": "30px"
},
"spacing": {
"outer": "min(4vw, 30px)"
}
},
"layout": {
"contentSize": "826px",
"wideSize": "1160px"
},
"typography": {
"fontFamilies": [
{
"fontFamily": "'Work Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', sans-serif",
"slug": "work-sans",
"name": "Work Sans"
}
],
"fontSizes": [
{
"name": "Tiny",
"size": "16px",
"slug": "tiny"
},
{
"name": "Small",
"size": "18px",
"slug": "small"
},
{
"name": "Normal",
"size": "20px",
"slug": "normal"
},
{
"name": "Large",
"size": "24px",
"slug": "large"
},
{
"name": "Extra Large",
"size": "32px",
"slug": "extra-large"
},
{
"name": "Huge",
"size": "38px",
"slug": "huge"
},
{
"name": "Gigantic",
"size": "50px",
"slug": "gigantic"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontSize": "var(--wp--preset--typography--font-size--normal)"
}
},
"core/code": {
"spacing": {
"padding": {
"left": "var(--wp--custom--margin--horizontal)",
"right": "var(--wp--custom--margin--horizontal)",
"top": "var(--wp--custom--margin--vertical)",
"bottom": "var(--wp--custom--margin--vertical)"
}
},
"border": {
"color": "#CCCCCC",
"radius": "0px",
"style": "solid",
"width": "2px"
}
},
"core/post-featured-image": {
"spacing": {
"margin": {
"top": "0",
"bottom": "var(--wp--custom--margin--horizontal)"
}
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": 2
}
},
"core/post-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)"
},
"spacing": {
"margin": {
"top": "0",
"bottom": "var(--wp--custom--margin--horizontal)"
}
}
},
"core/post-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-excerpt": {
"spacing": {
"margin": {
"top": "var(--wp--custom--margin--horizontal)",
"bottom": "var(--wp--custom--margin--horizontal)"
}
}
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "1px 0"
},
"typography": {
"fontStyle": "italic",
"fontSize": "var(--wp--preset--font-size--huge)"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--margin--horizontal)",
"right": "var(--wp--custom--margin--horizontal)",
"top": "var(--wp--custom--margin--horizontal)",
"bottom": "var(--wp--custom--margin--horizontal)"
}
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": 400
}
},
"core/site-tagline": {
"spacing": {
"padding": {
"bottom": "calc(0.25 * var(--wp--custom--margin--horizontal))"
}
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--margin--horizontal)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontStyle": "normal"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "48px"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "32px"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--huge)"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"typography": {
"lineHeight": "var(--wp--custom--body--typography--line-height)",
"fontFamily": "var(--wp--preset--font-family--work-sans)",
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
}