#61846 closed defect (bug) (fixed)
Twenty Twelve: Button block Outline style has the wrong text color on the front
Reported by: | pitamdey | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 6.6 |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch needs-testing commit |
Focuses: | css | Cc: |
Description
In theme Twenty Twelve, Button blocks have different text color in the editor & frontend side
Attachments (4)
Change History (9)
#1
@
8 weeks ago
Given Patch - https://core.trac.wordpress.org/attachment/ticket/61846/61846.patch
I would also like to agree after applying this solution, it works smoothly.
#2
@
8 weeks ago
- Focuses css added
- Keywords has-patch needs-testing added
- Summary changed from Twenty Twelve : Button block text color is different in both side to Twenty Twelve: Button block Outline style has the wrong text color on the front
- Version set to 6.6
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
.
Note: See
TracTickets for help on using
tickets.
Editor View