themes-wordpress/skatepark/theme.json
Matias Benedetto 805e3522cc
Font size names update (#5300)
* Font size name: updating 'huge' to 'x-large'

* Mayland-blocks: rename 'normal' to 'medium'

* Seedlet-blocks: renaming 'normal' to 'medium'

* Russell: removing unused 'normal' font size

* Blockbase & children: moving 'normal' font size from presets to custom

* Blockbase & family: renaming custom fotsize from 'tiny' to 'x-small'
2022-01-14 14:28:25 +00:00

409 lines
8.9 KiB
JSON

{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"settings": {
"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"
},
"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": {
"left": "1.75em",
"right": "1.75em"
}
},
"typography": {
"fontSize": "16px",
"fontWeight": "700"
}
},
"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)"
},
"colorPalettes": [
{
"label": "White",
"slug": "white",
"colors": {
"primary": "#000000",
"background": "#FFFFFF"
}
},
{
"label": "Red",
"slug": "red",
"colors": {
"primary": "#000000",
"background": "#F3B2A9"
}
},
{
"label": "Blue",
"slug": "blue",
"colors": {
"primary": "#000000",
"background": "#C9E4ED"
}
},
{
"label": "Blue/Cream",
"slug": "blue-cream",
"colors": {
"primary": "#F9EED4",
"background": "#252B39"
}
},
{
"label": "Green/Pink",
"slug": "green-pink",
"colors": {
"primary": "#F7B9A9",
"background": "#153232"
}
}
],
"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": "14px",
"normal": "20px"
},
"gap": {
"baseline": "10px"
},
"heading": {
"typography": {
"fontWeight": "700"
}
},
"layout": {
"contentSize": "684px",
"wideSize": "1194px"
},
"line-height": {
"body": 1.6
}
},
"layout": {
"contentSize": "684px",
"wideSize": "1194px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Red Hat Display\", sans-serif",
"fontSlug": "red-hat-display",
"slug": "body-font",
"name": "Body (Red Hat Display)",
"google": "family=Red+Hat+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900"
},
{
"fontFamily": "\"Red Hat Display\", sans-serif",
"fontSlug": "red-hat-display",
"slug": "heading-font",
"name": "Heading (Red Hat Display)",
"google": "family=Red+Hat+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "min(max(28px, 5vw), 36px)",
"slug": "large"
},
{
"name": "Extra Large",
"size": "min(max(36px, 5vw), 48px)",
"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)",
"letterSpacing": "0.1em",
"textTransform": "uppercase"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
},
"spacing": {
"padding": "15vh"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/navigation": {
"typography": {
"letterSpacing": "0.05em",
"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": {
"typography": {
"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(48px, 7vw), 72px)",
"fontWeight": "700",
"lineHeight": "1.2"
},
"spacing": {
"margin": {
"bottom": "1em"
}
}
},
"core/post-navigation-link": {
"typography": {
"fontWeight": "500"
}
},
"core/pullquote": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/separator": {
"border": {
"width": "0 0 3px 0"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "900",
"letterSpacing": "0.05em",
"textTransform": "uppercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "min(max(48px, 7vw), 72px)",
"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(36px, 5vw), 64px)",
"fontWeight": "900",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontSize": "min(max(30px, 5vw), 48px)",
"fontWeight": "900",
"lineHeight": "1.3"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--custom--font-size--normal)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--x-small)",
"fontWeight": "900",
"letterSpacing": "0.1em",
"lineHeight": "1.3",
"textTransform": "uppercase"
}
}
},
"spacing": {
"blockGap": "0.5em"
},
"typography": {
"fontWeight": "400"
}
}
}