themes-wordpress/strand/theme.json
alaczek ebd918469e
Strand: A round of updates. (#7582)
* Update theme.json

Fix the subscribe button width issue with css until it's fixed in Jetpack.

* Update templates

Update theme templates to add custom CSS class.

* Update screenshot.png

* Update footer widgets

Minor updates to the content of the footer widgets.

* Update theme.json

Remove system font. Make headings bold.

* Add strict type declarations.

* Update footer widgets

Update the copy of the About section.
2024-01-09 18:27:01 -03:00

718 lines
No EOL
16 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"color": "#c11b25",
"name": "Primary",
"slug": "primary"
},
{
"color": "#1e1e1e",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#666666",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#ffffff",
"name": "Background",
"slug": "background"
},
{
"color": "#fafafa",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "650px",
"wideSize": "1000px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_200.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_300.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_400.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_500.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_600.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_700.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/plus-jakarta-sans_normal_800.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "200",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_200.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_300.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_400.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_500.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_600.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_700.ttf"
]
},
{
"fontFamily": "Plus Jakarta Sans",
"fontStyle": "italic",
"fontWeight": "800",
"src": [
"file:./assets/fonts/plus-jakarta-sans_italic_800.ttf"
]
}
],
"fontFamily": "Plus Jakarta Sans",
"slug": "plus-jakarta-sans"
},
{
"fontFace": [
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/newsreader_normal_200.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/newsreader_normal_300.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/newsreader_normal_400.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/newsreader_normal_500.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/newsreader_normal_600.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/newsreader_normal_700.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/newsreader_normal_800.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "200",
"src": [
"file:./assets/fonts/newsreader_italic_200.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/newsreader_italic_300.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/newsreader_italic_400.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/newsreader_italic_500.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/newsreader_italic_600.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/newsreader_italic_700.ttf"
]
},
{
"fontFamily": "Newsreader",
"fontStyle": "italic",
"fontWeight": "800",
"src": [
"file:./assets/fonts/newsreader_italic_800.ttf"
]
}
],
"fontFamily": "Newsreader",
"slug": "newsreader"
}
],
"fontSizes": [
{
"name": "Small",
"size": ".875rem",
"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": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"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": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/group": {
"dimensions": {
"minHeight": "1vh"
}
},
"core/heading": {
"typography": {
"fontStyle": "normal"
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/paragraph": {
"typography": {
"lineHeight": "1.5"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-terms": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "1px",
"textTransform": "uppercase"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
},
"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/query-pagination": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
}
},
"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 2px 0"
},
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--background)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": "700"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"css": "a:any-link {\n\ttext-underline-offset: .2em;\n}\n\n.side-panel .wp-block-jetpack-subscriptions__use-newline button.wp-block-button__link {\n\twidth: 100% !important;\n}",
"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)"
},
"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--background)"
}
},
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"lineHeight": "1.35"
}
},
"caption": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)"
}
},
"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)",
"fontWeight": "600"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--plus-jakarta-sans)",
"fontWeight": "600",
"lineHeight": "1.2"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "0",
"left": "0",
"right": "0",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--newsreader)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}