Twenty Twenty-Three: Bug fixes and improvements for beta 3.
This brings over the latest bug fixes and improvements ahead of WordPress 6.1 beta 3.
For a full list of changes being included, see the `twentytwentythree` repository on GitHub: ac96e8d545...ca662828b7
.
Props mikachan, poena, madhudollu, beafialho, colorful-tones, scruffian, tahmidulkarim, joen, taskotr, zoonini, mayuge, ndiego, collet.
See #56383.
git-svn-id: https://develop.svn.wordpress.org/trunk@54372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a3863c5d6
commit
99989afa24
19 changed files with 280 additions and 153 deletions
14
patterns/hidden-no-results.php
Normal file
14
patterns/hidden-no-results.php
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Hidden No Results Content
|
||||||
|
* Slug: twentytwentythree/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', 'twentytwentythree' ); ?>
|
||||||
|
</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- 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,"buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true} /-->
|
|
@ -49,7 +49,7 @@
|
||||||
</p>
|
</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
<!-- wp:post-author-name {"isLink":true} /-->
|
<!-- wp:post-author {"showAvatar":false} /-->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -115,16 +115,12 @@
|
||||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core/post-author-name": {
|
"core/post-author": {
|
||||||
"elements": {
|
"color": {
|
||||||
"link": {
|
"text": "var(--wp--preset--color--primary)"
|
||||||
"color": {
|
},
|
||||||
"text": "var(--wp--preset--color--primary)"
|
"typography": {
|
||||||
},
|
"fontStyle": "italic"
|
||||||
"typography": {
|
|
||||||
"fontStyle": "italic"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core/post-content": {
|
"core/post-content": {
|
||||||
|
|
|
@ -170,6 +170,11 @@
|
||||||
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
|
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
|
||||||
"fontStyle": "italic",
|
"fontStyle": "italic",
|
||||||
"fontWeight": "400"
|
"fontWeight": "400"
|
||||||
|
},
|
||||||
|
":active": {
|
||||||
|
"color": {
|
||||||
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"h1": {
|
"h1": {
|
||||||
|
|
|
@ -131,8 +131,22 @@
|
||||||
},
|
},
|
||||||
"elements": {
|
"elements": {
|
||||||
"button": {
|
"button": {
|
||||||
|
":hover": {
|
||||||
|
"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": {
|
"border": {
|
||||||
"radius": "5px"
|
"radius": "5px",
|
||||||
|
"color": "var(--wp--preset--color--contrast)",
|
||||||
|
"style": "solid",
|
||||||
|
"width": "2px"
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"text": "var(--wp--preset--color--base)"
|
"text": "var(--wp--preset--color--base)"
|
||||||
|
|
|
@ -34,15 +34,38 @@
|
||||||
"styles": {
|
"styles": {
|
||||||
"elements": {
|
"elements": {
|
||||||
"button": {
|
"button": {
|
||||||
|
"border": {
|
||||||
|
"style": "solid",
|
||||||
|
"width": "2px",
|
||||||
|
"color": "var(--wp--preset--color--contrast)"
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--contrast)",
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
"text": "var(--wp--preset--color--base)"
|
"text": "var(--wp--preset--color--base)"
|
||||||
},
|
},
|
||||||
|
"spacing": {
|
||||||
|
"padding": {
|
||||||
|
"top": ".667em",
|
||||||
|
"right": "1.333em",
|
||||||
|
"bottom": ".667em",
|
||||||
|
"left": "1.333em"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":active": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "underline dotted"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":focus": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "underline dotted"
|
||||||
|
}
|
||||||
|
},
|
||||||
":hover": {
|
":hover": {
|
||||||
"border": {
|
"border": {
|
||||||
"color": "var(--wp--preset--color--contrast)",
|
"color": "var(--wp--preset--color--contrast)",
|
||||||
"style": "solid",
|
"style": "solid",
|
||||||
"width": "1px"
|
"width": "2px"
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--base)",
|
"background": "var(--wp--preset--color--base)",
|
||||||
|
|
|
@ -33,6 +33,17 @@
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
"blocks": {
|
"blocks": {
|
||||||
|
"core/post-comments": {
|
||||||
|
"elements": {
|
||||||
|
"link": {
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "underline dashed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"core/post-date": {
|
"core/post-date": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
|
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
|
||||||
|
@ -44,6 +55,11 @@
|
||||||
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
|
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
|
||||||
"fontStyle": "italic"
|
"fontStyle": "italic"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"core/site-title": {
|
||||||
|
"typography": {
|
||||||
|
"textTransform": "lowercase"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"elements": {
|
"elements": {
|
||||||
|
@ -65,7 +81,7 @@
|
||||||
"link": {
|
"link": {
|
||||||
":hover": {
|
":hover": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"textDecoration": "underline"
|
"textDecoration": "underline dashed"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,32 +38,32 @@
|
||||||
"spacingSizes": [
|
"spacingSizes": [
|
||||||
{
|
{
|
||||||
"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
|
"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
|
||||||
"name": "30",
|
"name": "1",
|
||||||
"slug": "30"
|
"slug": "30"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
|
"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
|
||||||
"name": "40",
|
"name": "2",
|
||||||
"slug": "40"
|
"slug": "40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
|
"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
|
||||||
"name": "50",
|
"name": "3",
|
||||||
"slug": "50"
|
"slug": "50"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
|
"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
|
||||||
"name": "60",
|
"name": "4",
|
||||||
"slug": "60"
|
"slug": "60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
|
"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
|
||||||
"name": "70",
|
"name": "5",
|
||||||
"slug": "70"
|
"slug": "70"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
|
"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
|
||||||
"name": "80",
|
"name": "6",
|
||||||
"slug": "80"
|
"slug": "80"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -202,6 +202,9 @@
|
||||||
"fontSize": "var(--wp--preset--font-size--normal)"
|
"fontSize": "var(--wp--preset--font-size--normal)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"textTransform": "lowercase"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -203,6 +203,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "700"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -213,7 +217,8 @@
|
||||||
"button": {
|
"button": {
|
||||||
":active": {
|
":active": {
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--secondary)"
|
"background": "var(--wp--preset--color--secondary)",
|
||||||
|
"gradient": "none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":focus": {
|
":focus": {
|
||||||
|
|
|
@ -42,37 +42,37 @@
|
||||||
{
|
{
|
||||||
"size": "calc(8px + 1.5625vw)",
|
"size": "calc(8px + 1.5625vw)",
|
||||||
"slug": "20",
|
"slug": "20",
|
||||||
"name": "Tiny"
|
"name": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(12px + 1.5625vw)",
|
"size": "calc(12px + 1.5625vw)",
|
||||||
"slug": "30",
|
"slug": "30",
|
||||||
"name": "Small"
|
"name": "2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(16px + 1.5625vw)",
|
"size": "calc(16px + 1.5625vw)",
|
||||||
"slug": "40",
|
"slug": "40",
|
||||||
"name": "Medium"
|
"name": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(20px + 1.5625vw)",
|
"size": "calc(20px + 1.5625vw)",
|
||||||
"slug": "50",
|
"slug": "50",
|
||||||
"name": "Large"
|
"name": "4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(24px + 1.5625vw)",
|
"size": "calc(24px + 1.5625vw)",
|
||||||
"slug": "60",
|
"slug": "60",
|
||||||
"name": "Extra Large"
|
"name": "5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(28px + 1.5625vw)",
|
"size": "calc(28px + 1.5625vw)",
|
||||||
"slug": "70",
|
"slug": "70",
|
||||||
"name": "2X Large"
|
"name": "6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "calc(32px + 1.5625vw)",
|
"size": "calc(32px + 1.5625vw)",
|
||||||
"slug": "80",
|
"slug": "80",
|
||||||
"name": "3X Large"
|
"name": "7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -145,7 +145,10 @@
|
||||||
"elements": {
|
"elements": {
|
||||||
"button": {
|
"button": {
|
||||||
"border": {
|
"border": {
|
||||||
"radius": "0"
|
"radius": "0",
|
||||||
|
"style": "solid",
|
||||||
|
"width": "2px",
|
||||||
|
"color": "var(--wp--preset--color--primary)"
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--primary)",
|
"background": "var(--wp--preset--color--primary)",
|
||||||
|
@ -153,10 +156,10 @@
|
||||||
},
|
},
|
||||||
"spacing": {
|
"spacing": {
|
||||||
"padding": {
|
"padding": {
|
||||||
"top": "min(1.25rem, 3vw)",
|
"top": "min(1.125rem, 3vw) !important",
|
||||||
"right": "min(2.25rem, 5vw)",
|
"right": "min(2.125rem, 5vw) !important",
|
||||||
"bottom": "min(1.25rem, 3vw)",
|
"bottom": "min(1.125rem, 3vw) !important",
|
||||||
"left": "min(2.25rem, 5vw)"
|
"left": "min(2.125rem, 5vw) !important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
|
@ -166,21 +169,30 @@
|
||||||
"letterSpacing": "0.01em"
|
"letterSpacing": "0.01em"
|
||||||
},
|
},
|
||||||
":hover": {
|
":hover": {
|
||||||
|
"border": {
|
||||||
|
"color": "var(--wp--preset--color--contrast)"
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--contrast)",
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
"text": "var(--wp--preset--color--primary)"
|
"text": "var(--wp--preset--color--tertiary)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":focus": {
|
":focus": {
|
||||||
|
"border": {
|
||||||
|
"color": "var(--wp--preset--color--contrast)"
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--contrast)",
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
"text": "var(--wp--preset--color--primary)"
|
"text": "var(--wp--preset--color--tertiary)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":active": {
|
":active": {
|
||||||
|
"border": {
|
||||||
|
"color": "var(--wp--preset--color--contrast)"
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--contrast)",
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
"text": "var(--wp--preset--color--primary)"
|
"text": "var(--wp--preset--color--tertiary)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,10 +7,9 @@
|
||||||
"duotone": [
|
"duotone": [
|
||||||
{
|
{
|
||||||
"colors": [
|
"colors": [
|
||||||
"rgb(81, 82, 213)",
|
"#FF99FF",
|
||||||
"rgb(121, 238, 196)",
|
"#FFFF99",
|
||||||
"rgb(236, 249, 87)",
|
"#99FFFF"
|
||||||
"rgb(247, 69, 204)"
|
|
||||||
],
|
],
|
||||||
"name": "Default filter",
|
"name": "Default filter",
|
||||||
"slug": "default-filter"
|
"slug": "default-filter"
|
||||||
|
@ -21,6 +20,16 @@
|
||||||
"gradient": "linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--tertiary) 100%)",
|
"gradient": "linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--tertiary) 100%)",
|
||||||
"name": "Primary to Secondary to Tertiary",
|
"name": "Primary to Secondary to Tertiary",
|
||||||
"slug": "primary-secondary-tertiary"
|
"slug": "primary-secondary-tertiary"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gradient": "linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--tertiary) 100%) fixed",
|
||||||
|
"name": "Primary to Secondary to Tertiary Fixed",
|
||||||
|
"slug": "primary-secondary-tertiary-fixed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gradient": "linear-gradient(135deg, var(--wp--preset--color--tertiary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--primary) 100%) fixed",
|
||||||
|
"name": "Tertiary to Secondary to Primary Fixed",
|
||||||
|
"slug": "tertiary-secondary-primary-fixed"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"palette": [
|
"palette": [
|
||||||
|
@ -54,32 +63,47 @@
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontSizes": [
|
"fontSizes": [
|
||||||
{
|
{
|
||||||
|
"fluid": false,
|
||||||
"size": "0.75rem",
|
"size": "0.75rem",
|
||||||
"slug": "x-small"
|
"slug": "x-small"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fluid": {
|
"fluid": {
|
||||||
"min": "0.875rem"
|
"min": "0.875rem",
|
||||||
|
"max": "1rem"
|
||||||
},
|
},
|
||||||
"size": "1rem",
|
"size": "1rem",
|
||||||
"slug": "small"
|
"slug": "small"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fluid": {
|
"fluid": {
|
||||||
"min": "1rem"
|
"min": "1rem",
|
||||||
|
"max": "1.125rem"
|
||||||
},
|
},
|
||||||
"size": "1.125rem",
|
"size": "1.125rem",
|
||||||
"slug": "medium"
|
"slug": "medium"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fluid": {
|
||||||
|
"min": "1.5rem",
|
||||||
|
"max": "1.75rem"
|
||||||
|
},
|
||||||
"size": "1.75rem",
|
"size": "1.75rem",
|
||||||
"slug": "large"
|
"slug": "large"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fluid": {
|
||||||
|
"min": "2rem",
|
||||||
|
"max": "2.25rem"
|
||||||
|
},
|
||||||
"size": "2.25rem",
|
"size": "2.25rem",
|
||||||
"slug": "x-large"
|
"slug": "x-large"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fluid": {
|
||||||
|
"min": "2.5rem",
|
||||||
|
"max": "2.75rem"
|
||||||
|
},
|
||||||
"size": "2.75rem",
|
"size": "2.75rem",
|
||||||
"slug": "xx-large"
|
"slug": "xx-large"
|
||||||
}
|
}
|
||||||
|
@ -88,14 +112,32 @@
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
"blocks": {
|
"blocks": {
|
||||||
"core/heading": {
|
"core/comments": {
|
||||||
|
"elements": {
|
||||||
|
"link": {
|
||||||
|
":active": {
|
||||||
|
"color": {
|
||||||
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/comment-author-name": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontWeight": "500"
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||||
|
"textTransform": "initial"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/comment-content": {
|
||||||
|
"typography": {
|
||||||
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||||
|
"textTransform": "initial"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core/navigation": {
|
"core/navigation": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontSize": "var(--wp--preset--font-size--x-small)",
|
"fontSize": "var(--wp--preset--font-size--small)",
|
||||||
"fontWeight": "500",
|
"fontWeight": "500",
|
||||||
"textTransform": "uppercase"
|
"textTransform": "uppercase"
|
||||||
}
|
}
|
||||||
|
@ -105,10 +147,20 @@
|
||||||
"link": {
|
"link": {
|
||||||
"color": {
|
"color": {
|
||||||
"text": "var(--wp--preset--color--contrast)"
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
|
},
|
||||||
|
":active": {
|
||||||
|
"color": {
|
||||||
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"core/post-date": {
|
||||||
|
"typography": {
|
||||||
|
"textTransform": "uppercase"
|
||||||
|
}
|
||||||
|
},
|
||||||
"core/post-featured-image": {
|
"core/post-featured-image": {
|
||||||
"filter": {
|
"filter": {
|
||||||
"duotone": "var(--wp--preset--duotone--default-filter)"
|
"duotone": "var(--wp--preset--duotone--default-filter)"
|
||||||
|
@ -142,29 +194,39 @@
|
||||||
},
|
},
|
||||||
"elements": {
|
"elements": {
|
||||||
"button": {
|
"button": {
|
||||||
":active": {
|
|
||||||
"color": {
|
|
||||||
"text": "var(--wp--preset--color--base)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":hover": {
|
|
||||||
"color": {
|
|
||||||
"gradient": "radial-gradient(ellipse at top left, rgba(236, 249, 87, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at bottom left, rgba(247, 69, 204, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at top right, rgba(121, 238, 196, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at bottom right, rgba(81, 82, 213, 1) 15% , transparent 100%) fixed",
|
|
||||||
"text": "var(--wp--preset--color--base)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"border": {
|
"border": {
|
||||||
"radius": "99999px"
|
"color": "var(--wp--preset--color--contrast)",
|
||||||
|
"radius": "99999px",
|
||||||
|
"style": "solid",
|
||||||
|
"width": "2px"
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--base)",
|
"background": "var(--wp--preset--color--base)",
|
||||||
"gradient": "radial-gradient(ellipse at bottom right, rgba(236, 249, 87, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at top right, rgba(247, 69, 204, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at bottom left, rgba(121, 238, 196, 1) 15% , transparent 100%) fixed, radial-gradient(ellipse at bottom left, rgba(81, 82, 213, 1) 15% , transparent 100%) fixed",
|
"gradient": "var(--wp--preset--gradient--primary-secondary-tertiary-fixed)",
|
||||||
"text": "var(--wp--preset--color--contrast)"
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontSize": "var(--wp--preset--font-size--x-small)",
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
||||||
"fontWeight": "400",
|
"fontWeight": "400",
|
||||||
"textTransform": "uppercase"
|
"textTransform": "uppercase"
|
||||||
|
},
|
||||||
|
":hover": {
|
||||||
|
"color": {
|
||||||
|
"gradient": "var(--wp--preset--gradient--tertiary-secondary-primary-fixed)",
|
||||||
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":focus": {
|
||||||
|
"color": {
|
||||||
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
|
"gradient": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":active": {
|
||||||
|
"color": {
|
||||||
|
"background": "var(--wp--preset--color--contrast)",
|
||||||
|
"gradient": "none"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"heading": {
|
"heading": {
|
||||||
|
|
|
@ -256,7 +256,56 @@
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontSize": "var(--wp--preset--font-size--large)",
|
"fontSize": "var(--wp--preset--font-size--large)",
|
||||||
"lineHeight": "1.4"
|
"lineHeight": "1.4",
|
||||||
|
"textTransform": "capitalize"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/comment-author-name":{
|
||||||
|
"elements": {
|
||||||
|
"link": {
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":focus": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/comment-date": {
|
||||||
|
"elements": {
|
||||||
|
"link": {
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":focus": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/comment-edit-link": {
|
||||||
|
"elements": {
|
||||||
|
"link": {
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":focus": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -420,6 +469,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":active": {
|
":active": {
|
||||||
|
"border": {
|
||||||
|
"width": "0"
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"text": "var(--wp--preset--color--secondary)"
|
"text": "var(--wp--preset--color--secondary)"
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
|
||||||
<!-- wp:image {"align":"wide"} -->
|
|
||||||
<figure class="wp-block-image alignwide"><img alt=""/></figure>
|
|
||||||
<!-- /wp:image -->
|
|
||||||
|
|
||||||
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}}} -->
|
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}}} -->
|
||||||
<h1 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--50)">Mindblown: a blog about philosophy.</h1>
|
<h1 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--50)">Mindblown: a blog about philosophy.</h1>
|
||||||
<!-- /wp:heading -->
|
<!-- /wp:heading -->
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<main class="wp-block-group">
|
<main class="wp-block-group">
|
||||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-group">
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
|
||||||
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
|
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
|
@ -27,11 +27,7 @@
|
||||||
<!-- /wp:query-pagination -->
|
<!-- /wp:query-pagination -->
|
||||||
|
|
||||||
<!-- wp:query-no-results -->
|
<!-- wp:query-no-results -->
|
||||||
<!-- wp:paragraph -->
|
<!-- wp:pattern {"slug":"twentytwentythree/hidden-no-results-content"} /-->
|
||||||
<p>Sorry, but nothing matched your search terms. Please try again with some different keywords.</p>
|
|
||||||
<!-- /wp:paragraph -->
|
|
||||||
|
|
||||||
<!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search","buttonUseIcon":true} /-->
|
|
||||||
<!-- /wp:query-no-results -->
|
<!-- /wp:query-no-results -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:query -->
|
<!-- /wp:query -->
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<main class="wp-block-group">
|
<main class="wp-block-group">
|
||||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-group">
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
|
||||||
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
|
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main"} -->
|
|
||||||
<main class="wp-block-group">
|
|
||||||
<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70"}}}} -->
|
|
||||||
<div class="wp-block-group" style="padding-bottom:var(--wp--preset--spacing--70)">
|
|
||||||
<!-- wp:cover {"useFeaturedImage":true,"dimRatio":50,"overlayColor":"contrast","align":"wide","style":{"color":{"duotone":"unset"}}} -->
|
|
||||||
<div class="wp-block-cover alignwide"><span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"level":1,"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"textColor":"base"} /--></div></div>
|
|
||||||
<!-- /wp:cover -->
|
|
||||||
</div>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
|
||||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
|
||||||
<!-- wp:template-part {"slug":"comments","tagName":"section"} /-->
|
|
||||||
</main>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
|
@ -1,18 +0,0 @@
|
||||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main"} -->
|
|
||||||
<main class="wp-block-group">
|
|
||||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
|
||||||
<div class="wp-block-group">
|
|
||||||
<!-- wp:post-featured-image {"align":"wide"} /-->
|
|
||||||
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
|
|
||||||
</div>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
|
||||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
|
||||||
<!-- wp:template-part {"slug":"comments","tagName":"section"} /-->
|
|
||||||
</main>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
63
theme.json
63
theme.json
|
@ -23,22 +23,6 @@
|
||||||
"page"
|
"page"
|
||||||
],
|
],
|
||||||
"title": "404"
|
"title": "404"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "with-featured-image",
|
|
||||||
"postTypes": [
|
|
||||||
"page",
|
|
||||||
"post"
|
|
||||||
],
|
|
||||||
"title": "With Featured Image"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "with-cover-block",
|
|
||||||
"postTypes": [
|
|
||||||
"page",
|
|
||||||
"post"
|
|
||||||
],
|
|
||||||
"title": "With Cover Block"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
|
@ -84,32 +68,32 @@
|
||||||
{
|
{
|
||||||
"size": "clamp(1.5rem, 5vw, 2rem)",
|
"size": "clamp(1.5rem, 5vw, 2rem)",
|
||||||
"slug": "30",
|
"slug": "30",
|
||||||
"name": "30"
|
"name": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
|
"size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
|
||||||
"slug": "40",
|
"slug": "40",
|
||||||
"name": "40"
|
"name": "2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(2.5rem, 8vw, 6.5rem)",
|
"size": "clamp(2.5rem, 8vw, 6.5rem)",
|
||||||
"slug": "50",
|
"slug": "50",
|
||||||
"name": "50"
|
"name": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(3.75rem, 10vw, 7rem)",
|
"size": "clamp(3.75rem, 10vw, 7rem)",
|
||||||
"slug": "60",
|
"slug": "60",
|
||||||
"name": "60"
|
"name": "4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
|
"size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
|
||||||
"slug": "70",
|
"slug": "70",
|
||||||
"name": "70"
|
"name": "5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "clamp(7rem, 14vw, 11rem)",
|
"size": "clamp(7rem, 14vw, 11rem)",
|
||||||
"slug": "80",
|
"slug": "80",
|
||||||
"name": "80"
|
"name": "6"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"units": [
|
"units": [
|
||||||
|
@ -358,6 +342,11 @@
|
||||||
"link": {
|
"link": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"textDecoration": "none"
|
"textDecoration": "none"
|
||||||
|
},
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "underline"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -473,31 +462,6 @@
|
||||||
"core/comment-edit-link": {
|
"core/comment-edit-link": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontSize": "var(--wp--preset--font-size--small)"
|
"fontSize": "var(--wp--preset--font-size--small)"
|
||||||
},
|
|
||||||
"elements": {
|
|
||||||
"link": {
|
|
||||||
":hover": {
|
|
||||||
"typography": {
|
|
||||||
"textDecoration": "underline"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":focus": {
|
|
||||||
"typography": {
|
|
||||||
"textDecoration": "underline dashed"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":active": {
|
|
||||||
"color": {
|
|
||||||
"text": "var(--wp--preset--color--secondary)"
|
|
||||||
},
|
|
||||||
"typography": {
|
|
||||||
"textDecoration": "none"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"typography": {
|
|
||||||
"textDecoration": "none"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core/comment-reply-link": {
|
"core/comment-reply-link": {
|
||||||
|
@ -533,6 +497,11 @@
|
||||||
"link": {
|
"link": {
|
||||||
"typography": {
|
"typography": {
|
||||||
"textDecoration": "none"
|
"textDecoration": "none"
|
||||||
|
},
|
||||||
|
":hover": {
|
||||||
|
"typography": {
|
||||||
|
"textDecoration": "underline"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue