lex-scotland-theme/theme.json

411 lines
12 KiB
JSON

{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true,
"layout": {
"contentSize": "1239px",
"wideSize": "1660px"
},
"color": {
"defaultPalette": false,
"defaultGradients": false,
"palette": [
{
"slug": "background",
"color": "#FFFAFA",
"name": "Background"
},
{
"slug": "contrast",
"color": "#000000",
"name": "Contrast"
},
{
"slug": "main-purple",
"color": "#722668",
"name": "Main Purple"
},
{
"slug": "washed-purple",
"color": "#D0A7C0",
"name": "Washed Purple"
},
{
"slug": "light-purple",
"color": "#E8BFE2",
"name": "Light Purple"
},
{
"slug": "main-green",
"color": "#008D62",
"name": "Main Green"
},
{
"slug": "dark-green",
"color": "#006949",
"name": "Dark Green"
},
{
"slug": "washed-green",
"color": "#A1D7D2",
"name": "Washed Green"
},
{
"slug": "light-green",
"color": "#D1F2EF",
"name": "Light Green"
}
]
},
"typography": {
"fluid": true,
"lineHeight": true,
"textColumns": true,
"defaultFontSizes": false,
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small",
"fluid": false
},
{
"name": "Medium",
"size": "20px",
"slug": "medium",
"fluid": {
"min": "18px",
"max": "20px"
}
},
{
"name": "Large",
"size": "28px",
"slug": "large",
"fluid": {
"min": "24px",
"max": "28px"
}
},
{
"name": "Extra Large",
"size": "40px",
"slug": "x-large",
"fluid": {
"min": "32px",
"max": "40px"
}
}
],
"fontFamilies": [
{
"fontFamily": "'Inclusive Sans', sans-serif",
"name": "Inclusive Sans",
"slug": "inclusive-sans",
"fontFace": [
{
"fontFamily": "Inclusive Sans",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-regular.woff2"]
},
{
"fontFamily": "Inclusive Sans",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-italic.woff2"]
}
]
},
{
"fontFamily": "'Atkinson Hyperlegible', sans-serif",
"name": "Atkinson Hyperlegible",
"slug": "atkinson-hyperlegible",
"fontFace": [
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-regular.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-italic.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "700",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "700",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold-italic.woff2"]
}
]
},
{
"fontFamily": "'Overused Grotesk', sans-serif",
"name": "Overused Grotesk",
"slug": "overused-grotesk",
"fontFace": [
{
"fontFamily": "Overused Grotesk",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-regular.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "500",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-medium.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "500",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-medium-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "300",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-light.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "300",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-light-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "600",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-semibold.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "600",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-semibold-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "700",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-bold.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "700",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-bold-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "800",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-extrabold.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "800",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-extrabold-italic.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "900",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-black.woff2"]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "900",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-black-italic.woff2"]
}
]
}
]
}
},
"styles": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--inclusive-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "400",
"lineHeight": "1.6"
},
"blocks": {
"core/post-title": {
"typography": {
"fontSize": "40px",
"fontWeight": "400"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/heading": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700"
}
},
"core/buttons": {
"css": "& .wp-block-button__link { transition: all 0.25s ease-in-out; }\n& .wp-block-button.is-style-outline .wp-block-button__link:hover { box-shadow: rgb(51, 51, 51) 4px 4px 0 0; transform: translate(-4px, -4px) }"
},
"core/button": {
"css": "",
"variations": {
"fill": {
"color": {
"background": "var(--wp--preset--color--washed-green)",
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700",
"letterSpacing": "0.64px"
},
"spacing": {
"padding": {
"top": "1em",
"bottom": "1em",
"right": "2.5em",
"left": "2.5em"
}
}
},
"outline": {
"color": {
"background": "#E8BFE2",
"text": "var(--wp--preset--color--contrast)"
},
"spacing": {
"padding": {
"top": "1em",
"bottom": "1em",
"right": "2.5em",
"left": "2.5em"
}
},
"border": {
"color": "#000",
"width": "1px",
"radius": "56px",
"style": "solid"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700",
"letterSpacing": "0.64px"
}
}
}
},
"core/list-item": {
"css": "&::marker { color: var(--wp--preset--color--main-green); }",
"spacing": {
"padding": {
"top": "0.67rem",
"bottom": "0.67rem"
}
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 3px 0"
},
"color": {
"text": "var(--wp--preset--color--main-green)"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "40px",
"fontWeight": "400"
}
},
"h2": {
"typography": {
"fontSize": "24px",
"fontWeight": "400"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
":visited": {
"color": {
"text": "var(--wp--preset--color--main-purple)"
}
},
":hover": {
"typography": {
"textDecoration": "underline"
}
}
}
}
},
"customTemplates": [
{
"name": "page-brochure",
"postTypes": [
"page"
],
"title": "Brochure"
}
]
}