themes-wordpress/zoologist/theme.json

379 lines
7.8 KiB
JSON
Raw Normal View History

{
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
},
{
"name": "page-without-title",
"title": "Page without title",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#333333",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#000000",
"name": "Secondary"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#f1f1f1",
"name": "Tertiary"
}
]
},
"custom": {
"button": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"radius": "0",
"width": "3px"
},
"color": {
"background": "var(--wp--custom--color--foreground)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--foreground)",
"background": "var(--wp--custom--color--background)"
},
"border": {
"color": "var(--wp--custom--color--foreground)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "700"
}
},
"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--tertiary)"
},
"colorPalettes": [
{
"label": "White",
"slug": "white",
"colors": {
"primary": "#000000",
"secondary": "#000000",
"tertiary": "#f1f1f1",
"background": "#ffffff"
}
},
{
"label": "Black",
"slug": "black",
"colors": {
"primary": "#ffffff",
"secondary": "#ffffff",
"tertiary": "#313131",
"background": "#000000"
}
}
],
"form": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"style": "solid",
"width": "2px"
},
"padding": "20px"
},
"fontSizes": {
"tiny": "16px"
},
"body": {
"typography": {
"lineHeight": 1.7
}
},
"heading": {
"typography": {
"fontWeight": "500"
}
},
"layout": {
"contentSize":"664px"
},
"line-height": {
"body": 1.7
},
"gap": {
"baseline": "10px",
"horizontal": "min(30px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"paragraph": {
"dropcap": {
"margin": "0 .2em .2em 0",
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"fontWeight": "400"
}
}
},
"pullquote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": 400
}
}
},
"quote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400"
}
}
}
},
"layout": {
"contentSize": "664px",
"wideSize": "1128px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"DM Sans\", sans-serif",
"slug": "dm-sans",
"name": "DM Sans",
"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "22px",
"slug": "medium"
},
{
"name": "Large",
"size": "min(max(28px, 5vw), 38px)",
"slug": "large"
},
{
"name": "Huge",
"size": "min(max(36px, 5vw), 48px)",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)"
}
},
"core/code": {
"border": {
"width": "0px"
},
"color": {
"background": "var(--wp--custom--color--tertiary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/navigation-link": {
"color": {
"background": "transparent",
"text": "var(--wp--custom--color--foreground)"
}
},
"core/post-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--vertical)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "min(max(48px, 7vw), 64px)",
"fontWeight": "700",
"lineHeight": 1.2
}
},
"list": {
"padding": {
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
}
},
"core/quote": {
"border": {
"width": "0px"
},
"spacing": {
"padding": {
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"typography": {
"fontSize": "25px",
"fontWeight": "normal",
"lineHeight": "40px"
}
},
"core/pullquote": {
"typography": {
"fontStyle": "normal",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "500",
"lineHeight": "1.4"
},
"spacing": {
"padding": {
"bottom": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"right": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"top": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"border": {
"width": "1px 0 0 0"
}
},
"core/post-template": {
"elements": {
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "500"
}
},
"core/site-title": {
"color": {
"link": "var(--wp--custom--color--primary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": 700,
"textTransform": "uppercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "min(max(48px, 7vw), 80px)",
"lineHeight": 1.2
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "min(max(36px, 6vw), 65px)",
"lineHeight": 1.2
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": 1.2
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": 1.4
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": 1.4
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": 1.4
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--foreground)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontWeight": "400"
}
}
}