themes-wordpress/archeo/theme.json
Sarah Norris 31e8d63895
Archeo: Add core block settings (#5519)
* Add default comment block styles

* Add default separator block styles

* Add default pullquote styles

* Add default quote styles

* Add CSS for quote blocks

* Add post-nav-link a style back

Accidentally removed during merge!

* Remove custom CSS

* Set 1px border on quote block

* Remove font size setting from pullquote

* Remove text transform setting for pullquote
2022-02-15 11:27:32 +00:00

236 lines
4.3 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"slug": "foreground",
"color": "#242321",
"name": "Foreground"
},
{
"slug": "background",
"color": "#FCFBF8",
"name": "Background"
},
{
"slug": "primary",
"color": "#71706E",
"name": "Primary"
},
{
"slug": "tertiary",
"color": "#CFCFCF",
"name": "Tertiary"
}
]
},
"custom": {
"spacing": {
"small": "clamp(20px, 4vw, 40px)",
"medium": "clamp(30px, 8vw, 100px)",
"large": "clamp(100px, 12vw, 460px)",
"outer": "min(4vw, 90px)"
}
},
"layout": {
"contentSize": "620px",
"wideSize": "1260px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "\"Chivo\", sans-serif",
"name": "Chivo",
"slug": "chivo"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "clamp(24px, 5vw, 32px)",
"slug": "medium"
},
{
"name": "Large",
"size": "clamp(36px, 6vw, 48px)",
"slug": "large"
},
{
"name": "Huge",
"size": "clamp(42px, 7vw, 64px)",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--chivo)",
"fontSize": "var(--wp--preset--typography--font-size--normal)",
"textTransform": "uppercase"
}
},
"core/heading": {
"typography": {
"fontWeight": "100",
"lineHeight": "1.1"
}
},
"core/post-comments": {
"elements": {
"h3": {
"typography": {
"textTransform": "uppercase"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
},
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--small)"
}
}
},
"core/post-navigation-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "100",
"textTransform": "uppercase"
}
},
"core/pullquote": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--medium)",
"bottom": "var(--wp--custom--spacing--medium)"
}
},
"typography": {
"fontWeight": "100",
"lineHeight": "1.2"
}
},
"core/quote": {
"border": {
"width": "1px"
}
},
"core/separator": {
"color": {
"background": "var(--wp--preset--color--foreground)"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "400",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontSize": "clamp(48px, 8vw, 72px)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"spacing": {
"blockGap": "1.25rem"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--chivo)",
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"name": "header",
"title": "Header",
"area": "header"
},
{
"name": "footer",
"title": "Footer",
"area": "footer"
}
]
}