Compare commits

...

34 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
10 changed files with 512 additions and 357 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

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,12 +1 @@
<!-- 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},"id":10,"width":"110px","sizeSlug":"full","linkDestination":"custom"} -->
<figure class="wp-block-image size-full is-resized"><a href="/"><img
src="http://localhost:8888/wp-content/uploads/2024/05/logo-wordmark.png" alt="" class="wp-image-10"
style="width:110px" /></a></figure>
<!-- /wp:image -->
<!-- wp:navigation {"ref":6,"style":{"typography":{"fontSize":"18px"}}} /-->
</div>
<!-- /wp:group -->
<!-- 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 -->

View File

@ -1,11 +1,13 @@
<!-- 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":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:0;padding-left:var(--wp--preset--spacing--80)">
<!-- wp:post-content {"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- 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:template-part {"slug":"footer","theme":"lex-scotland-theme"} /-->
</div>
<!-- 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":"lex-scotland-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":"lex-scotland-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,339 +1,430 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"customTemplates": [
{
"name": "page-brochure",
"postTypes": [
"page"
],
"title": "Brochure"
}
],
"settings": {
"useRootPaddingAwareAlignments": 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": {
"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": [
{
"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",
"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"]
}
]
"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": "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"]
}
]
"slug": "atkinson-hyperlegible"
},
{
"fontFamily": "'Overused Grotesk', sans-serif",
"name": "Overused Grotesk",
"slug": "overused-grotesk",
"fontFace": [
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-regular.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-regular.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-italic.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "500",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-medium.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-medium.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "500",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-medium-italic.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-medium-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "300",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-light.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-light.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "300",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-light-italic.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-light-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "600",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-semibold.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-semibold.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "600",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-semibold-italic.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-semibold-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "700",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-bold.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-bold.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "700",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-bold-italic.woff2"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-bold-italic.woff2"
]
},
{
"fontFamily": "Overused Grotesk",
"fontWeight": "800",
"fontStretch": "normal",
"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"]
"src": [
"file:./assets/fonts/overused-grotesk/overused-grotesk-extrabold.woff2"
]
},
{
"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",
"fontStretch": "normal",
"src": ["file:./assets/fonts/overused-grotesk/overused-grotesk-black.woff2"]
"fontWeight": "900",
"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"]
"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)",
"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"
"core/button": {
"color": {
"background": "var(--wp--preset--color--washed-green)",
"text": "var(--wp--preset--color--contrast)"
},
"color": {
"text": "var(--wp--preset--color--main-purple)"
}
},
"core/heading": {
"color": {
"text": "var(--wp--preset--color--main-purple)"
"spacing": {
"padding": {
"bottom": "1em",
"left": "2.5em",
"right": "2.5em",
"top": "1em"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700"
}
},
"core/button": {
"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": {
"top": "1em",
"bottom": "1em",
"left": "2.5em",
"right": "2.5em",
"left": "2.5em"
"top": "1em"
}
},
"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)",
"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-purple)"
}
}
"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": {
@ -349,20 +440,26 @@
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--main-green)"
":hover": {
"typography": {
"textDecoration": "underline"
}
},
":visited": {
"color": {
"text": "var(--wp--preset--color--washed-green)"
"text": "var(--wp--preset--color--main-purple)"
}
},
":hover": {
"color": {
"text": "var(--wp--preset--color--washed-green)"
}
"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"
}
}
}
}