Russell: Add a new Blockbase child called Russell (#4838)

* Russell: Add a new Blockbase child called Russell

* remove duplicated values
This commit is contained in:
Ben Dwyer 2021-10-15 08:50:58 +01:00 committed by GitHub
parent 3cf10c225a
commit 9a2a141e8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 4376 additions and 0 deletions

2
russell/assets/theme.css Normal file
View file

@ -0,0 +1,2 @@
/*# sourceMappingURL=theme.css.map */

View file

@ -0,0 +1,7 @@
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} -->
<p class="has-text-align-center" style="font-size:var(--wp--custom--font-sizes--tiny);">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,8 @@
<!-- wp:group {"className":"site-header","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"40px"}}}} -->
<div class="wp-block-group site-header" style="padding-bottom:40px">
<!-- wp:site-logo /-->
<!-- wp:site-title /-->
<!-- wp:site-tagline {"fontSize":"tiny"} /-->
<!-- wp:navigation {"isResponsive":true,"__unstableLocation":"primary"} /-->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,8 @@
<!-- wp:group {"className":"post-meta","layout":{"type":"flex"}} -->
<div class="wp-block-group post-meta">
<!-- wp:post-author {"showAvatar":false,"showBio":false,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-terms {"term": "post_tag","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->

View file

@ -0,0 +1,10 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

View file

@ -0,0 +1,31 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"tagName":"main"} -->
<main class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:query-pagination -->
<div class="wp-block-query-pagination"><!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /--></div>
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

View file

@ -0,0 +1,22 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-title /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-featured-image {"align":"full"} /-->
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:spacer {"height":60} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

View file

@ -0,0 +1,20 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"inherit":true},"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:query -->
<div class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:post-title {"level":5,"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

View file

@ -0,0 +1,28 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-title /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-featured-image {"align":"full"} /-->
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta","layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:spacer {"height":60} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments /-->
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

140
russell/child-theme.json Normal file
View file

@ -0,0 +1,140 @@
{
"$schema": "https:\/\/json.schemastore.org\/theme-v1.json",
"version": 1,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#384143",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#967e7e",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#384143",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#fbf7f7",
"name": "Tertiary"
}
]
},
"custom": {
"separator": {
"margin": "var(--wp--custom--gap--vertical) auto"
}
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"DM Sans\", sans-serif",
"slug": "dm-sans",
"name": "DM Sans",
"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700"
},
{
"fontFamily": "\"Libre Baskerville\", serif",
"slug": "libre-baskerville",
"name": "Libre Baskerville",
"google": "family=Libre+Baskerville:ital,wght@0,400;0,700;1,400"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "28px",
"slug": "large"
},
{
"name": "Huge",
"size": "32px",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core\/button": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"core\/post-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontSize": "var(--wp--preset--font-size--huge)"
}
},
"core\/pullquote": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
}
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
}
}

23
russell/functions.php Normal file
View file

@ -0,0 +1,23 @@
<?php
/**
* Add Editor Styles
*/
function russell_editor_styles() {
// Enqueue editor styles.
add_editor_style(
array(
'/assets/theme.css',
)
);
}
add_action( 'after_setup_theme', 'russell_editor_styles' );
/**
*
* Enqueue scripts and styles.
*/
function russell_scripts() {
wp_enqueue_style( 'russell-styles', get_stylesheet_directory_uri() . '/assets/theme.css', array( 'blockbase-ponyfill' ), wp_get_theme()->get( 'Version' ) );
}
add_action( 'wp_enqueue_scripts', 'russell_scripts' );

0
russell/index.php Normal file
View file

View file

@ -0,0 +1,83 @@
# Copyright (C) 2021 Automattic
# This file is distributed under the GNU General Public License v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Russell 1.2.6\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/russell\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2021-10-08T02:38:26+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.5.0\n"
"X-Domain: russell\n"
#. Theme Name of the theme
msgid "Russell"
msgstr ""
#. Theme URI of the theme
msgid "https://github.com/automattic/themes/tree/trunk/russell"
msgstr ""
#. Description of the theme
msgid "Russell is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles."
msgstr ""
#. Author of the theme
msgid "Automattic"
msgstr ""
#. Author URI of the theme
msgid "https://automattic.com/"
msgstr ""
#: 404.php:11
msgid "Oops! That page can&rsquo;t be found."
msgstr ""
#: 404.php:13
msgid "It looks like nothing was found at this location. Maybe try a search?"
msgstr ""
#: functions.php:36
msgid "Primary Navigation"
msgstr ""
#: inc/customizer/wp-customize-color-palettes.php:79
msgid "Color Scheme"
msgstr ""
#: inc/customizer/wp-customize-color-palettes.php:80
msgid "Choose a color scheme for your website."
msgstr ""
#: inc/customizer/wp-customize-colors.php:98
msgid "Color Customization for %1$s"
msgstr ""
#: inc/customizer/wp-customize-colors.php:99
msgid "Colors"
msgstr ""
#: inc/customizer/wp-customize-fonts.php:294
msgid "Font Customization for %1$s"
msgstr ""
#: inc/customizer/wp-customize-fonts.php:295
msgid "Fonts"
msgstr ""
#: inc/customizer/wp-customize-fonts.php:309
msgid "Reset to Default"
msgstr ""
#: inc/customizer/wp-customize-fonts.php:315
msgid "Body font"
msgstr ""
#: inc/customizer/wp-customize-fonts.php:316
msgid "Heading font"
msgstr ""

