themes-wordpress/heiwa/theme.json
Richard Ortiz 2dc712eb3e
Fixed Blockbase children style variations (#7859)
* Fixed blockbase children style variations problems. Added .idea folder to gitignore

* Fixed more themes that inherit from blockbase that were specified on another issue
2024-06-17 15:50:41 +02:00

201 lines
3.6 KiB
JSON

{
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#5a00ff",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#000000",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#f9f9f9",
"name": "Tertiary"
}
]
},
"custom": {
"excludedParentStyleVariations": [
"Ruby Wine"
],
"body": {
"typography": {
"lineHeight": 1.56
}
},
"button": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"radius": "0px",
"style": "solid",
"width": "1px"
},
"color": {
"background": "var(--wp--custom--color--foreground)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"background": "var(--wp--custom--color--primary)",
"text": "var(--wp--custom--color--background)"
},
"border": {
"color": "var(--wp--custom--color--primary)"
}
},
"spacing": {
"padding": {
"top": "1em",
"bottom": "1em",
"left": "2.111em",
"right": "2.111em"
}
},
"typography": {
"lineHeight": 1
}
},
"form": {
"border": {
"width": "1px"
},
"color": {
"background": "#ffffff"
},
"label": {
"spacing": {
"margin": {
"bottom": "calc(2 * var(--wp--custom--gap--baseline) )"
}
}
}
},
"gap": {
"baseline": "4px",
"horizontal": "min(56px, 5vw)",
"vertical": "min(28px, 5vw)"
}
},
"layout": {
"wideSize": "1240px"
},
"typography": {
"fontSizes": [
{
"name": "Small",
"size": "0.94rem",
"slug": "small"
},
{
"name": "Normal",
"size": "1.13rem",
"slug": "normal"
},
{
"name": "Medium",
"size": "1.35rem",
"slug": "medium"
},
{
"name": "Large",
"size": "1.62rem",
"slug": "large"
},
{
"name": "Huge",
"size": "1.95rem",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)"
}
}
},
"core/post-title": {
"typography": {
"lineHeight": "1.39"
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "600",
"lineHeight": "1.077"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "clamp(2.312rem, 5vw, 3.375rem)",
"lineHeight": "1.167"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.389"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.482"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "1.549"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.330",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.595"
}
}
},
"spacing": {
"blockGap": "calc(7 * var(--wp--custom--gap--baseline))"
},
"typography": {
"fontFamily": "var:preset|font-family|eb-garamond"
}
}
}