Chanson: Add theme (#7645)

This commit is contained in:
Takashi Irie 2024-02-20 19:58:05 +00:00 committed by GitHub
parent cfaff95d9c
commit 3a632157e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 955 additions and 0 deletions

60
chanson/functions.php Normal file
View file

@ -0,0 +1,60 @@
<?php
/**
* Chanson functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Chanson
* @since Chanson 1.0
*/
declare( strict_types = 1 );
if ( ! function_exists( 'chanson_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Chanson 1.0
*
* @return void
*/
function chanson_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'chanson' );
}
endif;
add_action( 'after_setup_theme', 'chanson_support' );
if ( ! function_exists( 'chanson_styles' ) ) :
/**
* Enqueue styles.
*
* @since Chanson 1.0
*
* @return void
*/
function chanson_styles() {
// Register theme stylesheet.
wp_register_style(
'chanson-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'chanson-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'chanson_styles' );

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"chanson/comments"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"chanson/footer"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"chanson/header-with-biography"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"chanson/header"} /-->

12
chanson/patterns/404.php Normal file
View file

@ -0,0 +1,12 @@
<?php
/**
* Title: A 404 page
* Slug: chanson/404
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:paragraph -->
<p><?php echo esc_html__( '⌇⌇ Oops, this page cannot be found.', 'chanson' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -0,0 +1,66 @@
<?php
/**
* Title: Comments
* slug: chanson/comments
* inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:comments {"className":"wp-block-comments-query-loop "} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:spacer {"height":"70px"} -->
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:comments-title {"level":3,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":24,"style":{"border":{"radius":"999px"}}} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:comment-date {"format":"M j, Y"} /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:0px">
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->

View file

@ -0,0 +1,23 @@
<?php
/**
* Title: Default footer
* Slug: chanson/footer
* Categories: featured, footer
* Block Types: core/template-part/footer
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:paragraph {"align":"right","fontSize":"x-small"} -->
<p class="has-text-align-right has-x-small-font-size"><?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'chanson' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'chanson' ),
$wordpress_link
);?></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,19 @@
<?php
/**
* Title: Default header
* Slug: chanson/header-with-biography
* Categories: featured, header
* Block Types: core/template-part/header
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.1"}},"fontSize":"x-large"} -->
<p class="has-x-large-font-size" style="line-height:1.1"><?php echo esc_html__( 'born in 1915, Edith Piaf was the embodiment of the tragic and the beautiful, a symbol of hope amidst the chaos.', 'chanson' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:site-logo {"width":70} /-->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,15 @@
<?php
/**
* Title: Default header
* Slug: chanson/header
* Categories: featured, header
* Block Types: core/template-part/header
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:site-logo {"width":70} /-->
</div>
<!-- /wp:group -->

31
chanson/readme.txt Normal file
View file

@ -0,0 +1,31 @@
=== Chanson ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Chanson is an homage to Édith Piaf. It is direct and undisguised, echoing a somewhat simpler time when webpages were just hypertext documents—without ornament nor unnecessary adorn, straightforward and classic.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Chanson WordPress Theme, (C) 2023
Chanson 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.

BIN
chanson/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

25
chanson/style.css Normal file
View file

@ -0,0 +1,25 @@
/*
Theme Name: Chanson
Theme URI: https://wordpress.com/theme/chanson/
Author: Automattic
Author URI: https://automattic.com/
Description: Chanson is an homage to Édith Piaf. It is direct and undisguised, echoing a somewhat simpler time when webpages were just hypertext documentswithout ornament nor unnecessary adorn, straightforward and classic.
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chanson
Tags: one-column, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready
*/
/*
* Control the hover stylings of outline block style.
*/
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--primary);
border-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--base);
}

View file

@ -0,0 +1,13 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:pattern {"slug":"chanson/404"} /-->
<!-- wp:spacer {"height":"4rem"} -->
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,39 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:query-title {"type":"archive"} /-->
<!-- wp:query {"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:post-title {"isLink":true} /-->
<!-- wp:spacer {"height":"1rem"} -->
<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-excerpt {"moreText":"— read more","showMoreOnNewLine":false,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} /-->
<!-- wp:spacer {"height":"5rem"} -->
<div style="height:5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:query-pagination {"paginationArrow":"chevron"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,37 @@
<!-- wp:template-part {"slug":"header-with-biography","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:query {"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 {"layout":{"type":"default","columnCount":3}} -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:spacer {"height":"16px"} -->
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"left"}} /-->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} /-->
<!-- wp:spacer {"height":"5rem"} -->
<div style="height:5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:query-pagination {"paginationArrow":"chevron"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,21 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group">
<!-- wp:post-title /-->
<!-- wp:post-featured-image {"style":{"spacing":{"margin":{"top":"1rem"}}}} /-->
<!-- wp:spacer {"height":"1rem"} -->
<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained","justifyContent":"left"}} /-->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,39 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:query-title {"type":"search"} /-->
<!-- wp:query {"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:post-title {"isLink":true} /-->
<!-- wp:spacer {"height":"1rem"} -->
<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-excerpt {"moreText":"— read more","showMoreOnNewLine":false,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} /-->
<!-- wp:spacer {"height":"5rem"} -->
<div style="height:5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:query-pagination {"paginationArrow":"chevron"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,25 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group">
<!-- wp:post-title /-->
<!-- wp:post-featured-image {"style":{"spacing":{"margin":{"top":"1rem"}}}} /-->
<!-- wp:spacer {"height":"1rem"} -->
<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained","justifyContent":"left"}} /-->
</div>
<!-- /wp:group -->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} /-->
<!-- wp:template-part {"slug":"comments"} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

526
chanson/theme.json Normal file
View file

@ -0,0 +1,526 @@
{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Base",
"slug": "base"
},
{
"color": "#00cf86",
"name": "Primary",
"slug": "primary"
},
{
"color": "#111111",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#878787",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "650px"
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "1",
"size": "0.44rem",
"slug": "20"
},
{
"name": "2",
"size": "0.67rem",
"slug": "30"
},
{
"name": "3",
"size": "1rem",
"slug": "40"
},
{
"name": "4",
"size": "1.5rem",
"slug": "50"
},
{
"name": "4",
"size": "min(2.25rem, 6.5vw)",
"slug": "60"
},
{
"name": "5",
"size": "min(3.38rem, 7vw)",
"slug": "70"
},
{
"name": "6",
"size": "min(5.06rem, 7.5vw)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "serif",
"name": "Serif",
"slug": "serif"
}
],
"fontSizes": [
{
"fluid": {
"max": "1rem",
"min": "0.75rem"
},
"name": "Tiny",
"size": "0.9rem",
"slug": "x-small"
},
{
"fluid": false,
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": false,
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": false,
"name": "Large",
"size": "1.37rem",
"slug": "large"
},
{
"fluid": {
"max": "2.25rem",
"min": "1.75rem"
},
"name": "Extra Large",
"size": "2rem",
"slug": "x-large"
},
{
"fluid": {
"max": "3rem",
"min": "2.25rem"
},
"name": "Huge",
"size": "2.25rem",
"slug": "xx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/code": {
"border": {
"color": "var(--wp--preset--color--secondary)",
"radius": "2px",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "700"
}
},
"core/comment-content": {
"css": "& p{margin-top: 8px;margin-bottom:0;} & p+p{margin-top:var(--wp--preset--spacing--50)}",
"typography": {
"fontStyle": "italic"
}
},
"core/comment-date": {
"elements": {
"link": {
"color": {
"text":"var(--wp--preset--color--tertiary)"
}
}
},
"color": {
"text":"var(--wp--preset--color--tertiary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"css":"& .comment-reply-link{display:block;}",
"elements": {
"link": {
"spacing": {
"margin":{
"top":"0.5rem"
}
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textDecoration": "underline"
}
},
"core/comments-title": {
"spacing": {
"margin": {
"top": "0"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"textTransform":"lowercase"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--30)",
"left": "0",
"right": "0",
"top": "var(--wp--preset--spacing--70)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/post-content": {
"elements": {
"link": {
"typography": {
"textDecoration": "underline"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "lowercase"
}
},
"core/post-title": {
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"textTransform": "lowercase"
}
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "2px"
},
"elements": {
"cite": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal"
}
}
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal"
}
},
"core/query-title": {
"typography": {
"fontWeight": "300"
}
},
"core/quote": {
"border": {
"style": "solid",
"width": "0 0 0 4px"
},
"elements": {
"cite": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-mono)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "700",
"textDecoration": "none",
"textTransform": "none"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--secondary)"
},
"elements": {
"button": {
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--base)"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.1"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.1"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "normal"
}
},
"heading": {
"typography": {
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.6",
"textTransform": "none"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--60)",
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--serif)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "header",
"name": "header-with-biography",
"title": "Header with Biography"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
},
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}