Compare commits

...

71 Commits

Author SHA1 Message Date
d9d8ee7d12 fix typo
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 14:14:55 +05:00
47d23c0be8 register pattern category with correct slug
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 14:14:37 +05:00
79a4c6c31f add full page pattern category
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 14:13:25 +05:00
a4ae66abf5 re-add theme.json schema
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 14:11:12 +05:00
4680f0ba83 add links to footer
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 13:58:45 +05:00
c7e5ca8fd8 update theme.json schema 2024-06-12 13:58:39 +05:00
15d49c575c update theme.json schema
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 12:46:01 +05:00
3f5f9e3123 Localize header image and add alt text
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 09:18:42 +05:00
f09b4d7837 enable customizer
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-12 07:35:52 +05:00
bdbeaedcf6 Add autodeployment for theme to the new.lexscotland.org site
All checks were successful
continuous-integration/drone Build is passing
2024-06-06 10:52:15 -07:00
a6c855e479 import changes from editor 2024-06-05 21:17:15 +05:00
56cc3bcf0e fix thin button style 2024-06-05 21:17:08 +05:00
1bb48817de make links black on hover 2024-06-05 18:40:28 +05:00
aa3e2d9365 make links black pt 2 2024-06-05 18:38:38 +05:00
d127ffd0d0 make links black 2024-06-05 18:36:59 +05:00
55fdf97225 add arrow link style 2024-06-05 18:05:47 +05:00
e1beab8694 tweak thin button style 2024-06-05 17:46:15 +05:00
f33342004c tweak colors and styling 2024-06-04 18:38:34 +05:00
6d3b7a58a3 adjust spacing 2024-05-13 19:27:12 +05:00
186e2521fe nvm don't need !important for constrained styles 2024-05-13 19:00:58 +05:00
4d166259b2 prevent max-width being overridden by wordpress css for constrained style 2024-05-13 18:58:30 +05:00
d5c6c356d8 style mobile menu 2024-05-13 16:45:08 +05:00
e536ce5ed6 add constrained style for list items 2024-05-13 16:39:22 +05:00
45d9eaaddb add constrained paragraph style 2024-05-13 16:36:25 +05:00
5bd555758b style list items 2024-05-13 15:59:52 +05:00
18c6bd422c tweak front page template 2024-05-13 15:56:31 +05:00
8e92cec40f create custom page template 2024-05-13 15:42:42 +05:00
92e51701d0 create default page template 2024-05-13 15:35:11 +05:00
b08eece468 add link hover style 2024-05-13 15:05:12 +05:00
cf05c380ea tweak outline button hover style 2024-05-13 15:04:02 +05:00
c8e4131ac3 add hover effect to outline button style 2024-05-13 14:59:25 +05:00
dbe18296d5 add hover effect to thin button 2024-05-13 14:42:15 +05:00
c5878bc6b1 style default button 2024-05-11 22:30:01 +05:00
067e4002b0 Add 'thin' button style 2024-05-11 22:27:56 +05:00
76d94516e8 scope button styles to "outline" variation 2024-05-11 22:02:22 +05:00
8ba1d7c8ac tweak home page spacing 2024-05-11 21:58:22 +05:00
4354d31e57 fix footer alignment on mobile 2024-05-11 21:58:13 +05:00
03cfc94201 use image instead of site logo in header 2024-05-11 21:21:13 +05:00
e229268902 adjust footer spacing 2024-05-10 10:04:46 +05:00
5eb38f009a tweak spacing in front page template 2024-05-09 17:19:29 +05:00
88b9e62b9b adjust wide content width 2024-05-09 17:16:15 +05:00
f503b6aad2 add padding to content block 2024-05-09 17:12:14 +05:00
8bc7966503 update content width 2024-05-09 17:08:38 +05:00
229359b5ea tweak front page template 2024-05-09 17:07:02 +05:00
c5bad76bfb change type scale 2024-05-09 17:04:33 +05:00
b2b8664e4c restyle headings 2024-05-09 17:00:28 +05:00
fad43e5d4d tweak separator style 2024-05-09 16:52:28 +05:00
af48743b5b Add dark green variant 2024-05-09 16:50:00 +05:00
9c3d19d599 fix typo 2024-05-09 16:46:25 +05:00
12e7f6a174 tweak button style 2024-05-09 16:44:11 +05:00
9477b07c24 create footer 2024-05-09 16:43:09 +05:00
9d644a21f5 add light color variants 2024-05-09 16:42:11 +05:00
23d28b83df tweak button typography 2024-05-09 16:39:16 +05:00
c8ad4ebee7 use css var for body text style 2024-05-09 16:23:59 +05:00
20e3ac6cfc tweak button typography 2024-05-09 16:23:22 +05:00
8822dc0f3e fix typo 2024-05-09 16:21:05 +05:00
f6fb2d87e4 fix typo 2024-05-09 16:11:02 +05:00
de01295aa1 add atkinson hyperlegible font 2024-05-09 16:10:40 +05:00
4bdd043d87 create header 2024-05-09 14:49:07 +05:00
abc178cf80 create front page template 2024-05-09 14:38:28 +05:00
decb995edc style separator block 2024-05-09 14:31:24 +05:00
577a0cdc5c standardize font size slugs 2024-05-09 14:26:03 +05:00
306e407f1f fix broken template parts in index 2024-05-08 21:08:17 +05:00
c70743527a fix font sizes and button style 2024-05-08 16:45:22 +05:00
cd2ffbd4e4 define default button style 2024-05-08 16:36:42 +05:00
fb2631cd03 define default body text style 2024-05-08 16:27:41 +05:00
bec4286a37 define heading colors 2024-05-08 16:16:02 +05:00
7ee58f32f6 add font size presets 2024-05-08 16:13:31 +05:00
e57475e333 set default typography settings 2024-05-08 15:48:40 +05:00
1fdbbd5dcd define default text and bg colors 2024-05-08 15:46:26 +05:00
ca1d1b108f define fonts 2024-05-08 15:37:41 +05:00
16 changed files with 586 additions and 245 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
---
kind: pipeline
name: deploy main branch to new.lexscotland.org
steps:
- name: php syntax check
image: php:8.2.19-cli
commands:
- for f in $(find /drone -name '*.php'); do php -l "$f"; done
# If a custom block is in use, uncomment this (and make sure package.json
# includes `scripts.build`, and change the `depends_on` below
# - name: compile custom block
# image: node:18.18.2
# commands:
# - npm install
# - npm run build
# depends_on:
# - php syntax check
- name: docker cp deploy (new)
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
settings:
host: smol-wp.autonomic.zone
service: new_lexscotland_org_app
source: .
exec_pre: rm -rf /var/www/html/wp-content/themes/lex-scotland-theme/*
dest: /var/www/html/wp-content/themes/lex-scotland-theme
deploy_key:
from_secret: drone_ssh_smol-wp.autonomic.zone
depends_on:
- php syntax check
when:
branch:
- main

View File

@ -1,15 +0,0 @@
/* inclusive-sans-italic */
@font-face {
font-family: Inclusive Sans;
font-style: italic;
font-weight: 400;
src: local("Inclusive Sans Italic"), local("InclusiveSans-Italic"), url(inclusive-sans-italic.woff2) format("woff2");
}
/* inclusive-sans-regular */
@font-face {
font-family: Inclusive Sans;
font-style: normal;
font-weight: 400;
src: local("Inclusive Sans Regular"), local("InclusiveSans-Regular"), url(inclusive-sans-regular.woff2) format("woff2");
}

View File

@ -1,99 +0,0 @@
/* overused-grotesk-semibold-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 400;
src: local("Overused Grotesk SemiBold Italic"), local("OverusedGrotesk-SemiBoldItalic"), url(overused-grotesk-semibold-italic.woff2) format("woff2");
}
/* overused-grotesk-semibold */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 400;
src: local("Overused Grotesk SemiBold"), local("OverusedGrotesk-SemiBold"), url(overused-grotesk-semibold.woff2) format("woff2");
}
/* overused-grotesk-regular */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 400;
src: local("Overused Grotesk Regular"), local("OverusedGrotesk-Regular"), url(overused-grotesk-regular.woff2) format("woff2");
}
/* overused-grotesk-medium-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 500;
src: local("Overused Grotesk Medium Italic"), local("OverusedGrotesk-MediumItalic"), url(overused-grotesk-medium-italic.woff2) format("woff2");
}
/* overused-grotesk-medium */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 500;
src: local("Overused Grotesk Medium"), local("OverusedGrotesk-Medium"), url(overused-grotesk-medium.woff2) format("woff2");
}
/* overused-grotesk-light-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 300;
src: local("Overused Grotesk Light Italic"), local("OverusedGrotesk-LightItalic"), url(overused-grotesk-light-italic.woff2) format("woff2");
}
/* overused-grotesk-light */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 300;
src: local("Overused Grotesk Light"), local("OverusedGrotesk-Light"), url(overused-grotesk-light.woff2) format("woff2");
}
/* overused-grotesk-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 400;
src: local("Overused Grotesk Italic"), local("OverusedGrotesk-Italic"), url(overused-grotesk-italic.woff2) format("woff2");
}
/* overused-grotesk-extrabold-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 400;
src: local("Overused Grotesk ExtraBold Italic"), local("OverusedGrotesk-ExtraBoldItalic"), url(overused-grotesk-extrabold-italic.woff2) format("woff2");
}
/* overused-grotesk-extrabold */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 400;
src: local("Overused Grotesk ExtraBold"), local("OverusedGrotesk-ExtraBold"), url(overused-grotesk-extrabold.woff2) format("woff2");
}
/* overused-grotesk-bold-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 700;
src: local("Overused Grotesk Bold Italic"), local("OverusedGrotesk-BoldItalic"), url(overused-grotesk-bold-italic.woff2) format("woff2");
}
/* overused-grotesk-bold */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 700;
src: local("Overused Grotesk Bold"), local("OverusedGrotesk-Bold"), url(overused-grotesk-bold.woff2) format("woff2");
}
/* overused-grotesk-black-italic */
@font-face {
font-family: Overused Grotesk;
font-style: italic;
font-weight: 900;
src: local("Overused Grotesk Black Italic"), local("OverusedGrotesk-BlackItalic"), url(overused-grotesk-black-italic.woff2) format("woff2");
}
/* overused-grotesk-black */
@font-face {
font-family: Overused Grotesk;
font-style: normal;
font-weight: 900;
src: local("Overused Grotesk Black"), local("OverusedGrotesk-Black"), url(overused-grotesk-black.woff2) format("woff2");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -8,3 +8,75 @@ function custom_stylesheet() {
}
add_action( 'wp_enqueue_scripts', 'custom_stylesheet' );
add_action( 'init', 'lex_scotland_block_styles');
function lex_scotland_block_styles() {
register_block_style( 'core/button', array(
'name' => 'thin',
'label' => __( 'Thin', 'lex-scotland' ),
'inline_style' => '
.wp-block-button.is-style-thin .wp-element-button {
padding: 8px 16px;
background: var(--wp--preset--color--washed-green);
color: var(--wp--preset--color--contrast);
border-radius: 0;
font-size: var(--wp--preset--font-size--small);
border: 1px solid var(--wp--preset--color--washed-green);
font-weight: 400;
}
.wp-block-button.is-style-thin .wp-element-button:hover {
border: 1px dashed;
}
'
) );
register_block_style( 'core/paragraph', array(
'name' => 'arrow-link',
'label' => __( 'Arrow link', 'lex-scotland' ),
'inline_style' => '
p.is-style-arrow-link a:after {
display: inline-block;
content: "🡭";
padding-inline-start: 0.25rem;
vertical-align: middle;
}
'
) );
register_block_style( 'core/paragraph', array(
'name' => 'constrained',
'label' => __( 'Constrained', 'lex-scotland' ),
'inline_style' => '
p.is-style-constrained {
max-width: 50ch;
}
'
) );
register_block_style( 'core/list-item', array(
'name' => 'constrained',
'label' => __( 'Constrained', 'lex-scotland' ),
'inline_style' => '
li.is-style-constrained {
max-width: 50ch;
}
'
) );
}
// enable customizer
add_action( 'customize_register', '__return_true' );
// add full page pattern category
function lexscotland_pattern_categories() {
register_block_pattern_category(
'lexscotland_page',
array(
'label' => _x( 'Pages', 'Block pattern category', 'lexscotland' ),
'description' => __( 'A collection of full page layouts.', 'lexscotland' ),
)
);
}
add_action( 'init', 'lexscotland_pattern_categories' );

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1 @@
<!-- wp:navigation -->
<!-- wp:navigation-link {"label":"index","url":"https://localhost:8080/", "className": "bread-crumb"} -->
<!-- /wp:navigation-link -->
<!-- /wp:navigation -->
<!-- wp:pattern {"slug":"/header"} /-->

15
patterns/header.php Normal file
View File

@ -0,0 +1,15 @@
<?php
/**
* Title: header
* Slug: /header
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"border":{"bottom":{"color":"var:preset|color|main-purple","width":"3px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--main-purple);border-bottom-width:3px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--70)"><!-- wp:image {"lightbox":{"enabled":false},"width":"110px","sizeSlug":"large","linkDestination":"custom"} -->
<figure class="wp-block-image size-large is-resized"><a href="/"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/logo-wordmark.png" alt="Lex Scotland: Living, Leading, Changing" style="width:110px"/></a></figure>
<!-- /wp:image -->
<!-- wp:navigation {"overlayBackgroundColor":"background","overlayTextColor":"main-purple","layout":{"type":"flex","justifyContent":"left"},"style":{"typography":{"fontSize":"18px"}}} /--></div>
<!-- /wp:group -->

13
templates/front-page.html Normal file
View File

@ -0,0 +1,13 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<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"}} -->
<div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:spacer {"width":"145px","style":{"layout":{"flexSize":"145px","selfStretch":"fixed"}}} -->
<div style="height:100px;width:145px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /--></div>
<!-- /wp:group -->

View File

@ -1,60 +1,16 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"16px"} -->
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"header","theme":"sample-wp-block-theme", "tagName":"header"} /-->
<!-- wp:heading {"textAlign":"left","level":1} -->
<h1 class="wp-block-heading has-text-align-left">
Rutherford Craze is a type designer and developer interested in visual
systems, technology, and tools.
</h1>
<!-- /wp:heading -->
<!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:navigation-link {"label":"About","url":"https://localhost:8080/about","className":"curly-braced"} /-->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:navigation-link {"label":"Now","url":"https://localhost:8080/now","className":"curly-braced"} /-->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:navigation-link {"label":"Links","url":"https://localhost:8080/links","className":"curly-braced"} /--></div>
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","theme":"lex-scotland-theme","tagName":"header"} /-->
<!-- 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">
<!-- wp:spacer {"width":"70px","style":{"layout":{"flexSize":"70px","selfStretch":"fixed"}}} -->
<div style="height:100px;width:70px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"16px"} -->
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:heading -->
<h2 class="wp-block-heading">Work</h2>
<!-- /wp:heading -->
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-group"><!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-title {"level":3,"isLink":true,"className":"curly-braced"} /--></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-date {"textAlign":"right","format":"M Y"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:spacer {"height":"400px"} -->
<div style="height:400px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"footer","theme":"sample-wp-block-theme"} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"lex-scotland-theme"} /-->
</div>
<!-- /wp:group -->

View File

@ -0,0 +1,13 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<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"}} -->
<div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:spacer {"width":"70px","style":{"layout":{"flexSize":"70px","selfStretch":"fixed"}}} -->
<div style="height:100px;width:70px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /--></div>
<!-- /wp:group -->

View File

@ -1,117 +1,465 @@
{
"version": 2,
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"customTemplates": [
{
"name": "page-brochure",
"postTypes": [
"page"
],
"title": "Brochure"
}
],
"settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true,
"layout": {
"contentSize": "1198",
"wideSize": "1368"
},
"color": {
"defaultGradients": false,
"defaultPalette": false,
"palette": [
{
"slug": "background",
"color": "#FFFAFA",
"name": "Background"
"name": "Background",
"slug": "background"
},
{
"slug": "contrast",
"color": "#000000",
"name": "Contrast"
"name": "Contrast",
"slug": "contrast"
},
{
"slug": "main-purple",
"color": "#722668",
"name": "Main Purple"
"name": "Main Purple",
"slug": "main-purple"
},
{
"slug": "washed-purple",
"color": "#D0A7C0",
"name": "Washed Purple"
"name": "Washed Purple",
"slug": "washed-purple"
},
{
"slug": "main-green",
"color": "#008D62",
"name": "Main Green"
},
"color": "#E8BFE2",
"name": "Light Purple",
"slug": "light-purple"
},
{
"color": "#008D62",
"name": "Main Green",
"slug": "main-green"
},
{
"color": "#006949",
"name": "Dark Green",
"slug": "dark-green"
},
{
"slug": "washed-green",
"color": "#A1D7D2",
"name": "Washed Green"
"name": "Washed Green",
"slug": "washed-green"
},
{
"color": "#D1F2EF",
"name": "Light Green",
"slug": "light-green"
}
]
},
"layout": {
"contentSize": "1239px",
"wideSize": "1660px"
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "Inter, sans-serif",
"name": "Inter",
"slug": "inter",
"fontFace": [
{
"fontFamily": "Inter",
"fontWeight": "400",
"fontStyle": "normal",
"fontFamily": "Inclusive Sans",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inter_normal_400.ttf"]
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/inclusive-sans/inclusive-sans-regular.woff2"
]
},
{
"fontFamily": "Inter",
"fontWeight": "700",
"fontStyle": "normal",
"fontFamily": "Inclusive Sans",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inter_normal_700.ttf"]
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/inclusive-sans/inclusive-sans-italic.woff2"
]
}
]
],
"fontFamily": "'Inclusive Sans', sans-serif",
"name": "Inclusive Sans",
"slug": "inclusive-sans"
},
{
"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",
"name": "Atkinson Hyperlegible",
"slug": "atkinson-hyperlegible"
},
{
"fontFace": [
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-regular.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-medium.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-medium-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/overused-grotesk/overused-light.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-light-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-semibold.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-semibold-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-bold.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-bold-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-extrabold.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "800",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-extrabold-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "900",
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-black.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"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": {
"color": {
"background": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "Inter"
},
"blocks": {
"core/post-title": {
"core/button": {
"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": {
"fontSize": "30px",
"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": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700"
}
},
"core/list-item": {
"css": "&::marker { color: var(--wp--preset--color--main-green); }",
"spacing": {
"padding": {
"bottom": "0.67rem",
"top": "0.67rem"
}
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "40px",
"fontWeight": "400"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 3px 0"
},
"color": {
"text": "var(--wp--preset--color--main-green)"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"h1": {
"typography": {
"fontSize": "30px",
"fontWeight": "700"
"fontSize": "40px",
"fontWeight": "400"
}
},
"h2": {
"typography": {
"fontSize": "22.5px",
"fontSize": "24px",
"fontWeight": "400"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--text)"
":hover": {
"typography": {
"textDecoration": "underline"
}
},
":visited": {
"color": {
"text": "var(--wp--preset--color--text)"
"text": "var(--wp--preset--color--main-purple)"
}
},
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
"color": {
"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"
}
}
}
}