themes-wordpress/quadrat/theme.json
Matt Wiebe b1b1df38e2
Blockbase Children: remove conflicting core/navigation-link styles (#7029)
Prior to this, `core/navigation-link` styles would always override the parent nav block's color

Fixes https://github.com/Automattic/wp-calypso/issues/74984
2023-04-21 09:40:43 -04:00

326 lines
6.3 KiB
JSON

{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
}
],
"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": "#FFD1D1",
"name": "Primary"
},
{
"slug": "tertiary",
"color": "#151853",
"name": "Tertiary"
},
{
"slug": "background",
"color": "#292C6D",
"name": "Background"
}
]
},
"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--primary)",
"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": "500"
}
},
"layout": {
"contentSize":"664px"
},
"line-height": {
"body": 1.7
},
"gap": {
"baseline": "10px",
"horizontal": "min(34px, 5vw)",
"vertical": "min(34px, 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": {
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)"
}
},
"core/post-title": {
"typography": {
"fontSize": "min(max(3rem, 7vw), 5rem)",
"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--x-large)",
"fontWeight": "400",
"lineHeight": "1.4"
},
"spacing": {
"padding": {
"left": "0px",
"right": "0px"
}
},
"border": {
"width": "1px 0 0 0"
}
},
"core/post-template": {
"elements": {
"h2": {
"typography": {
"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
}
}
}
},
"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": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"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|dm-sans"
}
}
}