themes-wordpress/farmhouse/theme.json
alaczek 96905a0b96
Farmhouse: Add theme. (#7827)
* Farmhouse: Add theme.

Initial commit.

* Fix font assets

Add font files and fix theme.json references.
2024-06-05 11:31:14 +10:00

599 lines
No EOL
21 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"color": "#fbfcec",
"name": "Base",
"slug": "base"
},
{
"color": "#216609",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#216609",
"name": "Primary",
"slug": "primary"
},
{
"color": "#216609",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#e1e5c4",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "620px",
"wideSize": "1000px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"name": "DM Sans",
"slug": "dm-sans",
"fontFamily": "\"DM Sans\", sans-serif",
"fontFace": [
{
"src": "file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwA_JxhS2f3ZGMZpg.woff2",
"fontWeight": "300",
"fontStyle": "normal",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhS2f3ZGMZpg.woff2",
"fontWeight": "400",
"fontStyle": "normal",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhS2f3ZGMZpg.woff2",
"fontWeight": "500",
"fontStyle": "normal",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAfJthS2f3ZGMZpg.woff2",
"fontWeight": "600",
"fontStyle": "normal",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwARZthS2f3ZGMZpg.woff2",
"fontWeight": "700",
"fontStyle": "normal",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat_XDW32RmYJpso5.woff2",
"fontWeight": "300",
"fontStyle": "italic",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDW32RmYJpso5.woff2",
"fontWeight": "400",
"fontStyle": "italic",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-7DW32RmYJpso5.woff2",
"fontWeight": "500",
"fontStyle": "italic",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9XCm32RmYJpso5.woff2",
"fontWeight": "600",
"fontStyle": "italic",
"fontFamily": "\"DM Sans\""
},
{
"src": "file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9uCm32RmYJpso5.woff2",
"fontWeight": "700",
"fontStyle": "italic",
"fontFamily": "\"DM 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"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
},
"variations": {
"outline": {
"border": {
"bottom": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px"
},
"left": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px"
},
"right": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px"
},
"top": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px"
}
}
}
}
},
"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": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"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/comments-title": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600"
}
},
"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--small)",
"textTransform": "none"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-terms": {
"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"
}
},
"typography": {
"fontStyle": "normal",
"fontWeight": "600"
}
},
"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--tertiary)"
},
"css": "",
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--70)",
"left": "var(--wp--preset--spacing--70)",
"right": "var(--wp--preset--spacing--70)",
"top": "var(--wp--preset--spacing--70)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/query-title": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600"
}
},
"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": {
"fontFamily": "var(--wp--preset--font-family--satoshi-variable)",
"fontSize": "var(--wp--preset--font-size--small)",
"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": {
"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)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-0.01em",
"textTransform": "lowercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"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.8rem"
}
},
"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": {
"fontWeight": "400",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}