lex-scotland-theme/theme.json

411 lines
12 KiB
JSON
Raw Normal View History

2024-05-08 09:26:54 +00:00
{
2024-05-08 10:37:41 +00:00
"version": 3,
2024-05-08 09:26:54 +00:00
"$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true,
"layout": {
2024-05-09 12:08:38 +00:00
"contentSize": "1239px",
2024-05-09 12:16:15 +00:00
"wideSize": "1660px"
2024-05-08 09:26:54 +00:00
},
"color": {
2024-05-08 10:46:26 +00:00
"defaultPalette": false,
"defaultGradients": false,
2024-05-08 09:26:54 +00:00
"palette": [
{
"slug": "background",
2024-05-08 09:37:53 +00:00
"color": "#FFFAFA",
2024-05-08 09:26:54 +00:00
"name": "Background"
},
{
2024-05-08 09:37:53 +00:00
"slug": "contrast",
"color": "#000000",
"name": "Contrast"
2024-05-08 09:26:54 +00:00
},
{
2024-05-08 09:37:53 +00:00
"slug": "main-purple",
"color": "#722668",
"name": "Main Purple"
2024-05-08 09:26:54 +00:00
},
{
2024-05-08 09:37:53 +00:00
"slug": "washed-purple",
"color": "#D0A7C0",
"name": "Washed Purple"
2024-05-08 09:26:54 +00:00
},
2024-05-09 11:42:11 +00:00
{
"slug": "light-purple",
"color": "#E8BFE2",
"name": "Light Purple"
},
2024-05-08 09:26:54 +00:00
{
2024-05-08 09:37:53 +00:00
"slug": "main-green",
"color": "#008D62",
"name": "Main Green"
2024-05-09 11:50:00 +00:00
},
{
"slug": "dark-green",
"color": "#006949",
"name": "Dark Green"
},
2024-05-08 09:37:53 +00:00
{
"slug": "washed-green",
"color": "#A1D7D2",
"name": "Washed Green"
2024-05-09 11:42:11 +00:00
},
{
"slug": "light-green",
"color": "#D1F2EF",
"name": "Light Green"
2024-05-08 09:26:54 +00:00
}
]
},
"typography": {
2024-05-08 11:13:31 +00:00
"fluid": true,
"lineHeight": true,
"textColumns": true,
2024-05-08 11:45:22 +00:00
"defaultFontSizes": false,
2024-05-08 11:13:31 +00:00
"fontSizes": [
{
"name": "Small",
"size": "16px",
2024-05-09 09:26:03 +00:00
"slug": "small",
2024-05-08 11:13:31 +00:00
"fluid": false
},
{
"name": "Medium",
"size": "20px",
2024-05-09 09:26:03 +00:00
"slug": "medium",
2024-05-08 11:13:31 +00:00
"fluid": {
"min": "18px",
"max": "20px"
}
},
{
"name": "Large",
2024-05-09 12:04:33 +00:00
"size": "28px",
2024-05-09 09:26:03 +00:00
"slug": "large",
2024-05-08 11:13:31 +00:00
"fluid": {
2024-05-09 12:04:33 +00:00
"min": "24px",
"max": "28px"
2024-05-08 11:13:31 +00:00
}
},
{
"name": "Extra Large",
2024-05-09 12:04:33 +00:00
"size": "40px",
2024-05-09 09:26:03 +00:00
"slug": "x-large",
2024-05-08 11:13:31 +00:00
"fluid": {
2024-05-09 12:04:33 +00:00
"min": "32px",
"max": "40px"
2024-05-08 11:13:31 +00:00
}
}
],
2024-05-08 09:26:54 +00:00
"fontFamilies": [
{
2024-05-08 10:37:41 +00:00
"fontFamily": "'Inclusive Sans', sans-serif",
"name": "Inclusive Sans",
"slug": "inclusive-sans",
2024-05-08 09:26:54 +00:00
"fontFace": [
{
2024-05-08 10:37:41 +00:00
"fontFamily": "Inclusive Sans",
2024-05-08 09:26:54 +00:00
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
2024-05-08 10:37:41 +00:00
"src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-regular.woff2"]
2024-05-08 09:26:54 +00:00
},
{
2024-05-09 11:11:02 +00:00
"fontFamily": "Inclusive Sans",
2024-05-08 10:37:41 +00:00
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-italic.woff2"]
}
]
},
2024-05-09 11:10:40 +00:00
{
"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",
2024-05-09 11:21:05 +00:00
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold.woff2"]
2024-05-09 11:10:40 +00:00
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "700",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold-italic.woff2"]
}
]
},
2024-05-08 10:37:41 +00:00
{
"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",
2024-05-08 09:26:54 +00:00
"fontWeight": "700",
2024-05-08 10:37:41 +00:00
"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",
2024-05-08 09:26:54 +00:00
"fontStyle": "normal",
"fontStretch": "normal",
2024-05-08 10:37:41 +00:00
"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"]
2024-05-08 09:26:54 +00:00
}
]
}
]
}
},
"styles": {
"color": {
2024-05-08 10:46:26 +00:00
"background": "var(--wp--preset--color--background)",
2024-05-08 10:48:40 +00:00
"text": "var(--wp--preset--color--contrast)"
2024-05-08 09:26:54 +00:00
},
"typography": {
2024-05-09 11:23:59 +00:00
"fontFamily": "var(--wp--preset--font-family--inclusive-sans)",
2024-05-08 11:27:41 +00:00
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "400",
"lineHeight": "1.6"
2024-05-08 09:26:54 +00:00
},
"blocks": {
"core/post-title": {
"typography": {
2024-05-08 10:48:40 +00:00
"fontSize": "40px",
"fontWeight": "400"
2024-05-08 11:16:02 +00:00
},
"color": {
2024-06-04 13:38:34 +00:00
"text": "var(--wp--preset--color--contrast)"
2024-05-08 11:16:02 +00:00
}
},
"core/heading": {
"color": {
2024-06-04 13:38:34 +00:00
"text": "var(--wp--preset--color--contrast)"
2024-05-09 12:00:28 +00:00
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700"
2024-05-08 09:26:54 +00:00
}
2024-05-08 11:36:42 +00:00
},
"core/buttons": {
2024-05-13 10:04:02 +00:00
"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) }"
},
2024-05-08 11:36:42 +00:00
"core/button": {
"css": "",
"variations": {
2024-05-11 17:30:01 +00:00
"fill": {
"color": {
2024-06-04 13:38:34 +00:00
"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"
}
2024-05-11 17:30:01 +00:00
}
},
"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"
}
2024-05-08 11:36:42 +00:00
}
}
2024-05-09 09:31:24 +00:00
},
2024-05-13 10:59:52 +00:00
"core/list-item": {
"css": "&::marker { color: var(--wp--preset--color--main-green); }",
"spacing": {
"padding": {
"top": "0.67rem",
"bottom": "0.67rem"
}
}
},
2024-05-09 09:31:24 +00:00
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
2024-05-09 11:52:28 +00:00
"width": "0 0 3px 0"
2024-05-09 09:31:24 +00:00
},
"color": {
2024-06-04 13:38:34 +00:00
"text": "var(--wp--preset--color--main-green)"
2024-05-09 09:31:24 +00:00
}
}
2024-05-08 09:26:54 +00:00
},
"elements": {
"h1": {
"typography": {
2024-05-08 10:48:40 +00:00
"fontSize": "40px",
"fontWeight": "400"
2024-05-08 09:26:54 +00:00
}
},
"h2": {
"typography": {
2024-05-08 10:48:40 +00:00
"fontSize": "24px",
2024-05-08 09:26:54 +00:00
"fontWeight": "400"
}
},
"link": {
":visited": {
"color": {
2024-05-08 10:46:26 +00:00
"text": "var(--wp--preset--color--washed-green)"
2024-05-08 09:26:54 +00:00
}
},
":hover": {
2024-05-13 10:05:12 +00:00
"typography": {
"textDecoration": "underline"
},
2024-05-08 09:26:54 +00:00
"color": {
2024-05-08 10:46:26 +00:00
"text": "var(--wp--preset--color--washed-green)"
2024-05-08 09:26:54 +00:00
}
}
}
}
2024-05-13 10:42:42 +00:00
},
"customTemplates": [
{
"name": "page-brochure",
"postTypes": [
"page"
],
"title": "Brochure"
}
]
2024-05-08 09:26:54 +00:00
}