Entry: add theme (#7195)

* Add entry theme

Theme created by @beafialho

* Bump stylesheet version

* add showcase URL

* Remove "theme" attribute from template

* Compress big image files

Lossless compression had a minimal effect, but it's worth a try.

* Fix typo

* Change initial release version to 1.0.0
This commit is contained in:
Vicente Canales 2023-07-04 17:59:10 -04:00 committed by GitHub
parent 99af67f614
commit fe96f6aa3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 1141 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

60
entry/functions.php Normal file
View file

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

15
entry/parts/footer.html Normal file
View file

@ -0,0 +1,15 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:3vw;padding-left:3vw"><!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;padding-top:8vh;padding-right:8vw;padding-bottom:8vh;padding-left:8vw"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"bottom"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:site-tagline /--></div>
<!-- /wp:group -->
<!-- wp:paragraph {"style":{"typography":{"fontSize":"12px"}}} -->
<p style="font-size:12px">Designed with <a rel="nofollow" href="https://wordpress.org">WordPress</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

26
entry/parts/header.html Normal file
View file

@ -0,0 +1,26 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60","top":"var:preset|spacing|60","right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group">
<!-- wp:site-logo {"width":64} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}}} -->
<div class="wp-block-group">
<!-- wp:site-title /-->
<!-- wp:site-tagline /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -0,0 +1,9 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:post-author {"showAvatar":false,"fontSize":"small"} /-->
<!-- wp:post-terms {"term":"category","fontSize":"small"} /-->
<!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

16
entry/patterns/404.php Normal file
View file

@ -0,0 +1,16 @@
<?php
/**
* Title: A 404 page
* Slug: entry/404
* Inserter: no
*/
?>
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'entry' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'entry' ); ?></p>
<!-- /wp:paragraph -->

33
entry/patterns/footer.php Normal file
View file

@ -0,0 +1,33 @@
<?php
/**
* Title: Default footer
* Slug: entry/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'entry' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'entry' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,10 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: entry/hidden-no-results-content
* Inserter: no
*/
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'entry' ); ?></p>
<!-- /wp:paragraph -->

32
entry/readme.txt Normal file
View file

