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:
parent
99989afa24
commit
2aa7d57bcd
18 changed files with 609 additions and 370 deletions
|
@ -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"} /-->
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"version": 2,
|
||||
"title": "Marigold",
|
||||
"settings": {
|
||||
"color": {
|
||||
|
@ -115,6 +116,17 @@
|
|||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/comment-author-name": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":active": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/query": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
|
@ -146,11 +158,6 @@
|
|||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
},
|
||||
":hover": {
|
||||
"border": {
|
||||
"bottom": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -253,6 +260,11 @@
|
|||
}
|
||||
},
|
||||
"link": {
|
||||
":active": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
},
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
|
@ -271,7 +283,8 @@
|
|||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--tertiary)"
|
||||
"background": "var(--wp--preset--color--tertiary)",
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
},
|
||||
":focus": {
|
||||
|
@ -300,6 +313,5 @@
|
|||
"fontSize": "var(--wp--preset--font-size--normal)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"version": 2
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)"
|
||||
}
|
||||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"text":"var(--wp--preset--color--primary)"
|
||||
"text":"var(--wp--preset--color--tertiary)"
|
||||
}
|
||||
},
|
||||
":focus": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
}
|
||||
"text":"var(--wp--preset--color--tertiary)"
|
||||
}
|
||||
},
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
":active": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--tertiary)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"} /-->
|
||||
|
|
|
@ -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: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:group -->
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
|
|
|
@ -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"} /-->
|
||||
|
|
|
@ -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"} /-->
|
||||
|
|
53
theme.json
53
theme.json
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue