import changes from editor

This commit is contained in:
Aadil Ayub 2024-06-05 21:17:15 +05:00
parent 56cc3bcf0e
commit a6c855e479
4 changed files with 376 additions and 348 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,16 +1,13 @@
<!-- wp:group {"layout":{"type":"default"}} --> <!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","theme":"lex-scotland-theme","tagName":"header"} /--> <div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> <!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="padding-right:0;padding-left:0"> <div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:spacer {"width":"145px","style":{"layout":{"flexSize":"145px","selfStretch":"fixed"}}} -->
<!-- wp:spacer {"width":"145px","style":{"layout":{"flexSize":"145px","selfStretch":"fixed"}}} --> <div style="height:100px;width:145px" aria-hidden="true" class="wp-block-spacer"></div>
<div style="height:100px;width:145px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer -->
<!-- /wp:spacer -->
<!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--> <!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--></div>
</div> <!-- /wp:group -->
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"lex-scotland-theme"} /--> <!-- wp:template-part {"slug":"footer"} /--></div>
</div>
<!-- /wp:group --> <!-- /wp:group -->

View File

@ -1,16 +1,13 @@
<!-- wp:group {"layout":{"type":"default"}} --> <!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","theme":"lex-scotland-theme","tagName":"header"} /--> <div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> <!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="padding-right:0;padding-left:0"> <div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:spacer {"width":"70px","style":{"layout":{"flexSize":"70px","selfStretch":"fixed"}}} -->
<!-- wp:spacer {"width":"70px","style":{"layout":{"flexSize":"70px","selfStretch":"fixed"}}} --> <div style="height:100px;width:70px" aria-hidden="true" class="wp-block-spacer"></div>
<div style="height:100px;width:70px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer -->
<!-- /wp:spacer -->
<!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--> <!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--></div>
</div> <!-- /wp:group -->
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"lex-scotland-theme"} /--> <!-- wp:template-part {"slug":"footer"} /--></div>
</div>
<!-- /wp:group --> <!-- /wp:group -->

View File

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