3265
russell/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

21
russell/package.json Normal file
View file

@ -0,0 +1,21 @@
{
"name": "russell",
"version": "0.0.1",
"description": "",
"main": "style.css",
"dependencies": {},
"devDependencies": {
"@wordpress/base-styles": "^3.4.0",
"chokidar-cli": "^2.1.0",
"node-sass": "^5.0.0",
"node-sass-package-importer": "^5.3.2"
},
"scripts": {
"start": "chokidar \"**/*.scss\" child-theme.json ../blockbase/theme.json -c \"npm run build\" --initial",
"build": "npm run build:theme && npm run build:scss",
"build:theme": "node ../blockbase/build.js russell",
"build:scss": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js sass/theme.scss assets/theme.css --output-style expanded --indent-type tab --indent-width 1 --source-map true"
},
"author": "",
"license": "GPLv2"
}

53
russell/readme.txt Normal file
View file

@ -0,0 +1,53 @@
=== Russell ===
Contributors: Automattic
Requires at least: 5.7
Tested up to: 5.7.2
Requires PHP: 5.6.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Russell is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
== About Russell ==
For more information see our README.md file.
== Changelog ==
= 1.0 =
* Initial release
== Copyright ==
Russell WordPress Theme, (C) 2021 Automattic, Inc.
Russell is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Russell uses the following third-party resources:
Back View of a Woman Walking on the Seashore by Elina Sazonova
Source: https://www.pexels.com/photo/back-view-of-a-woman-walking-on-the-seashore-2072583/
Included in theme screenshot.
Surfer on the Beach by Jenna Lee
Source: https://unsplash.com/photos/sck2kBTmuKI
Included in theme demo site.
Coffee Cup by Sincerely Media
Source: https://unsplash.com/photos/ZbwC8E8okZE
Included in theme demo site.
Woman on a Swing at a Tropical Beach by Ryan Christodoulou
Source: https://unsplash.com/photos/LDrSJ3cjauY
Included in theme demo site.

2
russell/sass/theme.scss Normal file
View file

@ -0,0 +1,2 @@
// Custom CSS should be added here. It will be compiled to /assets/theme.css.

BIN
russell/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

47
russell/style.css Normal file
View file

@ -0,0 +1,47 @@
/*
Theme Name: Russell
Theme URI: https://github.com/automattic/themes/tree/trunk/russell
Author: Automattic
Author URI: https://automattic.com/
Description: Russell is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
Requires at least: 5.7
Tested up to: 5.7
Requires PHP: 5.7
Version: 1.2.6
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: blockbase
Text Domain: russell
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
Russell WordPress Theme, (C) 2021 Automattic, Inc.
Russell is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Russell uses the following third-party resources:
Back View of a Woman Walking on the Seashore by Elina Sazonova
Source: https://www.pexels.com/photo/back-view-of-a-woman-walking-on-the-seashore-2072583/
Included in theme screenshot.
Surfer on the Beach by Jenna Lee
Source: https://unsplash.com/photos/sck2kBTmuKI
Included in theme demo site.
Coffee Cup by Sincerely Media
Source: https://unsplash.com/photos/ZbwC8E8okZE
Included in theme demo site.
Woman on a Swing at a Tropical Beach by Ryan Christodoulou
Source: https://unsplash.com/photos/LDrSJ3cjauY
Included in theme demo site.
*/

605
russell/theme.json Normal file
View file

