themes-wordpress/livro/theme.json
Vicente Canales 80bbde6ac0
Livro: add white and cream variations (#6359)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-08-12 13:07:07 -04:00

254 lines
5.5 KiB
JSON

{
"version": 2,
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": ["page", "post"]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": ["page", "post"]
}
],
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"slug": "foreground",
"color": "#DBDBDB",
"name": "Foreground"
},
{
"slug": "background",
"color": "#1E1E1E",
"name": "Background"
},
{
"slug": "secondary",
"color": "#FFFFFF",
"name": "Secondary"
}
]
},
"custom": {
"spacing": {
"small": "max(1.25rem, 2vw)",
"medium": "clamp(2rem, 8vw, calc(4 * var(--wp--style--block-gap)))",
"large": "clamp(4rem, 12vw, 10rem)",
"outer": "var(--wp--custom--spacing--small, 1.25rem)"
},
"typography": {
"line-height": {
"tiny": 1.15,
"small": 1.2,
"medium": 1.4,
"normal": 1.6
}
}
},
"spacing": {
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "\"Newsreader\", serif",
"name": "Newsreader",
"slug": "Newsreader",
"fontFace": [
{
"fontFamily": "Newsreader",
"fontDisplay": "block",
"fontWeight": "200 800",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/Newsreader.woff2"]
},
{
"fontFamily": "Newsreader",
"fontDisplay": "block",
"fontWeight": "200 800",
"fontStyle": "italic",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Newsreader-italic.woff2"
]
}
]
}
],
"fontSizes": [
{
"size": "1rem",
"slug": "x-small"
},
{
"size": "1.125rem",
"slug": "small"
},
{
"size": "1.3rem",
"slug": "medium"
},
{
"size": "1.75rem",
"slug": "large"
},
{
"size": "clamp(2.25rem, 6vw, 2.75rem)",
"slug": "x-large"
}
]
},
"layout": {
"contentSize": "650px",
"wideSize": "1000px"
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
},
"spacing": {
"padding": "1.25em 1.15em 1.15em 1.15em"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/post-title": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--tiny)",
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/post-comments": {
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--small)"
}
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-title": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/quote": {
"border": {
"width": "0 0 0 1px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--newsreader)",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--x-small)",
"fontWeight": "normal"
},
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"h4": {
"typography": {
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--medium)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic"
}
},
"h5": {
"typography": {
"fontWeight": "400",
"textTransform": "uppercase",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontWeight": "400",
"textTransform": "uppercase",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"spacing": {
"blockGap": "1.5rem"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--newsreader)",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"templateParts": [
{
"name": "header",
"title": "Header",
"area": "header"
},
{
"name": "footer",
"title": "Footer",
"area": "footer"
}
]
}