Adding theme Didone from @beafialho (#7239)

* Adding theme Didone from @beafialho

* Slight adjustments to patterns; Removed unused comments pattern, started using (and made ajustments to match templates) footer and no results patterns
This commit is contained in:
Jason Crist 2023-07-13 11:35:34 -04:00 committed by GitHub
parent 6ef6a5bf52
commit 665e759123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1282 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

60
didone/functions.php Normal file
View file

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

1
didone/parts/footer.html Normal file
View file

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

7
didone/parts/header.html Normal file
View file

@ -0,0 +1,7 @@
<!-- wp:group {"style":{"spacing":{"blockGap":"10px","padding":{"bottom":"3vh","top":"3vh"}}},"layout":{"type":"constrained","justifyContent":"center"}} -->
<div class="wp-block-group" style="padding-top:3vh;padding-bottom:3vh"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:site-title {"textAlign":"center","style":{"typography":[]},"fontSize":"small"} /-->
<!-- wp:navigation {"hasIcon":false,"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"14px"}},"fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,15 @@
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.32rem"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small","fontFamily":"bodoni-moda"} -->
<p class="has-bodoni-moda-font-family has-small-font-size" style="text-transform:uppercase">Published on</p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"isLink":true,"style":{"typography":[]}} /--></div>
<!-- /wp:group -->
<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.97rem"}}} -->
<p style="font-size:0.97rem"></p>
<!-- /wp:paragraph -->
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"0.94rem"}}} /--></div>
<!-- /wp:group -->

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

@ -0,0 +1,16 @@
<?php
/**
* Title: A 404 page
* Slug: didone/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.', 'didone' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'didone' ); ?></p>
<!-- /wp:paragraph -->

View file

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

View file

@ -0,0 +1,12 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: didone/hidden-no-results-content
* Inserter: no
*/
?>
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center pickles"><?php echo esc_html_x( 'Sorry, but no thing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'didone' ); ?></p>
<!-- /wp:paragraph -->

72
didone/readme.txt Normal file
View file

