Compare commits
34 Commits
76d94516e8
...
main
Author | SHA1 | Date | |
---|---|---|---|
d9d8ee7d12 | |||
47d23c0be8 | |||
79a4c6c31f | |||
a4ae66abf5 | |||
4680f0ba83 | |||
c7e5ca8fd8 | |||
15d49c575c | |||
3f5f9e3123 | |||
f09b4d7837 | |||
bdbeaedcf6 | |||
a6c855e479 | |||
56cc3bcf0e | |||
1bb48817de | |||
aa3e2d9365 | |||
d127ffd0d0 | |||
55fdf97225 | |||
e1beab8694 | |||
f33342004c | |||
6d3b7a58a3 | |||
186e2521fe | |||
4d166259b2 | |||
d5c6c356d8 | |||
e536ce5ed6 | |||
45d9eaaddb | |||
5bd555758b | |||
18c6bd422c | |||
8e92cec40f | |||
92e51701d0 | |||
b08eece468 | |||
cf05c380ea | |||
c8e4131ac3 | |||
dbe18296d5 | |||
c5878bc6b1 | |||
067e4002b0 |
32
.drone.yml
Normal file
32
.drone.yml
Normal 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
|
BIN
assets/images/logo-wordmark.png
Normal file
BIN
assets/images/logo-wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
@ -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
@ -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
15
patterns/header.php
Normal 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 -->
|
@ -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 -->
|
@ -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 -->
|
13
templates/page-brochure.html
Normal file
13
templates/page-brochure.html
Normal 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 -->
|
577
theme.json
577
theme.json
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user