themes-wordpress/mpho/theme.json
Beatriz Fialho 7adab08df0
Update theme.json
Rubik font was default inadvertently. This fixes the theme to use the correct font.
2023-12-18 12:54:34 +00:00

603 lines
12 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"color": "#131415",
"name": "Base",
"slug": "base"
},
{
"color": "#929292",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#6becae",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#404040",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "660px",
"wideSize": "1000px"
},
"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": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
}
],
"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"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "100px"
},
"color": {
"background": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "1.1rem"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/comment-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "0.8rem"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "0.8rem"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"typography": {
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/list": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--30)"
},
"typography": {
"fontSize": "1rem"
}
},
"core/paragraph": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
}
},
"core/post-author-biography": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"typography": {
"fontSize": "1rem",
"lineHeight": "1.4"
}
},
"core/post-author-name": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "1rem"
}
},
"core/post-content": {
"typography": {
"lineHeight": "1.3"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "1rem"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "1rem"
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px 0"
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"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": "normal",
"fontWeight": "400",
"lineHeight": "1.4"
}
},
"core/query-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "1.4rem",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"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--contrast)"
}
},
"core/site-tagline": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "1rem"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "1.4rem",
"fontWeight": "700"
}
},
"core/table": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"core/verse": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": " a[rel=\"tag\"]:before{\ncontent:\"#\";\n}\n\n a[rel=\"tag\"] + span{\ndisplay:none;\n}\n\n a[rel=\"tag\"]:after{\ncontent:\" \";\n}\n\na:any-link {\n text-decoration-thickness: .01em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontWeight": "400",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--30)",
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}