@ -0,0 +1,72 @@
=== Didone ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Didone is a simple theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles. Use it to build something beautiful.
== Changelog ==
= 0.0.27 =
* Add link styles for post-terms (#7058)
= 0.0.26 =
* Remove table CSS from block canvas theme as it has been addressed in Gutenberg (#6954)
= 0.0.24 =
* Didone: Add no results content to search template (#6860)
= 0.0.23 =
* Remove font-smoothing CSS (#6816)
= 0.0.22 =
* Add home.html template to Didone (#6784)
= 0.0.21 =
* Didone: Add self-closing tag to comments pattern in page template (#6764)
= 0.0.20 =
* Didone: small updates (#6705)
= 0.0.19 =
* Make theme available for translation as much as possible (#6484)
= 0.0.18 =
* Update block canvas styles (#6640)
= 0.0.17 =
* Block canvas: clean up templates (#6620)
== Copyright ==
Didone WordPress Theme, (C) 2022 Automattic
Didone 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.
Bodoni Moda Font
Copyright 2020 The Bodoni Moda Project Authors (https://github.com/indestructible-type)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://indestructibletype.com/Home.html
-- End of Bodoni Moda Font credits --
Ibarra Real Nova Font
Copyright 2007 The Ibarra Real Nova Project Authors (https://github.com/googlefonts/ibarrareal)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: www.octaviopardo.com
-- End of Ibarra Real Nova Font credits --

BIN
didone/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 KiB

35
didone/style.css Normal file
View file

@ -0,0 +1,35 @@
/*
Theme Name: Didone
Theme URI: https://github.com/Automattic/themes/tree/trunk/didone
Author: Automattic
Author URI: https://automattic.com/
Description: Didone draws inspiration from a genre of serif typeface that originated in the 18th century and became the standard style for general-purpose printing. It is bold, straightforward and timeless, designed to bring attention to the content and ideal to those looking to showcase written content elegantly.
Requires at least: 6.0
Tested up to: 6.2.2
Requires PHP: 5.7
Version: 0.0.27
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: didone
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
*/
/*
* 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--base);
border-color: var(--wp--preset--color--secondary);
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

View file

@ -0,0 +1,36 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#3c1020",
"name": "Base",
"slug": "base"
},
{
"color": "#ebc2d1",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ebc2d1",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ebc2d1",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#280915",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Burgundy",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,36 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#202d4f",
"name": "Base",
"slug": "base"
},
{
"color": "#e4e4e4",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#e4e4e4",
"name": "Primary",
"slug": "primary"
},
{
"color": "#4affa8",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#162241",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Late Night",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,36 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#fcf6e9",
"name": "Base",
"slug": "base"
},
{
"color": "#2b2927",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#2b2927",
"name": "Primary",
"slug": "primary"
},
{
"color": "#2b2927",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#fffdf8",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Old Lace",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

36
didone/styles/silver.json Normal file
View file

@ -0,0 +1,36 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#cbcdd3",
"name": "Base",
"slug": "base"
},
{
"color": "#282b30",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#282b30",
"name": "Primary",
"slug": "primary"
},
{
"color": "#282b30",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#e3e3e9",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Silver",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

11
didone/templates/404.html Normal file
View file

@ -0,0 +1,11 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:pattern {"slug":"didone/404"} /-->
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search...","width":75,"widthUnit":"%","align":"center","style":{"border":{"radius":"100px","width":"0px","style":"none"}}} /--></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,31 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
<main class="wp-block-query"><!-- wp:query-title {"type":"archive","textAlign":"center","style":{"spacing":{"margin":{"bottom":"100px"}}},"fontSize":"medium"} /-->
<!-- wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","contentSize":"1200px","wideSize":"1400px"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:post-title {"textAlign":"center","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"79px"} -->
<div style="height:79px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,27 @@
<!-- wp:spacer {"height":"140px"} -->
<div style="height:140px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query {"queryId":1,"query":{"perPage":"20","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
<main class="wp-block-query"><!-- wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","contentSize":"1200px","wideSize":"1400px"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:post-title {"textAlign":"center","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,21 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"65px"} -->
<div style="height:65px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:post-title {"textAlign":"center","style":{"typography":{"fontSize":"6rem"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"15px"} -->
<div style="height:15px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,37 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"search","textAlign":"center","style":{"spacing":{"padding":{"bottom":"100px"}}},"fontSize":"medium"} /--></div>
<!-- /wp:group -->
<!-- wp:query {"queryId":1,"query":{"perPage":"20","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
<main class="wp-block-query"><!-- wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","contentSize":"1200px"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:post-title {"textAlign":"center","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"80px"} -->
<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-no-results -->
<!-- wp:pattern {"slug":"didone/hidden-no-results-content"} /-->
<!-- /wp:query-no-results -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts","style":{"typography":[]},"fontSize":"small"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts","style":{"typography":[]},"fontSize":"small"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,87 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"65px"} -->
<div style="height:65px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:post-title {"textAlign":"center","style":{"typography":{"fontSize":"6rem"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"15px"} -->
<div style="height:15px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:spacer {"height":"15px"} -->
<div style="height:15px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-featured-image /-->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"margin":{"top":"6vh","bottom":"6vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:6vh;margin-bottom:6vh"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"4rem","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-navigation-link {"textAlign":"left","label":"","showTitle":true,"linkLabel":true} /-->
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1rem"}}} -->
<p class="has-text-align-center" style="font-size:1rem"></p>
<!-- /wp:paragraph -->
<!-- wp:post-navigation-link {"textAlign":"right","type":"previous","label":"","showTitle":true,"linkLabel":true} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /-->
<!-- 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":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:comment-author-name /-->
<!-- wp:comment-date {"isLink":false} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:comment-edit-link /-->
<!-- wp:comment-reply-link /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments-form /--></div>
<!-- /wp:comments --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

675
didone/theme.json Normal file
View file

@ -0,0 +1,675 @@
{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#6a8cd0",
"name": "Base",
"slug": "base"
},
{
"color": "#000000",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#000000",
"name": "Primary",
"slug": "primary"
},
{
"color": "#eeeeee",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#85a3de",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "660px",
"wideSize": "1000px"
},
"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": "Bodoni Moda",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/bodoni-moda_normal_400.ttf"
]
},
{
"fontFamily": "Bodoni Moda",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/bodoni-moda_normal_700.ttf"
]
},
{
"fontFamily": "Bodoni Moda",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/bodoni-moda_italic_400.ttf"
]
},
{
"fontFamily": "Bodoni Moda",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/bodoni-moda_italic_700.ttf"
]
}
],
"fontFamily": "Bodoni Moda",
"slug": "bodoni-moda"
},
{
"fontFace": [
{
"fontFamily": "Ibarra Real Nova",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/ibarra-real-nova_normal_400.ttf"
]
},
{
"fontFamily": "Ibarra Real Nova",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/ibarra-real-nova_normal_600.ttf"
]
},
{
"fontFamily": "Ibarra Real Nova",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/ibarra-real-nova_italic_600.ttf"
]
},
{
"fontFamily": "Ibarra Real Nova",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/ibarra-real-nova_italic_400.ttf"
]
}
],
"fontFamily": "Ibarra Real Nova",
"slug": "ibarra-real-nova"
}
],
"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": {
"bottom": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0.07rem"
},
"left": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0.07rem"
},
"radius": "100px",
"right": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0.07rem"
},
"top": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0.07rem"
}
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "-0.04rem",
"textDecoration": "none",
"textTransform": "uppercase"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.03rem"
}
},
"core/comment-content": {
"typography": {
"letterSpacing": "-0.03rem"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "-0.03rem"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "0.9rem"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "0.9rem"
}
},
"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"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/paragraph": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--ibarra-real-nova)",
"fontSize": "1.4rem",
"letterSpacing": "-0.03rem"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "8rem",
"fontStyle": "italic",
"fontWeight": "400",
"letterSpacing": "-0.04rem",
"textTransform": "uppercase"
}
},
"core/post-content": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--ibarra-real-nova)",
"fontSize": "1.4rem",
"letterSpacing": "-0.03rem",
"lineHeight": "1.3"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"fontSize": "1rem",
"textTransform": "uppercase"
}
},
"core/post-navigation-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"fontSize": "var(--wp--preset--font-size--large)",
"letterSpacing": "-0.03rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontSize": "7rem",
"letterSpacing": "-0.3rem",
"lineHeight": "0.9"
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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": {
"fontFamily": "var(--wp--preset--font-family--ibarra-real-nova)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.3",
"textTransform": "none"
}
},
"core/query-pagination": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)",
"letterSpacing": "-0.03rem"
}
},
"core/query-pagination-next": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/query-pagination-previous": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"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": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "0px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"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--contrast)"
}
},
"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": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"fontWeight": "400",
"letterSpacing": "0rem",
"textTransform": "none"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": "a:any-link {\ncursor: auto;\n text-decoration-thickness: .01em !important;\n text-underline-offset: 0.07em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"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--base)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bodoni-moda)"
}
},
"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--bodoni-moda)",
"fontWeight": "400",
"letterSpacing": "-0.1rem",
"lineHeight": "1.1",
"textTransform": "uppercase"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--ibarra-real-nova)",
"fontSize": "var(--wp--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"
}