themes-wordpress/geologist-yellow/theme.json
Sarah Norris edfaea4e1f
Update: Quadrat, Geologist & Zoologist quote block line height (#6290)
* Update all variations to line-height 1.6

* Update all variation readme files

This is from running the build:variations script
2022-07-28 08:58:54 +01:00

323 lines
No EOL
6.5 KiB
JSON

{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
},
{
"name": "page-without-title",
"title": "Page without title",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#333333",
"name": "Secondary"
},
{
"slug": "background",
"color": "#FFF975",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#FFFFFF",
"name": "Tertiary"
}
]
},
"custom": {
"button": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"radius": "0",
"width": "3px"
},
"color": {
"background": "var(--wp--custom--color--foreground)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--foreground)",
"background": "var(--wp--custom--color--background)"
},
"border": {
"color": "var(--wp--custom--color--foreground)"
}
},
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "700"
}
},
"color": {
"foreground": "var(--wp--preset--color--primary)",
"background": "var(--wp--preset--color--background)",
"primary": "var(--wp--preset--color--primary)",
"secondary": "var(--wp--preset--color--secondary)",
"tertiary": "var(--wp--preset--color--tertiary)"
},
"form": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"style": "solid",
"width": "2px"
},
"padding": "20px"
},
"fontSizes": {
"x-small": "1rem",
"normal": "1.25rem"
},
"body": {
"typography": {
"lineHeight": 1.7
}
},
"heading": {
"typography": {
"fontWeight": "700"
}
},
"layout": {
"contentSize": "664px"
},
"line-height": {
"body": 1.7
},
"gap": {
"baseline": "10px",
"horizontal": "min(30px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"paragraph": {
"dropcap": {
"margin": "0 .2em .2em 0",
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": "400"
}
}
},
"pullquote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": 400
}
}
},
"quote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400"
}
}
}
},
"layout": {
"contentSize": "664px",
"wideSize": "1128px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontSizes": [
{
"name": "Small",
"size": "1.125rem",
"slug": "small"
},
{
"name": "Medium",
"size": "1.375rem",
"slug": "medium"
},
{
"name": "Large",
"size": "min(max(1.75rem, 5vw), 2.375rem)",
"slug": "large"
},
{
"name": "Extra Large",
"size": "min(max(2.25rem, 5vw), 3rem)",
"slug": "x-large"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)"
}
},
"core/code": {
"border": {
"width": "0px"
},
"color": {
"background": "var(--wp--custom--color--tertiary)"
},
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"core/navigation-link": {
"color": {
"background": "transparent",
"text": "var(--wp--custom--color--foreground)"
}
},
"core/post-title": {
"typography": {
"fontSize": "min(max(3rem, 7vw), 4rem)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "1.2"
}
},
"core/quote": {
"border": {
"width": "0px"
},
"spacing": {
"padding": {
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"typography": {
"fontSize": "1.5625rem",
"fontWeight": "normal",
"lineHeight": "1.6"
}
},
"core/pullquote": {
"typography": {
"fontStyle": "normal",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "500",
"lineHeight": "1.4"
},
"spacing": {
"padding": {
"bottom": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"right": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"top": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"border": {
"width": "1px 0 0 0"
}
},
"core/post-template": {
"elements": {
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "500"
}
},
"core/site-title": {
"color": {
"link": "var(--wp--custom--color--primary)"
},
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "700",
"textTransform": "uppercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "min(max(3rem, 7vw), 5rem)",
"lineHeight": "1.2"
}
},
"h2": {
"typography": {
"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.4"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"lineHeight": "1.4"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.4"
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--foreground)"
}
}
},
"typography": {
"fontWeight": "400",
"fontFamily": "var:preset|font-family|helvetica-neue"
}
}
}