themes-wordpress/cortado/theme.json
Vicente Canales 87768567cc
Cortado: update theme templates (#7269)
* Cortado: update theme template

Updates theme.json and some templates to fix mobile spacing issues.

* Use dynamic home link instead of static url
2023-07-25 17:10:20 -04:00

636 lines
No EOL
12 KiB
JSON

{
"settings": {
"appearanceTools": true,
"blocks": {
"core/button": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#0a2bd7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#0a2bd7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#0a2bd7",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#fafafa",
"name": "Background",
"slug": "background"
},
{
"color": "#fafafa",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": false,
"wideSize": false
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_300.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_600.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_300italic.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_600italic.ttf"
]
}
],
"fontFamily": "Plus Jakarta Sans",
"slug": "plus-jakarta-sans"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
}
},
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#0a2bd7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#0a2bd7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#0a2bd7",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#fafafa",
"name": "Background",
"slug": "background"
},
{
"color": "#fafafa",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "920px",
"wideSize": "1200px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_300.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_600.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_300italic.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_600italic.ttf"
]
}
],
"fontFamily": "Plus Jakarta Sans",
"slug": "plus-jakarta-sans"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"spacing": {
"padding": {
"bottom": "1.2rem",
"left": "2rem",
"right": "2rem",
"top": "1.2rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.04rem",
"lineHeight": "1"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"h1": {
"typography": {
"fontSize": "4rem",
"fontStyle": "normal",
"fontWeight": "300"
}
},
"h2": {
"typography": {
"fontSize": "3rem",
"fontStyle": "normal",
"fontWeight": "300"
}
},
"h3": {
"typography": {
"fontSize": "1.8rem",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "0.05rem"
}
},
"h4": {
"typography": {
"fontSize": "1.5rem"
}
},
"h5": {
"typography": {
"fontSize": "1.2rem"
}
},
"h6": {
"typography": {
"fontSize": "1rem"
}
},
"heading": {
"color": {
"text": "#0a2bd7"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "400",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "0rem",
"left": "1.5rem",
"right": "1.5rem",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}