From e34caad13ce31d5896861b595df5dab96f7b5dfb Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Tue, 10 Oct 2023 09:03:25 +0000 Subject: [PATCH] Changes to TT4 for beta 3. Updates TT4 with additional changes ready for beta 3. Props jessplease, pbwebd, poena, afercia, luminuu, beafialho, onemaggie, mhkuu, richtabor, benoitchantre. Close #59575. Built from https://develop.svn.wordpress.org/trunk@56813 git-svn-id: http://core.svn.wordpress.org/trunk@56325 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../assets/css/button-outline.css | 6 +- .../themes/twentytwentyfour/functions.php | 2 +- .../themes/twentytwentyfour/parts/header.html | 2 +- .../patterns/centered-statement.php | 1 + .../twentytwentyfour/patterns/clients.php | 22 +- .../twentytwentyfour/patterns/columns.php | 2 +- .../themes/twentytwentyfour/patterns/faq.php | 9 +- .../patterns/footer-portfolio.php | 3 + .../themes/twentytwentyfour/patterns/hero.php | 4 +- .../hidden-hidden-intro-text-left.php | 4 +- .../patterns/hidden-no-results-content.php | 2 +- .../patterns/hidden-post-navigation.php | 14 ++ .../patterns/page-01-business-home.php | 2 +- .../patterns/page-03-portfolio-overview.php | 2 +- .../patterns/page-04-newsletter-landing.php | 12 +- .../patterns/page-06-writer-home.php | 2 +- .../patterns/page-07-rsvp-landing.php | 2 +- .../patterns/posts-one-column.php | 8 +- .../patterns/posts-three-columns-images.php | 8 +- .../patterns/posts-three-columns.php | 8 +- .../patterns/project-layout.php | 2 +- .../patterns/template-home-portfolio.php | 6 + ...ta.php => text-centered-cta-subscribe.php} | 3 +- .../patterns/text-centered-title.php | 11 +- wp-content/themes/twentytwentyfour/readme.txt | 22 +- .../twentytwentyfour/styles/fossil.json | 198 ++++++++++++++++++ .../themes/twentytwentyfour/styles/ice.json | 32 --- .../themes/twentytwentyfour/styles/milky.json | 103 --------- .../themes/twentytwentyfour/styles/rust.json | 84 ++++++++ .../templates/single-with-sidebar.html | 19 +- .../twentytwentyfour/templates/single.html | 22 +- wp-content/themes/twentytwentyfour/theme.json | 48 ++--- wp-includes/version.php | 2 +- 33 files changed, 414 insertions(+), 253 deletions(-) create mode 100644 wp-content/themes/twentytwentyfour/patterns/hidden-post-navigation.php rename wp-content/themes/twentytwentyfour/patterns/{cta.php => text-centered-cta-subscribe.php} (96%) create mode 100644 wp-content/themes/twentytwentyfour/styles/fossil.json delete mode 100644 wp-content/themes/twentytwentyfour/styles/milky.json diff --git a/wp-content/themes/twentytwentyfour/assets/css/button-outline.css b/wp-content/themes/twentytwentyfour/assets/css/button-outline.css index 92ae175986..26032360fd 100644 --- a/wp-content/themes/twentytwentyfour/assets/css/button-outline.css +++ b/wp-content/themes/twentytwentyfour/assets/css/button-outline.css @@ -1,6 +1,6 @@ .wp-block-button.is-style-outline - > .wp-block-button__link:not(.has-background):hover { - background-color: var(--wp--preset--color--contrast-2); + > .wp-block-button__link:not(.has-text-color, .has-background):hover { + background-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, transparent)); color: var(--wp--preset--color--base); - border-color: var(--wp--preset--color--contrast-2); + border-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, currentColor)); } diff --git a/wp-content/themes/twentytwentyfour/functions.php b/wp-content/themes/twentytwentyfour/functions.php index cffc4dc01d..e569d5b8e9 100644 --- a/wp-content/themes/twentytwentyfour/functions.php +++ b/wp-content/themes/twentytwentyfour/functions.php @@ -52,7 +52,7 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : .is-style-arrow-icon-details { padding-top: var(--wp--preset--spacing--10); padding-bottom: var(--wp--preset--spacing--10); - border-bottom: 1px solid rgba(255, 255, 255, 0.20); + border-bottom: 1px solid var(--wp--preset--color--contrast-2, currentColor); } .is-style-arrow-icon-details summary { diff --git a/wp-content/themes/twentytwentyfour/parts/header.html b/wp-content/themes/twentytwentyfour/parts/header.html index 8c069b4d42..422ad31d7f 100644 --- a/wp-content/themes/twentytwentyfour/parts/header.html +++ b/wp-content/themes/twentytwentyfour/parts/header.html @@ -8,6 +8,6 @@ - + diff --git a/wp-content/themes/twentytwentyfour/patterns/centered-statement.php b/wp-content/themes/twentytwentyfour/patterns/centered-statement.php index 1384759f3c..5637bdf14d 100644 --- a/wp-content/themes/twentytwentyfour/patterns/centered-statement.php +++ b/wp-content/themes/twentytwentyfour/patterns/centered-statement.php @@ -3,6 +3,7 @@ * Title: Centered Statement * Slug: twentytwentyfour/centered-statement * Categories: text, about, featured + * Keywords: statement, centered * Viewport width: 1400 */ ?> diff --git a/wp-content/themes/twentytwentyfour/patterns/clients.php b/wp-content/themes/twentytwentyfour/patterns/clients.php index 9d38f3eb69..e24572710b 100644 --- a/wp-content/themes/twentytwentyfour/patterns/clients.php +++ b/wp-content/themes/twentytwentyfour/patterns/clients.php @@ -20,27 +20,27 @@ - +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/columns.php b/wp-content/themes/twentytwentyfour/patterns/columns.php index ec5d1c1053..913a467dc3 100644 --- a/wp-content/themes/twentytwentyfour/patterns/columns.php +++ b/wp-content/themes/twentytwentyfour/patterns/columns.php @@ -1,6 +1,6 @@ - - diff --git a/wp-content/themes/twentytwentyfour/theme.json b/wp-content/themes/twentytwentyfour/theme.json index f3b637dd18..a8790a9b3e 100644 --- a/wp-content/themes/twentytwentyfour/theme.json +++ b/wp-content/themes/twentytwentyfour/theme.json @@ -162,7 +162,7 @@ "spacingSizes": [ { "name": "1", - "size": "min(1rem, 1vw)", + "size": "1rem", "slug": "10" }, { @@ -331,20 +331,25 @@ "core/code": { "border": { "color": "var(--wp--preset--color--contrast)", - "radius": "0.25rem", - "style": "solid", - "width": "2px" + "radius": "var(--wp--preset--spacing--20)" + }, + "color": { + "background": "var(--wp--preset--color--base-2)", + "text": "var(--wp--preset--color--contrast-2)" }, "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)" + "bottom": "calc(var(--wp--preset--spacing--30) + 0.75rem)", + "left": "calc(var(--wp--preset--spacing--30) + 0.75rem)", + "right": "calc(var(--wp--preset--spacing--30) + 0.75rem)", + "top": "calc(var(--wp--preset--spacing--30) + 0.75rem)" } }, "typography": { - "fontFamily": "monospace" + "fontSize": "var(--wp--preset--font-size--medium)", + "fontStyle": "normal", + "fontWeight": "400", + "lineHeight": "1.6" } }, "core/comment-author-name": { @@ -612,23 +617,7 @@ }, "core/pullquote": { "border": { - "bottom": { - "style": "none", - "width": "0px" - }, - "left": { - "style": "none", - "width": "0px" - }, - "radius": "var(--wp--preset--spacing--20)", - "right": { - "style": "none", - "width": "0px" - }, - "top": { - "style": "none", - "width": "0px" - } + "radius": "var(--wp--preset--spacing--20)" }, "elements": { "cite": { @@ -657,6 +646,13 @@ "core/query-title": { "css": "& span {font-style: italic;}" }, + "core/query-no-results": { + "spacing": { + "padding": { + "top": "var(--wp--preset--spacing--30)" + } + } + }, "core/quote": { "border": { "radius": "var(--wp--preset--spacing--20)" diff --git a/wp-includes/version.php b/wp-includes/version.php index 7db313e635..237393b51d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta2-56812'; +$wp_version = '6.4-beta2-56813'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.