From 4911e3502c861e0af00e86324460fd653938c419 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Wed, 25 Nov 2026 10:37:44 +0100 Subject: [PATCH 1/3] Ipsum: Use the bottom margin for the space below featured images. Nine patterns spaced the Featured Image block from the content below with bottom padding, so an image overlay and the editor's selection outline covered that empty space too. They now use a bottom margin, so the spacing is the same but sits outside the image. Synced from https://github.com/WordPress/ipsum/pull/253. See #66817. Co-Authored-By: Claude Opus 5.5 --- src/wp-content/themes/ipsum/patterns/archive-full.php | 2 +- src/wp-content/themes/ipsum/patterns/archive-standard.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-index-sidebar.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-index.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-page-sidebar.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-page.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-single-sidebar.php | 2 +- src/wp-content/themes/ipsum/patterns/hidden-single.php | 2 +- src/wp-content/themes/ipsum/patterns/page-blog-home.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wp-content/themes/ipsum/patterns/archive-full.php b/src/wp-content/themes/ipsum/patterns/archive-full.php index bf155d31dc2e2..ac9f1b8e4cb07 100644 --- a/src/wp-content/themes/ipsum/patterns/archive-full.php +++ b/src/wp-content/themes/ipsum/patterns/archive-full.php @@ -16,7 +16,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/archive-standard.php b/src/wp-content/themes/ipsum/patterns/archive-standard.php index fb7d77cb3c7b8..64cc26dfa0d9e 100644 --- a/src/wp-content/themes/ipsum/patterns/archive-standard.php +++ b/src/wp-content/themes/ipsum/patterns/archive-standard.php @@ -16,7 +16,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-index-sidebar.php b/src/wp-content/themes/ipsum/patterns/hidden-index-sidebar.php index 3b1be9f7c61c5..a21d6dd7146fe 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-index-sidebar.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-index-sidebar.php @@ -24,7 +24,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-index.php b/src/wp-content/themes/ipsum/patterns/hidden-index.php index 734e3e4e6704e..25a6bd0c66a33 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-index.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-index.php @@ -22,7 +22,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-page-sidebar.php b/src/wp-content/themes/ipsum/patterns/hidden-page-sidebar.php index 278095cffb46d..44b4bbdccf782 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-page-sidebar.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-page-sidebar.php @@ -17,7 +17,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-page.php b/src/wp-content/themes/ipsum/patterns/hidden-page.php index 3af59b56ff7f2..7adcb16e4469b 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-page.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-page.php @@ -15,7 +15,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-single-sidebar.php b/src/wp-content/themes/ipsum/patterns/hidden-single-sidebar.php index e50487b0dcc5a..be05c0437c99d 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-single-sidebar.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-single-sidebar.php @@ -17,7 +17,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/hidden-single.php b/src/wp-content/themes/ipsum/patterns/hidden-single.php index 8bc6ceca0f5bc..806d5e974ad61 100644 --- a/src/wp-content/themes/ipsum/patterns/hidden-single.php +++ b/src/wp-content/themes/ipsum/patterns/hidden-single.php @@ -15,7 +15,7 @@
-
+
diff --git a/src/wp-content/themes/ipsum/patterns/page-blog-home.php b/src/wp-content/themes/ipsum/patterns/page-blog-home.php index 40a5e04f3b06d..fc4be427ca28f 100644 --- a/src/wp-content/themes/ipsum/patterns/page-blog-home.php +++ b/src/wp-content/themes/ipsum/patterns/page-blog-home.php @@ -28,7 +28,7 @@
-
+
From 0159b20a2fed9129bd8b88c97014d36e75efba99 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Wed, 25 Nov 2026 11:11:14 +0100 Subject: [PATCH 2/3] Ipsum: Keep the outline Search button the same size on hover. The Outline style gave the Search icon button a 1px dotted border that went away on hover, so the button shrank by 2px under the pointer and flickered. It now keeps a transparent border in every state. Synced from https://github.com/WordPress/ipsum/pull/251. See #66817. Co-Authored-By: Claude Fable 5.2 --- src/wp-content/themes/ipsum/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wp-content/themes/ipsum/functions.php b/src/wp-content/themes/ipsum/functions.php index eab1a8be0e4fa..0df9a374477fd 100644 --- a/src/wp-content/themes/ipsum/functions.php +++ b/src/wp-content/themes/ipsum/functions.php @@ -280,6 +280,9 @@ function ipsum_register_block_styles() { * Outlines the Search button until it is hovered, focused or pressed, when * the global button states take back over. A theme.json css string would * wrap this in :where() and only tie with the global button styles. + * The icon button keeps a transparent border in those states, so it does + * not shrink by 2px under the pointer on hover, which made it flicker. + * The text button already has a border there from theme.json. */ register_block_style( 'core/search', @@ -287,6 +290,10 @@ function ipsum_register_block_styles() { 'name' => 'outline', 'label' => _x( 'Outline', 'Block style label', 'ipsum' ), 'inline_style' => ' + .wp-block-search.is-style-outline .wp-block-search__button.has-icon.wp-element-button { + border: 1px solid transparent; + } + .wp-block-search.is-style-outline .wp-block-search__button.wp-element-button:not(:hover):not(:focus):not(:active) { background-color: var(--wp--preset--color--base); border: 1px dotted var(--wp--preset--color--contrast); From 9995c9c711e1b3ac96c234d9b8905e4385ae554f Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Thu, 26 Nov 2026 13:11:30 +0100 Subject: [PATCH 3/3] Ipsum: Note the expected transparent text notice for Contrast. Contrast is translucent on purpose in the light palettes, so the editor shows its "Transparent text may be hard for people to read" notice for it. The design guide now says the notice is expected, so nobody removes the alpha to make it go away. Synced from https://github.com/WordPress/ipsum/pull/249. See #66817. Co-Authored-By: Claude Fable 5.2 --- src/wp-content/themes/ipsum/DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/ipsum/DESIGN.md b/src/wp-content/themes/ipsum/DESIGN.md index b37a7a4f43745..404d7410f04ed 100644 --- a/src/wp-content/themes/ipsum/DESIGN.md +++ b/src/wp-content/themes/ipsum/DESIGN.md @@ -30,7 +30,7 @@ How the palettes are built: ### Usage rules - **Use the slugs, never literal colors.** `var(--wp--preset--color--contrast)` in CSS, `var:preset|color|contrast` in block attributes, or `textColor` and `backgroundColor`. A literal hex freezes one variation's look into all the others. -- **Text is Contrast.** Body, headings and links all use it. Hover goes to Strong Contrast. Contrast is translucent in the light palettes, so it only reads as intended on Base or Surface; on any other ground, use Strong Contrast. +- **Text is Contrast.** Body, headings and links all use it. Hover goes to Strong Contrast. Contrast is translucent in the light palettes, so it only reads as intended on Base or Surface; on any other ground, use Strong Contrast. The editor's "Transparent text may be hard for people to read" notice is expected for it; keep the alpha. - **Links** have a dotted 1px underline. On hover they turn Strong Contrast and lose the underline. Navigation, post title, post navigation and pagination links do the reverse: no underline until hover. - **Buttons** fill with Contrast, with Base text, and fill with Strong Contrast on hover. Focus and press use Contrast at 85% (`color-mix()`). The Outline style keeps a Contrast border and fills with Surface on hover. - **Form fields** in Search and the comment form are Base with Contrast text and border. The border turns Strong Contrast on hover. Jetpack form fields get the same border.