[wp-trac] [WordPress Trac] #61846: Twenty Twelve: Button block Outline style has the wrong text color on the front (was: Twenty Twelve : Button block text color is different in both side)
WordPress Trac
noreply at wordpress.org
Fri Aug 9 22:43:22 UTC 2024
#61846: Twenty Twelve: Button block Outline style has the wrong text color on the
front
-------------------------------------------------+-------------------------
Reporter: pitamdey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version: 6.6
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses: css
testing |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* keywords: has-screenshots => has-screenshots has-patch needs-testing
* focuses: => css
* version: => 6.6
Comment:
With the first patch, removing the theme's text color would change the
Fill style's default text color (to white).
Before WordPress 6.6, `block-library` styles set the Outline style's text
color to `currentColor` at a higher specificity (`0-4-0` now reduced to
`0-1-0`). The theme could try reducing specificity too, but that would
change several selectors. I just added the text color for the Outline
style in `blocks.css`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61846#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list