Skip to content

Commit ff9c17b

Browse files
MaggieCabreraclaude
andcommitted
Ipsum: Draw the Button block's focus outline inside the button.
The Button block's focus outline gets a negative offset, so it sits inside the button like the Search block's button does. Synced from WordPress/ipsum#187. See #66631. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4899c66 commit ff9c17b

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

‎src/wp-content/themes/ipsum/theme.json‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,6 @@
435435
"color": {
436436
"background": "color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent)",
437437
"text": "var(--wp--preset--color--base)"
438-
},
439-
"outline": {
440-
"offset": "4px"
441438
}
442439
},
443440
":focus-visible": {
@@ -536,11 +533,8 @@
536533
}
537534
},
538535
"color": {
539-
"background": "color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent)",
540-
"text": "var(--wp--preset--color--base)"
541-
},
542-
"outline": {
543-
"offset": "4px"
536+
"background": "var(--wp--preset--color--accent-5)",
537+
"text": "var(--wp--preset--color--accent-3)"
544538
}
545539
},
546540
":focus-visible": {

0 commit comments

Comments
 (0)