@ -0,0 +1,32 @@
=== Entry ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Entry is a uniquely styled WordPress block theme designed for journaling. It features a grid layout and blocky layout for posts, with every element contained in squared or rectangular shapes. Its impactful design is sure to make a statement, while its customizable templates offer a range of options for creating a truly unique journaling experience.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Entry WordPress Theme, (C) 2023 Automattic
Entry is distributed under the terms of the GNU GPL.
Entry is based on Entry (), (C) , [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
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
entry/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

56
entry/style.css Normal file
View file

@ -0,0 +1,56 @@
/*
Theme Name: Entry
Theme URI: https://wordpress.com/theme/entry
Author: Automattic
Author URI: https://automattic.com
Description: Entry is a uniquely styled WordPress block theme designed for journaling. It features a grid layout and blocky layout for posts, with every element contained in squared or rectangular shapes. Its impactful design is sure to make a statement, while its customizable templates offer a range of options for creating a truly unique journaling experience.
Requires at least: 5.8
Tested up to: 6.2
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: entry
Tags: blog, news, portfolio, grid-layout, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, squares, grid
*//*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--background);
border-color: var(--wp--preset--color--secondary);
}
/**
* Currently table styles are only available with 'wp-block-styles'
* theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
* https://github.com/WordPress/gutenberg/issues/45065
*/
.wp-block-table thead {
border-bottom: 3px solid;
}
.wp-block-table tfoot {
border-top: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
padding: var(--wp--preset--spacing--30);
border: 1px solid;
word-break: normal;
}
.wp-block-table figcaption {
font-size: var(--wp--preset--font-size--small);
text-align: center;
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

33
entry/templates/404.html Normal file
View file

@ -0,0 +1,33 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0vw","right":"4vw","bottom":"0vw","left":"4vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:0vw;padding-right:4vw;padding-bottom:0vw;padding-left:4vw"><!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"0","bottom":"0"},"padding":{"top":"8vw","right":"8vw","bottom":"8vw","left":"8vw"}},"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<main class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em;margin-top:0;margin-bottom:0;padding-top:8vw;padding-right:8vw;padding-bottom:8vw;padding-left:8vw"><!-- wp:spacer {"height":"12vh"} -->
<div style="height:12vh" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:heading {"textAlign":"left","level":1,"fontSize":"x-large","anchor":"oops-that-page-can-t-be-found"} -->
<h1 class="wp-block-heading has-text-align-left has-x-large-font-size" id="oops-that-page-can-t-be-found">It looks like nothing was found at this location.</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Maybe try a search?</p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search for journal entries...","style":{"border":{"radius":"4em"}}} /-->
<!-- wp:spacer {"height":"4vh"} -->
<div style="height:4vh" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"4vh","bottom":"4vh"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"bottom"}} -->
<div class="wp-block-group" style="padding-top:4vh;padding-bottom:4vh"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:site-tagline /--></div>
<!-- /wp:group -->
<!-- wp:paragraph {"style":{"typography":{"fontSize":"12px"}}} -->
<p style="font-size:12px">Designed with <a rel="nofollow" href="https://wordpress.org">WordPress</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,59 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"6vh","right":"3vw","bottom":"6vh","left":"3vw"}},"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 6vh;
padding-right: 3vw;
padding-bottom: 6vh;
padding-left: 3vw;
"
>
<!-- wp:query-title {"type":"archive"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:query {"queryId":8,"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"full"} -->
<div class="wp-block-query alignfull">
<!-- wp:post-template -->
<!-- wp:group {"style":{"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"constrained"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="border-radius: 4em"
>
<!-- wp:cover {"dimRatio":0,"overlayColor":"secondary","minHeight":100,"minHeightUnit":"%","contentPosition":"bottom left","style":{"border":{"radius":"4em"},"spacing":{"padding":{"right":"5vw","left":"5vw","bottom":"8vh","top":"8vh"}}},"layout":{"type":"constrained"}} -->
<div
class="wp-block-cover has-custom-content-position is-position-bottom-left"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 5vw;
padding-bottom: 8vh;
padding-left: 5vw;
min-height: 100%;
"
>
<span
aria-hidden="true"
class="wp-block-cover__background has-secondary-background-color has-background-dim-0 has-background-dim"
></span>
<div class="wp-block-cover__inner-container">
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"padding":{"top":"0","bottom":"0"}},"typography":{"fontSize":"1.9em"}}} /-->
</div>
</div>
<!-- /wp:cover -->
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->

View file

@ -0,0 +1,11 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:3vw;padding-left:3vw"><!-- wp:query {"queryId":8,"query":{"perPage":9,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"full"} -->
<div class="wp-block-query alignfull"><!-- wp:post-template -->
<!-- wp:group {"style":{"border":{"radius":"4em"}},"backgroundColor":"secondary","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:4em"><!-- wp:cover {"dimRatio":0,"overlayColor":"secondary","minHeight":100,"minHeightUnit":"%","contentPosition":"bottom left","style":{"border":{"radius":"4em"},"spacing":{"padding":{"right":"5vw","left":"5vw","bottom":"8vh","top":"8vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-left" style="border-radius:4em;padding-top:8vh;padding-right:5vw;padding-bottom:8vh;padding-left:5vw;min-height:100%"><span aria-hidden="true" class="wp-block-cover__background has-secondary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"padding":{"top":"0","bottom":"0"}},"typography":{"fontSize":"1.9em"}}} /--></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,89 @@
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"right":"3vw","left":"3vw"}}}} -->
<main class="wp-block-group" style="padding-right: 3vw; padding-left: 3vw">
<!-- wp:columns -->
<div class="wp-block-columns">
<!-- wp:column {"width":"33.33%","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} -->
<div
class="wp-block-column"
style="
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
flex-basis: 33.33%;
"
>
<!-- wp:post-featured-image {"aspectRatio":"auto","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}},"color":{"duotone":"unset"}}} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis: 66.66%">
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"},"blockGap":"0"}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:spacer {"height":"30px"} -->
<div
style="height: 30px"
aria-hidden="true"
class="wp-block-spacer"
></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"style":{"typography":{"fontSize":"36px"}}} /-->
<!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"default"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"border":{"radius":"4em"},"spacing":{"padding":{"top":"8vh","right":"8vw","bottom":"8vh","left":"8vw"}}},"backgroundColor":"secondary","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div
class="wp-block-group has-secondary-background-color has-background"
style="
border-radius: 4em;
padding-top: 8vh;
padding-right: 8vw;
padding-bottom: 8vh;
padding-left: 8vw;
"
>
<!-- wp:post-navigation-link {"type":"previous","label":"Previous","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /-->
<!-- wp:post-navigation-link {"textAlign":"right","label":"Next","showTitle":true,"arrow":"arrow","style":{"layout":{"selfStretch":"fill"}}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

692
entry/theme.json Normal file
View file

@ -0,0 +1,692 @@
{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#2831ff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ffffff",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#0f0f0f",
"name": "Background",
"slug": "background"
},
{
"color": "#202020",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "620px",
"definitions": {
"constrained": {
"baseStyles": [
{
"rules": {
"float": "left",
"margin-inline-end": "2em",
"margin-inline-start": "0"
},
"selector": " > .alignleft"
},
{
"rules": {
"float": "right",
"margin-inline-end": "0",
"margin-inline-start": "2em"
},
"selector": " > .alignright"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important"
},
"selector": " > .aligncenter"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important",
"max-width": "var(--wp--style--global--content-size)"
},
"selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))"
},
{
"rules": {
"max-width": "var(--wp--style--global--wide-size)"
},
"selector": " > .alignwide"
}
],
"className": "is-layout-constrained",
"name": "constrained",
"slug": "constrained",
"spacingStyles": [
{
"rules": {
"margin-block-start": "0"
},
"selector": " > :first-child:first-child"
},
{
"rules": {
"margin-block-end": "0"
},
"selector": " > :last-child:last-child"
},
{
"rules": {
"margin-block-end": "0"
},
"selector": " > *"
}
]
},
"default": {
"baseStyles": [
{
"rules": {
"float": "left",
"margin-inline-end": "2em",
"margin-inline-start": "0"
},
"selector": " > .alignleft"
},
{
"rules": {
"float": "right",
"margin-inline-end": "0",
"margin-inline-start": "2em"
},
"selector": " > .alignright"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important"
},
"selector": " > .aligncenter"
}
],
"className": "is-layout-flow",
"name": "default",
"slug": "flow",
"spacingStyles": [
{
"rules": {
"margin-block-start": "0"
},
"selector": " > :first-child:first-child"
},
{
"rules": {
"margin-block-end": "0"
},
"selector": " > :last-child:last-child"
},
{
"rules": {
"margin-block-end": "0"
},
"selector": " > *"
}
]
},
"flex": {
"baseStyles": [
{
"rules": {
"align-items": "center",
"flex-wrap": "wrap"
}
},
{
"rules": {
"margin": "0"
},
"selector": " > *"
}
],
"className": "is-layout-flex",
"displayMode": "flex",
"name": "flex",
"slug": "flex"
},
"grid": {
"baseStyles": [
{
"rules": {
"margin": "0"
},
"selector": " > *"
}
],
"className": "is-layout-grid",
"displayMode": "grid",
"name": "grid",
"slug": "grid"
}
},
"wideSize": "1140px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Piazzolla",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/piazzolla_normal_200.ttf"
]
},
{
"fontFamily": "Piazzolla",
"fontStyle": "italic",
"fontWeight": "200",
"src": [
"file:./assets/fonts/piazzolla_italic_200.ttf"
]
},
{
"fontFamily": "Piazzolla",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/piazzolla_italic_600.ttf"
]
},
{
"fontFamily": "Piazzolla",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/piazzolla_normal_600.ttf"
]
}
],
"fontFamily": "Piazzolla",
"slug": "piazzolla"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "4em"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"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)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/cover": {
"css": "{\n aspect-ratio: 1;\n}"
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/paragraph": {
"typography": {
"fontSize": "24px",
"lineHeight": 1.4
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-content": {
"typography": {
"fontSize": "var:preset|font-size|medium"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-featured-image": {
"border": {
"bottom": {
"radius": "4px"
},
"left": {
"radius": "4px"
},
"radius": "4em",
"right": {
"radius": "4px"
},
"top": {
"radius": "4px"
}
},
"spacing": {
"padding": {
"bottom": "var:preset|spacing|30",
"left": "var:preset|spacing|30",
"right": "var:preset|spacing|30",
"top": "var:preset|spacing|30"
}
}
},
"core/post-navigation-link": {
"typography": {
"fontSize": "24px"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontSize": "1.6rem"
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"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": "italic"
}
},
"core/query-pagination-next": {
"typography": {
"fontSize": "var:preset|font-size|medium"
}
},
"core/query-pagination-previous": {
"typography": {
"fontSize": "var:preset|font-size|medium"
}
},
"core/query-title": {
"typography": {
"fontSize": "var:preset|font-size|large"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"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--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "2.6rem",
"fontStyle": "normal",
"fontWeight": "200"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "400",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "2vh",
"padding": {
"bottom": "2em",
"left": "2em",
"right": "2em",
"top": "2em"
}
},
"typography": {
"fontFamily": "var:preset|font-family|piazzolla",
"fontSize": "var:preset|font-size|medium",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}