Twenty Twenty-Three: Bug fixes and improvements for RC1.

Most notably in this update, Twenty Twenty-Three becomes the second default theme to have the “Accessibility Ready” tag.

For a full list of changes being included, see the `twentytwentythree` repository on GitHub: ca662828b7...4ea5d832ec.

Follow up to [54235], [54236], [54312], [54372].

Props mikachan, madhudollu, tahmidulkarim, joen, poena, scruffian, beafialho, colorful-tones, audrasjb, critterverse, luminuu, wildworks, hiyascout, desrosj.
Fixes #56383.

git-svn-id: https://develop.svn.wordpress.org/trunk@54467 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2022-10-11 00:42:28 +00:00
parent 99989afa24
commit 2aa7d57bcd
18 changed files with 609 additions and 370 deletions

View file

@ -21,4 +21,4 @@
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_html_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_html_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->

View file

@ -21,7 +21,7 @@
<div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--40)">
<!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
<div class="wp-block-column">
<!-- wp:group {"style":{"spacing":{"blockGap":"1ch"}},"layout":{"type":"flex"}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group">
<!-- wp:paragraph -->
<p>
@ -41,7 +41,7 @@
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"blockGap":"1ch"}},"layout":{"type":"flex"}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group">
<!-- wp:paragraph -->
<p>
@ -57,7 +57,7 @@
<!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
<div class="wp-block-column">
<!-- wp:group {"style":{"spacing":{"blockGap":"1ch"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group">
<!-- wp:paragraph -->
<p>

View file

@ -2,7 +2,8 @@
Contributors: wordpressdotorg
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.7
Requires PHP: 5.6
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -23,7 +24,7 @@ https://wordpress.org/support/article/twenty-twenty-three-changelog#Version_1.0
== Copyright ==
Twenty Twenty-Three WordPress Theme, (C) 2022 wordpressdotorg
Twenty Twenty-Three WordPress Theme, (C) 2022-2023 WordPress.org
Twenty Twenty-Three is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify

View file

@ -11,5 +11,5 @@ Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
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
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, accessibility-ready
*/

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Aubergine",
"settings": {
"color": {
@ -158,6 +160,15 @@
}
},
"core/post-title": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
}
},
"typography": {
"fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)"
}
@ -180,6 +191,13 @@
}
}
},
"core/query-pagination": {
"border": {
"top": {
"color": "var(--wp--preset--color--primary)"
}
}
},
"core/separator": {
"color": {
"text": "var(--wp--preset--color--primary)"
@ -236,20 +254,23 @@
},
":hover": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
"background": "var(--wp--preset--color--primary)",
"gradient": "none",
"text": "var(--wp--preset--color--secondary)"
}
},
":focus": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
"background": "var(--wp--preset--color--primary)",
"gradient": "none",
"text": "var(--wp--preset--color--secondary)"
}
},
":active": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
"background": "var(--wp--preset--color--primary)",
"gradient": "none",
"text": "var(--wp--preset--color--secondary)"
}
}
},
@ -261,7 +282,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
"text": "var(--wp--preset--color--primary)"
}
}
}
@ -269,7 +290,5 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Block out",
"settings": {
"color": {
@ -73,10 +75,10 @@
},
{
"fluid": {
"max": "14rem",
"max": "7rem",
"min": "4rem"
},
"size": "10rem",
"size": "7rem",
"slug": "xx-large"
}
]
@ -125,6 +127,15 @@
}
},
"core/post-title": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
@ -145,6 +156,21 @@
}
},
"core/site-title": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.1",
@ -153,9 +179,9 @@
},
"core/query": {
"elements": {
"h3": {
"color": {
"text": "var(--wp--preset--color--contrast)"
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
}
@ -194,6 +220,11 @@
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
"fontStyle": "italic",
@ -210,7 +241,5 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Canary",
"settings": {
"color": {
@ -70,6 +72,20 @@
},
"styles": {
"blocks": {
"core/comments": {
"elements": {
"link": {
"typography": {
"textDecoration": "underline"
},
":hover": {
"typography": {
"textDecoration": "none"
}
}
}
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
@ -93,6 +109,20 @@
"textTransform": "lowercase"
}
},
"core/post-content": {
"elements": {
"link": {
"typography": {
"textDecoration": "underline"
},
":hover": {
"typography": {
"textDecoration": "none"
}
}
}
}
},
"core/post-featured-image": {
"border": {
"radius": "100px 0 0 0"
@ -117,6 +147,13 @@
"fontWeight": "700"
}
},
"core/query-pagination": {
"border": {
"top": {
"width": "4px"
}
}
},
"core/separator": {
"border": {
"width": "2px"
@ -142,6 +179,17 @@
"width": "2px"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "2px"
}
},
"border": {
"radius": "5px",
"color": "var(--wp--preset--color--contrast)",
@ -150,6 +198,14 @@
},
"color": {
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "0.667em",
"left": "1.333em",
"right": "1.333em",
"top": "0.667em"
}
}
},
"h1": {
@ -186,7 +242,5 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Electric",
"settings": {
"color": {
@ -89,7 +91,5 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Grapes",
"settings": {
"color": {
@ -86,7 +88,5 @@
}
}
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,305 +1,317 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"title": "Marigold",
"settings": {
"color": {
"palette": [
{
"color": "#F6F2EC",
"name": "Base",
"slug": "base"
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Marigold",
"settings": {
"color": {
"palette": [
{
"color": "#F6F2EC",
"name": "Base",
"slug": "base"
},
{
"color": "#21251F",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#5B4460",
"name": "Primary",
"slug": "primary"
},
{
"color": "#FCC263",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#E7A1A9",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
{
"color": "#21251F",
"name": "Contrast",
"slug": "contrast"
"layout": {
"wideSize": "1200px"
},
{
"color": "#5B4460",
"name": "Primary",
"slug": "primary"
"spacing": {
"spacingSizes": [
{
"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
"name": "1",
"slug": "30"
},
{
"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
"name": "2",
"slug": "40"
},
{
"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
"name": "3",
"slug": "50"
},
{
"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
"name": "4",
"slug": "60"
},
{
"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
"name": "5",
"slug": "70"
},
{
"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
"name": "6",
"slug": "80"
}
]
},
{
"color": "#FCC263",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#E7A1A9",
"name": "Tertiary",
"slug": "tertiary"
"typography": {
"fontSizes": [
{
"size": "clamp(0.875rem, 0.799rem + 0.24vw, 1rem)",
"name": "Tiny",
"slug": "tiny"
},
{
"size": "clamp(1rem, 0.924rem + 0.24vw, 1.125rem)",
"slug": "small"
},
{
"size": "clamp(1.125rem, 1.049rem + 0.24vw, 1.25rem)",
"name": "Normal",
"slug": "normal"
},
{
"size": "clamp(1.25rem, 1.021rem + 0.73vw, 1.625rem)",
"slug": "medium"
},
{
"size": "clamp(1.375rem, 1.07rem + 0.98vw, 1.875rem)",
"slug": "large"
},
{
"size": "clamp(1.75rem, 1.369rem + 1.22vw, 2.375rem)",
"slug": "x-large"
},
{
"size": "clamp(2.125rem, 1.706rem + 1.34vw, 2.813rem)",
"slug": "xx-large"
},
{
"size": "clamp(2.5rem, 1.966rem + 1.71vw, 3.375rem)",
"name": "Huge",
"slug": "huge"
},
{
"size": "clamp(3.375rem, 2.384rem + 3.17vw, 5rem)",
"name": "Gigantic",
"slug": "gigantic"
}
]
}
]
},
"layout": {
"wideSize": "1200px"
},
"spacing": {
"spacingSizes": [
{
"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
"name": "1",
"slug": "30"
},
{
"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
"name": "2",
"slug": "40"
},
{
"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
"name": "3",
"slug": "50"
},
{
"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
"name": "4",
"slug": "60"
},
{
"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
"name": "5",
"slug": "70"
},
{
"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
"name": "6",
"slug": "80"
}
]
},
"typography": {
"fontSizes": [
{
"size": "clamp(0.875rem, 0.799rem + 0.24vw, 1rem)",
"name": "Tiny",
"slug": "tiny"
},
{
"size": "clamp(1rem, 0.924rem + 0.24vw, 1.125rem)",
"slug": "small"
},
{
"size": "clamp(1.125rem, 1.049rem + 0.24vw, 1.25rem)",
"name": "Normal",
"slug": "normal"
},
{
"size": "clamp(1.25rem, 1.021rem + 0.73vw, 1.625rem)",
"slug": "medium"
},
{
"size": "clamp(1.375rem, 1.07rem + 0.98vw, 1.875rem)",
"slug": "large"
},
{
"size": "clamp(1.75rem, 1.369rem + 1.22vw, 2.375rem)",
"slug": "x-large"
},
{
"size": "clamp(2.125rem, 1.706rem + 1.34vw, 2.813rem)",
"slug": "xx-large"
},
{
"size": "clamp(2.5rem, 1.966rem + 1.71vw, 3.375rem)",
"name": "Huge",
"slug": "huge"
},
{
"size": "clamp(3.375rem, 2.384rem + 3.17vw, 5rem)",
"name": "Gigantic",
"slug": "gigantic"
}
]
}
},
"styles": {
"blocks": {
"core/query": {
"spacing": {
"padding": {
"left": "0",
"right": "0"
}
}
},
"core/post-content": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/post-excerpt": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/post-title": {
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"textDecoration": "none"
"blocks": {
"core/comment-author-name": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
"core/query": {
"spacing": {
"padding": {
"left": "0",
"right": "0"
}
}
},
":hover": {
"border": {
"bottom": true
}
"core/post-content": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/post-excerpt": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/post-title": {
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"textDecoration": "none"
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontWeight": "600"
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-pagination": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400"
}
},
"core/quote": {
"elements": {
"cite": {
"typography": {
"fontSize": "1.25rem"
}
}
},
"typography": {
"fontSize": "1.625rem",
"lineHeight": "1.5"
}
},
"core/site-title": {
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
},
"typography": {
"textTransform": "lowercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "1.1"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "600"
}
},
"h5": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600",
"textTransform": "none"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"heading": {
"typography": {
"fontStyle": "italic"
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
":hover": {
"typography": {
"textDecoration": "none"
}
}
},
"button": {
"border": {
"radius": "50px"
},
"color": {
"background": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--tertiary)",
"text": "var(--wp--preset--color--contrast)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
},
":active": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
}
}
}
},
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontWeight": "600"
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-pagination": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
"blockGap": "2.5rem",
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--50)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400"
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "1.5"
}
},
"core/quote": {
"elements": {
"cite": {
"typography": {
"fontSize": "1.25rem"
}
}
},
"typography": {
"fontSize": "1.625rem",
"lineHeight": "1.5"
}
},
"core/site-title": {
"elements": {
"link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
},
"typography": {
"textTransform": "lowercase"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "1.1"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.2"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "600"
}
},
"h5": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600",
"textTransform": "none"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"heading": {
"typography": {
"fontStyle": "italic"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
}
},
"button": {
"border": {
"radius": "50px"
},
"color": {
"background": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--tertiary)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
},
":active": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
}
}
},
"spacing": {
"blockGap": "2.5rem",
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "1.5"
}
},
"version": 2
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Pilgrimage",
"settings": {
"color": {
@ -23,10 +25,25 @@
"name": "Secondary to Primary",
"slug": "secondary-primary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--primary) 0%,var(--wp--preset--color--tertiary) 100%)",
"name": "Tertiary to Secondary",
"slug": "tertiary-secondary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--tertiary) 0%,var(--wp--preset--color--primary) 100%)",
"name": "Tertiary to Primary",
"slug": "tertiary-primary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--base) 0%,var(--wp--preset--color--primary) 350%)",
"name": "Base to Primary",
"slug": "base-primary"
},
{
"gradient": "radial-gradient(circle at 5px 5px,#0c0d0d70 2px,#ffffff00 0px,#ffffff00 0px) 0 0 / 8px 8px, linear-gradient(180deg, var(--wp--preset--color--base) 0%,#000000 200%)",
"name": "Dots",
"slug": "dots"
}
],
"palette": [
@ -65,7 +82,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
}
}
@ -76,7 +93,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "underline"
@ -90,7 +107,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
}
}
@ -135,11 +152,8 @@
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
@ -163,12 +177,17 @@
}
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/post-title": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "underline"
@ -187,11 +206,16 @@
"textDecoration": "underline"
}
}
},
"border": {
"top": {
"color": "var(--wp--preset--color--primary)"
}
}
},
"core/separator": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--secondary)"
}
},
"core/site-title": {
@ -211,7 +235,7 @@
}
},
"color": {
"gradient": "var(--wp--preset--gradient--base-primary)"
"gradient": "var(--wp--preset--gradient--dots)"
},
"elements": {
"button": {
@ -275,22 +299,25 @@
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
"color": {
"text": "var(--wp--preset--color--primary)"
},
":hover": {
"color": {
"text":"var(--wp--preset--color--primary)"
"text":"var(--wp--preset--color--tertiary)"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
":focus": {
"color": {
"text":"var(--wp--preset--color--tertiary)"
}
},
":active": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
}
}
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Pitch",
"settings": {
"color": {
@ -128,6 +130,14 @@
},
"styles": {
"blocks": {
"core/query-pagination": {
"border": {
"top": {
"color": "var(--wp--preset--color--tertiary)",
"width": "4px"
}
}
},
"core/separator": {
"border": {
"color":"var(--wp--preset--color--tertiary)",
@ -231,7 +241,5 @@
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.7"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Whisper",
"settings": {
"color": {
@ -150,6 +152,23 @@
}
}
},
"core/post-date": {
"elements": {
"link": {
":hover": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "none"
}
}
}
}
},
"core/post-title": {
"elements": {
"link": {
@ -202,6 +221,36 @@
}
}
},
"core/query-pagination": {
"border": {
"top": {
"color": "var(--wp--preset--color--contrast)",
"style": "double",
"width": "6px"
}
},
"elements": {
"link": {
":hover": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "none"
}
},
":active": {
"border": {
"color": "var(--wp--preset--color--base)",
"width": "0 0 2px 0"
}
}
}
}
},
"core/separator": {
"border": {
"color": "var(--wp--preset--color--contrast)",
@ -500,7 +549,5 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
}

View file

@ -17,10 +17,6 @@
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var(--wp--preset--spacing--40)"}}}} -->
<hr class="wp-block-separator has-alpha-channel-opacity" style="margin-bottom:var(--wp--preset--spacing--40)"/>
<!-- /wp:separator -->
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->

View file

@ -2,17 +2,24 @@
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-group">
<!-- wp:post-author-biography {"style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} /-->
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-query alignwide">
<!-- wp:post-template -->
<!-- wp:group {"style":{"border":{"top":{"width":"1px"},"right":{"width":"0px","style":"none"},"left":{"width":"0px","style":"none"}},"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="border-top-width:1px;border-right-style:none;border-right-width:0px;border-left-style:none;border-left-width:0px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
<!-- wp:post-date /-->
<!-- wp:post-title /-->
<!-- wp:columns {"verticalAlignment":null,"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-columns" style="border-bottom-width:1px;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
<!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%">
<!-- wp:post-date {"textAlign":"left"} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%">
<!-- wp:post-title /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:group -->
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->

View file

@ -19,10 +19,6 @@
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:separator {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<hr class="wp-block-separator alignwide has-alpha-channel-opacity" style="margin-bottom:var(--wp--preset--spacing--40)"/>
<!-- /wp:separator -->
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->

View file

@ -17,10 +17,6 @@
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var(--wp--preset--spacing--70)"}}}} -->
<hr class="wp-block-separator has-alpha-channel-opacity" style="margin-bottom:var(--wp--preset--spacing--70)"/>
<!-- /wp:separator -->
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->

View file

@ -266,7 +266,10 @@
{
"size": "1.75rem",
"slug": "large",
"fluid": false
"fluid": {
"min": "1.75rem",
"max": "1.875rem"
}
},
{
"size": "2.25rem",
@ -485,7 +488,26 @@
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "1px 0"
},
"elements": {
"cite": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"textTransform": "none"
}
}
},
"typography": {
"lineHeight": "1.3"
},
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--40) !important",
"top": "var(--wp--preset--spacing--40) !important"
}
}
},
"core/query-pagination": {
@ -493,6 +515,17 @@
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400"
},
"spacing": {
"padding": {
"top": "var(--wp--preset--spacing--40)"
}
},
"border": {
"top": {
"width": "2px",
"style": "solid"
}
},
"elements": {
"link": {
"typography": {
@ -509,6 +542,20 @@
"core/quote": {
"border": {
"width": "1px"
},
"elements": {
"cite": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--30)",
"right": "var(--wp--preset--spacing--30)"
}
}
},
"core/site-title": {
@ -590,12 +637,12 @@
},
"h3": {
"typography": {
"fontSize": "2.25rem"
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.75rem, calc(1.75rem + ((1vw - 0.48rem) * 8.4135)), 1.875rem)"
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h5": {