themes-wordpress/upsidedown/theme.json
Sarah Norris 442ff228ee
Upsidedown: Tweaks for initial release (#6814)
* Remove CSS for table block

* Update copyright text

* Bump version

* Add blog tag

* Update copyright year to 2023

* Remove font-smoothing

* Update link to wp.org

* Update noir variation so colours are inverted

* Capitalise variation name

* Style focus states on links and buttons

* Remove queryIds from templates
2023-01-25 11:19:07 +00:00

456 lines
No EOL
8.8 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#111111",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f9f9f9",
"name": "Secondary",
"slug": "secondary"
}
]
},
"layout": {
"contentSize": "1000px",
"wideSize": "1200px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": 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"
},
{
"fontFace": [
{
"fontFamily": "Roboto",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/roboto_500.ttf"
]
},
{
"fontFamily": "Roboto",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/roboto_700.ttf"
]
},
{
"fontFamily": "Roboto",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/roboto_regular.ttf"
]
},
{
"fontFamily": "Roboto",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/roboto_italic.ttf"
]
},
{
"fontFamily": "Roboto",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/roboto_500italic.ttf"
]
},
{
"fontFamily": "Roboto",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/roboto_700italic.ttf"
]
}
],
"fontFamily": "Roboto",
"slug": "roboto"
}
],
"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/code": {
"border": {
"color": "var(--wp--preset--color--primary)",
"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--primary)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"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--primary)"
}
},
"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--secondary)",
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "underline"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--primary)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"lineHeight": "1"
}
},
"h1": {
"typography": {
"fontSize": "4.8rem",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontSize": "2.4rem",
"lineHeight": "1"
}
},
"h3": {
"typography": {
"fontSize": "1.6rem",
"lineHeight": "1"
}
},
"h4": {
"typography": {
"fontSize": "1.2rem",
"lineHeight": "1"
}
},
"h5": {
"typography": {
"fontSize": "1rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontSize": "0.8rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--roboto)",
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": "1"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
":focus": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"lineHeight": "1.4"
}
},
"caption": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--roboto)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.4"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}