@ -0,0 +1,605 @@
{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
}
],
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"border": {
"customColor": true,
"customRadius": true,
"customStyle": true,
"customWidth": true
},
"color": {
"palette": [
{
"slug": "primary",
"color": "#384143",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#967e7e",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#384143",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#fbf7f7",
"name": "Tertiary"
}
]
},
"custom": {
"alignment": {
"alignedMaxWidth": "50%"
},
"button": {
"border": {
"color": "var(--wp--custom--color--primary)",
"radius": "4px",
"style": "solid",
"width": "2px"
},
"color": {
"background": "var(--wp--custom--color--primary)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--background)",
"background": "var(--wp--custom--color--secondary)"
},
"border": {
"color": "var(--wp--custom--color--secondary)"
}
},
"spacing": {
"padding": {
"top": "0.667em",
"bottom": "0.667em",
"left": "1.333em",
"right": "1.333em"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "normal",
"lineHeight": 2
}
},
"color": {
"foreground": "var(--wp--preset--color--foreground)",
"background": "var(--wp--preset--color--background)",
"primary": "var(--wp--preset--color--primary)",
"secondary": "var(--wp--preset--color--secondary)",
"tertiary": "var(--wp--preset--color--tertiary)"
},
"colorPalettes": [
{
"label": "Featured",
"slug": "palette-1",
"colors": {
"primary": "#C8133E",
"secondary": "#4E2F4B",
"foreground": "#1D1E1E",
"background": "#FFFFFF",
"tertiary": "#F9F9F9"
}
},
{
"label": "Featured",
"slug": "palette-2",
"colors": {
"primary": "#35845D",
"secondary": "#233252",
"foreground": "#242527",
"background": "#EEF4F7",
"tertiary": "#F9F9F9"
}
},
{
"label": "Featured",
"slug": "palette-3",
"colors": {
"primary": "#9FD3E8",
"secondary": "#FBE6AA",
"foreground": "#FFFFFF",
"background": "#1F2527",
"tertiary": "#364043"
}
}
],
"fontSizes": {
"tiny": "14px"
},
"form": {
"padding": "calc( 0.5 * var(--wp--custom--gap--horizontal) )",
"border": {
"color": "#EFEFEF",
"radius": "0",
"style": "solid",
"width": "2px"
},
"checkbox": {
"checked": {
"content": "\"\\2715\"",
"fontSize": "var(--wp--custom--font-sizes--tiny)",
"position": {
"left": "3px",
"top": "3px"
},
"sizing": {
"height": "12px",
"width": "12px"
}
},
"unchecked": {
"content": "\"\"",
"position": {
"left": "0",
"top": "0.2em"
},
"sizing": {
"height": "16px",
"width": "16px"
}
}
},
"color": {
"background": "transparent",
"boxShadow": "none",
"text": "var(--wp--custom--color--foreground)"
},
"label": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--baseline)"
}
},
"typography": {
"fontSize": "var(--wp--custom--font-sizes--tiny)",
"fontWeight": "normal",
"letterSpacing": "normal",
"textTransform": "none"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"gallery": {
"caption": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"body": {
"typography": {
"lineHeight": 1.6
}
},
"heading": {
"typography": {
"fontWeight": 400,
"lineHeight": 1.125
}
},
"latest-posts": {
"meta": {
"color": {
"text": "var(--wp--custom--color--primary)"
}
}
},
"layout": {
"contentSize": "620px"
},
"list": {
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
}
}
},
"gap": {
"baseline": "15px",
"horizontal": "min(30px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"paragraph": {
"dropcap": {
"margin": ".1em .1em 0 0",
"typography": {
"fontSize": "110px",
"fontWeight": "400"
}
}
},
"post-author": {
"typography": {
"fontWeight": "normal"
}
},
"post-comment": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "var(--wp--custom--body--typography--line-height)"
}
},
"pullquote": {
"citation": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--tiny)",
"fontFamily": "inherit",
"fontStyle": "italic"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)"
}
}
},
"typography": {
"textAlign": "left"
}
},
"quote": {
"citation": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--tiny)",
"fontStyle": "italic",
"fontWeight": "400"
}
},
"typography": {
"textAlign": "left"
}
},
"separator": {
"opacity": 1,
"width": "150px",
"margin": "var(--wp--custom--gap--vertical) auto"
},
"table": {
"figcaption": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--tiny)"
}
}
},
"video": {
"caption": {
"textAlign": "center",
"margin": "var(--wp--custom--gap--vertical) auto"
}
}
},
"layout": {
"contentSize": "620px",
"wideSize": "1000px"
},
"spacing": {
"blockGap": true,
"customPadding": true,
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"DM Sans\", sans-serif",
"slug": "dm-sans",
"name": "DM Sans",
"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700"
},
{
"fontFamily": "\"Libre Baskerville\", serif",
"slug": "libre-baskerville",
"name": "Libre Baskerville",
"google": "family=Libre+Baskerville:ital,wght@0,400;0,700;1,400"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "28px",
"slug": "large"
},
{
"name": "Huge",
"size": "32px",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "var(--wp--custom--button--border--radius)"
},
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
"lineHeight": "var(--wp--custom--button--typography--line-height)"
}
},
"core/code": {
"border": {
"color": "#CCCCCC",
"radius": "0px",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/post-title": {
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)"
}
},
"core/post-date": {
"color": {
"link": "var(--wp--custom--color--foreground)",
"text": "var(--wp--custom--color--foreground)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "1px 0"
},
"typography": {
"fontStyle": "italic",
"fontSize": "var(--wp--preset--font-size--large)",
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--horizontal)",
"bottom": "var(--wp--custom--gap--horizontal)"
}
}
},
"core/separator": {
"color": {
"text": "var(--wp--custom--color--foreground)"
},
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": 700
}
},
"core/quote": {
"border": {
"color": "var(--wp--custom--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"citation": {
"typography": {
"fontSize": "var(--wp--custom--font-sizes--tiny)",
"fontWeight": "400"
}
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontStyle": "normal"
}
}
},
"color": {
"background": "var(--wp--custom--color--background)",
"text": "var(--wp--custom--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "48px"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "32px"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--large)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--medium)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--normal)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-baskerville)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--small)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--primary)"
}
}
},
"spacing": {
"blockGap": "calc(2 * var(--wp--custom--gap--baseline))"
},
"typography": {
"lineHeight": "var(--wp--custom--body--typography--line-height)",
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
}