themes-wordpress/mayland-blocks/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

209 lines
4.2 KiB
JSON

{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
},
{
"name": "navigation",
"area": "navigation"
},
{
"name": "post-meta",
"area": "Post Meta"
}
],
"settings": {
"color": {
"palette": [
{
"slug": "foreground",
"color": "#1a1a1a",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#666666",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#add8e6",
"name": "tertiary"
}
]
},
"custom": {
"button": {
"border": {
"radius": "5px",
"color": "var(--wp--custom--color--foreground)"
},
"color": {
"text": "var(--wp--custom--color--background)",
"background": "var(--wp--custom--color--primary)"
},
"spacing": {
"padding": {
"top": "4px",
"bottom": "4px",
"left": "14px",
"right": "14px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": 600
}
},
"color": {
"primary": "var(--wp--preset--color--primary)",
"secondary": "var(--wp--preset--color--secondary)",
"foreground": "var(--wp--preset--color--foreground)",
"background": "var(--wp--preset--color--background)",
"tertiary": "var(--wp--preset--color--tertiary)"
},
"gap": {
"baseline": "10px",
"horizontal": "min(32px, 5vw)"
},
"width": {
"default": "750px",
"wide": "1022px"
}
},
"layout": {
"contentSize": "782px",
"wideSize": "1000px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Poppins\", sans-serif",
"fontSlug": "poppins",
"slug": "body-font",
"name": "Body (Poppins)",
"google": "family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900"
},
{
"fontFamily": "\"Poppins\", sans-serif",
"fontSlug": "poppins",
"slug": "heading-font",
"name": "Headings (Poppins)",
"google": "family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16.6px",
"slug": "small"
},
{
"name": "Medium",
"size": "20px",
"slug": "medium"
},
{
"name": "Large",
"size": "28.8px",
"slug": "large"
},
{
"name": "Extra Large",
"size": "34.56px",
"slug": "x-large"
}
]
}
},
"styles": {
"blocks": {
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)"
}
},
"core/pullquote": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
},
"color": {
"background": "var(--wp--custom--color--background)",
"text": "var(--wp--custom--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontSize": "41.47px"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "24px"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--foreground)"
}
}
}
}
}