themes-wordpress/skatepark/theme.json
Matias Benedetto 19cee32837
Skatepark: update separator block (#5940)
* removing unneeded definitions from theme.json

* fixing the heigth of the separator block

* update the separators included in templates

* fix typo

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* restore CSS  for backward compatibility

* updating missing separator

* Fix block markup.

* Fix block validation error

* Rebuild CSS

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-05-09 09:29:02 +01:00

536 lines
12 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"
]
}
],
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
}
],
"settings": {
"appearanceTools": true,
"color": {
"duotone": [
{
"colors": [ "#000", "#B9FB9C" ],
"slug": "default-filter",
"name": "Default filter"
},
{
"colors": [ "#000", "#FFF" ],
"slug": "white-filter",
"name": "White Filter"
},
{
"colors": [ "#000", "#F3B2A9" ],
"slug": "red-filter",
"name": "Red Filter"
},
{
"colors": [ "#000", "#C9E4ED" ],
"slug": "blue-filter",
"name": "Blue Filter"
},
{
"colors": [ "#252B39", "#F9EED4" ],
"slug": "blue-cream-filter",
"name": "Blue/Cream Filter"
},
{
"colors": [ "#153232", "#F7B9A9" ],
"slug": "green-pink-filter",
"name": "Green/Pink Filter"
}
],
"palette": [
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "background",
"color": "#B9FB9C",
"name": "Background"
}
]
},
"custom": {
"button": {
"border": {
"color": "var(--wp--custom--color--primary)",
"radius": "0",
"width": "3px",
"style": "solid"
},
"color": {
"background": "var(--wp--custom--color--primary)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--primary)",
"background": "var(--wp--custom--color--background)"
},
"border": {
"color": "var(--wp--custom--color--primary)"
}
},
"spacing": {
"padding": {
"top": "0.667em",
"bottom": "0.667em",
"left": "1.75em",
"right": "1.75em"
}
},
"typography": {
"fontSize": "1rem",
"fontWeight": "700",
"lineHeight": 1.2
}
},
"body": {
"typography": {
"lineHeight": 1.6
}
},
"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--background)"
},
"form": {
"border": {
"color": "var(--wp--custom--color--primary)",
"radius": "0",
"style": "solid",
"width": "3px"
},
"checkbox": {
"checked": {
"fontSize": "var(--wp--custom--font-size--normal)",
"position": {
"left": "7px",
"top": "3px"
},
"sizing": {
"height": "25px",
"width": "25px"
}
},
"unchecked": {
"position": {
"top": "-0.4em"
},
"sizing": {
"height": "30px",
"width": "30px"
}
}
},
"color": {
"background": "transparent"
},
"label": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--baseline)"
}
},
"typography": {
"fontSize": "var(--wp--custom--font-sizes--x-small)",
"fontWeight": "900",
"letterSpacing": ".1em",
"textTransform": "uppercase"
}
},
"padding": "calc( 0.5 * var(--wp--custom--gap--horizontal) )",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"fontSizes": {
"x-small": "0.875rem",
"normal": "1.25rem"
},
"gap": {
"baseline": "10px",
"horizontal": "min(30px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"heading": {
"typography": {
"fontWeight": "700"
}
},
"layout": {
"contentSize": "684px",
"wideSize": "1160px"
},
"line-height": {
"body": 1.6
},
"spacing": {
"small": "clamp(20px, 4vw, 40px)",
"medium": "clamp(30px, 8vw, 100px)",
"large": "clamp(100px, 12vw, 460px)",
"outer": "min(4vw, 90px)"
}
},
"layout": {
"contentSize": "684px",
"wideSize": "1160px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Red Hat Display\", sans-serif",
"slug": "red-hat-display",
"name": "Red Hat Display"
}
],
"fontSizes": [
{
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"name": "Medium",
"size": "1.5rem",
"slug": "medium"
},
{
"name": "Large",
"size": "min(max(1.75rem, 5vw), 2.25rem)",
"slug": "large"
},
{
"name": "Extra Large",
"size": "min(max(2.25rem, 5vw), 3rem)",
"slug": "x-large"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "var(--wp--custom--button--border--radius)"
},
"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)",
"letterSpacing": "0.1em",
"textTransform": "uppercase"
}
},
"core/code": {
"border": {
"color": "#CCCCCC",
"radius": "0px",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
},
"spacing": {
"padding": "15vh"
}
},
"core/file": {
"typography": {
"letterSpacing": "0.1em",
"textTransform": "uppercase"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/navigation": {
"typography": {
"letterSpacing": "0.05em",
"fontSize": "var(--wp--custom--font-sizes--normal)",
"fontWeight": "900",
"textTransform": "uppercase"
},
"spacing": {
"blockGap": "var(--wp--custom--gap--horizontal)"
}
},
"core/post-author": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/post-date": {
"color": {
"link": "var(--wp--custom--color--foreground)",
"text": "var(--wp--custom--color--foreground)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "500"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/post-terms": {
"typography": {
"fontWeight": "500"
}
},
"core/post-title": {
"typography": {
"fontSize": "min(max(3rem, 7vw), 4.5rem)",
"fontWeight": "700",
"lineHeight": "1.2"
},
"spacing": {
"margin": {
"bottom": "1em"
}
}
},
"core/post-navigation-link": {
"typography": {
"fontWeight": "500"
}
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "1px 0"
},
"typography": {
"fontStyle": "italic",
"fontSize": "var(--wp--preset--font-size--x-large)"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--horizontal)",
"bottom": "var(--wp--custom--gap--horizontal)"
}
}
},
"core/quote": {
"border": {
"color": "var(--wp--custom--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)"
}
},
"typography": {
"fontSize": "var(--wp--custom--font-sizes--normal)",
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--custom--button--typography--font-size)",
"letterSpacing": "0.1em",
"textTransform": "uppercase"
}
},
"core/separator": {
"color": {
"background": "var(--wp--custom--color--foreground)"
},
"border": {
"width": "0 0 3px 0"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--x-small)"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "900",
"letterSpacing": "0.05em",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--custom--color--background)",
"text": "var(--wp--custom--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontSize": "min(max(3rem, 7vw), 4.5rem)",
"fontWeight": "700",
"lineHeight": "1.2"
},
"spacing": {
"margin": {
"top": "calc( 1.1 * var(--wp--custom--gap--vertical) )",
"bottom": "calc( 1.1 * var(--wp--custom--gap--vertical) )"
}
}
},
"h2": {
"typography": {
"fontSize": "min(max(2.25rem, 5vw), 4rem)",
"fontWeight": "900",
"lineHeight": "1.2"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h3": {
"typography": {
"fontSize": "min(max(1.875rem, 5vw), 3rem)",
"fontWeight": "900",
"lineHeight": "1.3"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--x-small)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--primary)"
}
}
},
"spacing": {
"blockGap": "0.5em"
},
"typography": {
"lineHeight": "var(--wp--custom--body--typography--line-height)",
"fontFamily": "var(--wp--preset--font-family--red-hat-display)",
"fontSize": "var(--wp--custom--font-sizes--normal)",
"fontWeight": "400"
}
}
}