themes-wordpress/geologist/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

317 lines
6.4 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": "#F5F0E5",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#FFFFFF",
"name": "Secondary"
},
{
"slug": "background",
"color": "#28262C",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#45424A",
"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": "500"
}
},
"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/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|dm-sans"
}
}
}