themes-wordpress/pendant/theme.json
2022-04-18 12:41:06 -04:00

387 lines
No EOL
7.9 KiB
JSON

{
"version": 2,
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
}
],
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
},
{
"name": "footer-only",
"title": "Footer Only",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#776c4e",
"name": "Primary"
},
{
"slug": "foreground",
"color": "#000000",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#f1ede6",
"name": "Tertiary"
}
],
"link": true
},
"custom": {
"gap": {
"horizontal": "clamp(20px, 12vw - 40px, 100px)"
}
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
],
"blockGap": true,
"margin": true,
"padding": true
},
"typography": {
"fontFamilies": [
{
"fontFamily": "Jost, sans-serif",
"slug": "body-font",
"name": "Body (System Font)",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Jost",
"fontWeight": "300 400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Jost-Light.ttf"
]
},
{
"fontDisplay": "block",
"fontFamily": "Jost",
"fontWeight": "500 600",
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Jost-Medium.ttf"
]
}
]
},
{
"fontFamily": "'Literata', serif",
"slug": "heading-font",
"name": "Headings (System Font)",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Literata",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Literata_72pt-Light.ttf"
]
},
{
"fontDisplay": "block",
"fontFamily": "Literata",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Literata_72pt-LightItalic.ttf"
]
},
{
"fontDisplay": "block",
"fontFamily": "Literata",
"fontWeight": "800 900",
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Literata_72pt-Bold.ttf"
]
},
{
"fontDisplay": "block",
"fontFamily": "Literata",
"fontWeight": "800 900",
"fontStyle": "italic",
"fontStretch": "normal",
"src": [
"file:./assets/fonts/Literata_72pt-BoldItalic.ttf"
]
}
]
}
],
"fontSizes": [
{
"name": "Extra Small",
"size": "0.9rem",
"slug": "x-small"
},
{
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"name": "Medium",
"size": "clamp(1rem, 2vw, 1.25rem)",
"slug": "medium"
},
{
"name": "Large",
"size": "1.5rem",
"slug": "large"
},
{
"name": "Extra Large",
"size": "2rem",
"slug": "x-large"
}
],
"lineHeight": true
},
"layout": {
"contentSize": "820px",
"wideSize": "1240px"
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
},
"color": {
"background": "var:preset|color|foreground",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--body-font)",
"fontSize": "var(--wp--preset--font-size--x-small)",
"letterSpacing": "0.1em",
"textTransform": "uppercase",
"fontWeight": "600",
"lineHeight": 1.7
}
},
"core/categories": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--body-font)",
"fontSize": "var(--wp--preset--font-size--x-small)",
"fontWeight": "500",
"letterSpacing": "0.1em",
"textTransform": "uppercase",
"lineHeight": 2.3
},
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/heading": {
"typography": {
"lineHeight": 1.2
}
},
"core/navigation": {
"typography": {
"fontSize": "clamp(1.5rem, 5vw, 4.25rem)",
"lineHeight": "1.5"
}
},
"core/post-navigation-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/query-pagination": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
}
},
"core/query-pagination-next": {
"typography": {
"fontWeight": "500",
"textTransform": "uppercase",
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/query-pagination-numbers": {
"typography": {
"fontWeight": "500",
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/query-pagination-previous": {
"typography": {
"fontWeight": "500",
"textTransform": "uppercase",
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/quote": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontSize": "clamp(1.25rem, 2.5vw, 2rem)"
}
},
"core/pullquote": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)"
},
"border": {
"width": "1px"
}
},
"core/separator": {
"border": {
"width": "0 0 1px 0"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "900",
"textDecoration": "none"
}
},
"core/post-date": {
"typography": {
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-terms": {
"typography": {
"fontStyle": "normal",
"fontWeight": "500",
"letterSpacing": "0.1em",
"fontSize": "var:preset|font-size|x-small",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontWeight": 400,
"fontSize": "clamp(4rem, 10vw, 8rem)"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontWeight": 400,
"fontSize": "clamp(3rem, 6vw, 5rem)"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontWeight": 400,
"fontSize": "clamp(1.75rem, 4vw, 3rem)"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading-font)",
"fontWeight": 400,
"fontSize": "clamp(1.5rem, 3vw, 2.5rem)"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--body-font)",
"fontWeight": 600,
"letterSpacing": "0.1em",
"textTransform": "uppercase",
"fontSize": "clamp(1rem, 2vw, 1.25rem)"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--body-font)",
"fontWeight": 500,
"letterSpacing": "0.1em",
"textTransform": "uppercase",
"fontSize": "clamp(0.75, 1.5vw, 1rem)"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"spacing": {
"blockGap": "min(30px, 5vw)"
},
"typography": {
"lineHeight": "1.6",
"fontFamily": "var(--wp--preset--font-family--body-font)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
}
}