themes-wordpress/sunderland/theme.json
Beatriz Fialho 46a907432a
Sunderland: Update theme and prepare for Dotorg submission (#7812)
* Changes from WordPress Playground

I made some adjustments to the theme: 

- Added image from theme screenshot license
- Rearranged spacings in the templates
- Did some fine-tuning in Global Styles, font size presets

* Use relative paths for image in home pattern

* Remove Helvetica as bundled font

* Use footer pattern in template part

---------

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2024-06-18 21:51:44 +01:00

615 lines
No EOL
12 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#000000",
"name": "Base",
"slug": "base"
},
{
"color": "#ffd17b",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffd17b",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffd17b",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#161616",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "800px",
"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": [
{
"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"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"color": "#ffd17b",
"style": "solid",
"width": "1px"
},
"color": null,
"left": {
"color": "#ffd17b",
"style": "solid",
"width": "1px"
},
"radius": "100px",
"right": {
"color": "#ffd17b",
"style": "solid",
"width": "1px"
},
"style": null,
"top": {
"color": "#ffd17b",
"style": "solid",
"width": "1px"
},
"width": null
},
"spacing": {
"padding": {
"bottom": "10px",
"left": "16px",
"right": "16px",
"top": "10px"
}
},
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/code": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"radius": "0.25rem",
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"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": "0.8rem",
"textTransform": "uppercase"
}
},
"core/comment-date": {
"typography": {
"fontSize": "0.8rem",
"fontStyle": "normal",
"fontWeight": "700",
"textTransform": "uppercase"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/comments-title": {
"typography": {
"textTransform": "uppercase"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"typography": {
"textTransform": "uppercase"
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "1rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.2",
"textTransform": "uppercase"
}
},
"core/paragraph": {
"typography": {
"lineHeight": "1.4",
"textTransform": "none"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-comments-form": {
"typography": {
"fontSize": "1rem",
"textTransform": "none"
}
},
"core/post-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"textTransform": "none"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"textTransform": "uppercase"
}
},
"core/pullquote": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "1px 0"
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": "text-align: left;",
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"padding": {
"bottom": "2rem",
"left": "0rem",
"right": "0rem",
"top": "2rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0px",
"lineHeight": "1.3",
"textTransform": "uppercase"
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"textTransform": "uppercase"
}
},
"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": {
"border": {
"radius": "0px"
},
"typography": {
"fontSize": "0.8rem",
"lineHeight": "1.6",
"textTransform": "uppercase"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "700",
"textTransform": "uppercase"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": "a: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}\n\n.wp-block-post-comments-form .comment-form input:not([type=\"submit\"]):not([type=\"checkbox\"]):not([type=\"hidden\"]), .wp-block-post-comments-form .comment-form textarea {\n\tbackground-color: #161616;\n\tborder-radius: 3px;\n\tborder-color: #424242;\n\tcolor: #424242;\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)"
}
},
"caption": {
"typography": {
"fontSize": "0.7rem"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "1.6rem"
}
},
"h3": {
"typography": {
"fontSize": "1.4rem"
}
},
"h4": {
"typography": {
"fontSize": "1.2rem"
}
},
"h5": {
"typography": {
"fontSize": "1rem"
}
},
"h6": {
"typography": {
"fontSize": "0.8rem"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "2rem",
"padding": {
"bottom": "0rem",
"left": "5vw",
"right": "5vw",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}