themes-wordpress/vetro/theme.json

349 lines
7.3 KiB
JSON
Raw Permalink Normal View History

{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"duotone": [
{
"colors": ["#063559", "#62FF88"],
"slug": "default",
"name": "Default"
},
{
"colors": ["#063559", "#DADADA"],
"slug": "neutral",
"name": "Neutral"
},
{
"colors": ["#063559", "#EDE550"],
"slug": "lemon",
"name": "Lemon"
},
{
"colors": ["#063559", "#DA90BD"],
"slug": "pink",
"name": "Pink"
}
],
"palette": [
{
"color": "#62ff88",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#063559",
"name": "Background",
"slug": "background"
}
]
},
"custom": {
"spacing": {
"large": "clamp(4rem, 10vw, 8rem)",
"medium": "clamp(2rem, 8vw, calc(4 * var(--wp--style--block-gap)))",
"outer": "var(--wp--custom--spacing--small, 1.25rem)",
"small": "max(1.25rem, 5vw)"
},
"typography": {
"font-size": {
"gigantic": "clamp(2.75rem, 6vw, 3.25rem)"
},
"line-height": {
"medium": 1.4,
"normal": 1.6,
"small": 1.2,
"tiny": 1.15
}
}
},
"layout": {
"contentSize": "1000px",
"wideSize": "1440px"
},
"spacing": {
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"typography": {
"customFontSize": true,
"dropCap": false,
"fontFamilies": [
{
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "500",
"src": ["file:./assets/fonts/inter_500.ttf"]
},
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "600",
"src": ["file:./assets/fonts/inter_600.ttf"]
}
],
"fontFamily": "Inter",
"slug": "inter"
}
],
"fontSizes": [
{
"size": "1rem",
"slug": "small"
},
{
"size": "1.125rem",
"slug": "medium"
},
{
"size": "1.75rem",
"slug": "large"
},
{
"size": "clamp(1.75rem, 3vw, 2.25rem)",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
},
"elements": {
"caption": {
"color": {
"text": {
"ref": "styles.color.text"
}
}
}
}
},
"core/post-comments": {
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--small)"
}
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--custom--typography--font-size--gigantic)",
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--tiny)"
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--custom--typography--font-size--gigantic)",
"fontWeight": "300",
"lineHeight": "var(--wp--custom--typography--line-height--small)"
}
},
"core/quote": {
"border": {
"width": "1px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic",
"fontWeight": "normal",
"lineHeight": "var(--wp--custom--typography--line-height--normal)"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
":active": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "underline"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
}
},
"typography": {
"fontFamily": "Inter",
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": "1",
"textDecoration": "none"
}
},
"h1": {
"typography": {
"fontFamily": "Inter",
"fontSize": "4rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-3px",
"lineHeight": "1.1"
}
},
"h2": {
"typography": {
"fontFamily": "Inter",
"fontSize": "2rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-1px",
"lineHeight": "1.1"
}
},
"h3": {
"typography": {
"fontFamily": "Inter",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0px",
"lineHeight": "1.4"
}
},
"h4": {
"typography": {
"fontFamily": "Inter",
"fontSize": "1.2rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0px",
"lineHeight": "1.4"
}
},
"h5": {
"typography": {
"fontFamily": "Inter",
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0px",
"lineHeight": "1.4",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontFamily": "Inter",
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "1px",
"lineHeight": "1.4",
"textTransform": "uppercase"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "Inter"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"top": "0px",
"right": "var(--wp--custom--spacing--outer)",
"bottom": "0px",
"left": "var(--wp--custom--spacing--outer)"
}
},
"typography": {
"fontFamily": "var:preset|font-family|inter",
"fontSize": "var:preset|font-size|small",
"fontStyle": "normal",
"fontWeight": "500",
"lineHeight": "var(--wp--custom--typography--line-height--normal)"
}
},
"templateParts": [
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.2/theme.json"
}