themes-wordpress/rainfall/theme.json
Sarah Norris 783e9432f2
Rainfall: general improvements (#6676)
* Indent Rainfall block markup

* Make default and outline buttons the same size

* Update button border to 2px

* Update button border colours to match backgrounds
2022-10-19 16:27:05 +01:00

494 lines
9.2 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"customTemplates": [
{
"name": "page-header-black",
"postTypes": [
"page",
"post"
],
"title": "Page with black header"
},
{
"name": "page-no-sidebar",
"postTypes": [
"page",
"post"
],
"title": "Page with no sidebar"
}
],
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"color": "#000",
"name": "Black",
"slug": "black"
},
{
"color": "#636363",
"name": "Dark Grey",
"slug": "dark-grey"
},
{
"color": "#DFDFDF",
"name": "Light Grey",
"slug": "light-grey"
},
{
"color": "#FFF",
"name": "White",
"slug": "white"
},
{
"color": "#A43D00",
"name": "Brown",
"slug": "brown"
},
{
"color": "#FF7D2F",
"name": "Orange",
"slug": "orange"
},
{
"color": "#FDEEE5",
"name": "Light Orange",
"slug": "light-orange"
}
]
},
"layout": {
"contentSize": "119ch",
"wideSize": "1280px"
},
"spacing": {
"spacingScale": {
"operator": "+",
"increment": 0.25,
"steps": 9,
"mediumStep": 1.5,
"unit": "rem"
},
"spacingSizes": [
{
"size": "3.125rem",
"slug": "100",
"name": "100"
},
{
"size": "3.75rem",
"slug": "110",
"name": "110"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "'Helvetica Neue', Arial, sans-serif",
"name": "Helvetica Neue",
"slug": "helvetica-neue"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.125rem",
"min": "0.8rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.5rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.375rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.875rem",
"min": "1.5rem"
},
"name": "Large",
"size": "1.625rem",
"slug": "large"
},
{
"fluid": {
"max": "2.625rem",
"min": "1.75rem"
},
"name": "Extra large",
"size": "2rem",
"slug": "x-large"
},
{
"fluid": {
"max": "7rem",
"min": "4rem"
},
"name": "Extra Extra Large",
"size": "6.5rem",
"slug": "xx-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/comment-author-name": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-date": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-reply-link": {
"typography": {
"textTransform": "uppercase"
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
":active": {
"color": {
"text": "var(--wp--preset--color--brown)"
},
"typography": {
"textDecoration": "underline"
}
},
":focus": {
"typography": {
"textDecoration": "underline dotted"
}
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font--size--small)",
"textTransform": "uppercase"
}
},
"core/post-comments-form": {
"elements": {
"button": {
"color": {
"background": {
"ref": "styles.color.background"
},
"text": {
"ref": "styles.color.text"
}
}
}
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--grayscale)"
}
},
"core/post-navigation-link": {
"typography": {
"textTransform": "uppercase"
}
},
"core/post-title": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
},
":hover": {
"color": {
"text": {
"ref": "styles.color.text"
}
},
"typography": {
"textDecoration": "underline"
}
},
":active": {
"color": {
"text": {
"ref": "styles.color.text"
}
},
"typography": {
"textDecoration": "underline"
}
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"textTransform": "uppercase"
}
},
"core/query-pagination": {
"typography": {
"fontWeight": "700",
"textTransform": "uppercase"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--orange)",
"style": "solid",
"width": "0 0 0 2px"
},
"elements": {
"cite": {
"typography": {
"fontWeight": 400,
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--60)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "bold",
"lineHeight": "1.3",
"textTransform": "uppercase"
}
},
"core/search": {
"elements": {
"button": {
"spacing": {
"margin": {
"left": "0px"
},
"padding": {
"bottom": "var(--wp--preset--spacing--10)",
"top": "var(--wp--preset--spacing--10)"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--black)"
},
"color": {
"background": "var(--wp--preset--color--black)",
"text": "var(--wp--preset--color--orange)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--black)",
"text": "var(--wp--preset--color--orange)"
}
}
}
}
},
"core/separator": {
"border": {
"width": "0 0 1px 0"
}
},
"core/site-title": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font--size--small)",
"fontWeight": "bold",
"lineHeight": {
"ref": "styles.typography.lineHeight"
}
}
}
},
"color": {
"background": "var(--wp--preset--color--white)",
"text": "var(--wp--preset--color--black)"
},
"elements": {
"button": {
"border": {
"color": "var(--wp--preset--color--black)",
"radius": "0",
"style": "solid",
"width": "2px"
},
"color": {
"background": {
"ref": "styles.color.text"
},
"text": {
"ref": "styles.color.background"
}
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40) !important",
"left": "var(--wp--preset--spacing--50) !important",
"right": "var(--wp--preset--spacing--50) !important",
"top": "var(--wp--preset--spacing--40) !important"
}
},
"typography": {
"fontWeight": "700",
"lineHeight": "1.2",
"textDecoration": "none",
"textTransform": "uppercase"
},
":hover": {
"border": {
"color": "var(--wp--preset--color--orange)"
},
"color": {
"background": "var(--wp--preset--color--orange)",
"text": "var(--wp--preset--color--black)"
}
}
},
"h1": {
"typography": {
"fontSize": "clamp(4rem, 6vw, 6.5rem)",
"fontWeight": "400",
"lineHeight": "0.92"
}
},
"h2": {
"typography": {
"fontSize": "clamp(2rem, 5vw, 2.375rem)",
"fontWeight": "400",
"lineHeight": "1"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--spacing--60)",
"lineHeight": "1.1"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--spacing--50)",
"lineHeight": "1.2"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.3"
}
},
"heading": {
"typography": {
"fontWeight": "700",
"textTransform": "uppercase"
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--brown)"
},
"typography": {
"textDecoration": "none"
}
},
":focus": {
"typography": {
"textDecoration": "underline dotted"
}
},
":hover": {
"color": {
"text": "var(--wp--preset--color--dark-grey)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": {
"ref": "styles.color.text"
}
},
"typography": {
"textDecoration": "underline"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--90)",
"padding": {
"top": "0px",
"right": "var(--wp--preset--spacing--90)",
"bottom": "0px",
"left": "var(--wp--preset--spacing--90)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--helvetica-neue)",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "Header"
},
{
"area": "footer",
"name": "Footer"
}
],
"version": 2
}