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

91 lines
2.7 KiB
JSON

{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#384143",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#967e7e",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#384143",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#fbf7f7",
"name": "Tertiary"
}
]
},
"custom": {
"separator": {
"margin": "var(--wp--custom--gap--vertical) auto"
}
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"DM Sans\", sans-serif",
"fontSlug": "dm-sans",
"slug": "body-font",
"name": "Body (DM Sans)",
"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700"
},
{
"fontFamily": "\"Libre Baskerville\", serif",
"fontSlug": "libre-baskerville",
"slug": "heading-font",
"name": "Headings (Libre Baskerville)",
"google": "family=Libre+Baskerville:ital,wght@0,400;0,700;1,400"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "28px",
"slug": "large"
},
{
"name": "Extra Large",
"size": "32px",
"slug": "x-large"
}
]
}
},
"styles": {
"blocks": {
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
}
}
}
}