[wp-trac] [WordPress Trac] #56290: Twenty Twelve: Button blocks inside widget areas don't apply theme preset colours (was: Twenty Twelve: Button blocks inside widget areas don't apply custom colours)
WordPress Trac
noreply at wordpress.org
Mon Aug 4 21:06:20 UTC 2025
#56290: Twenty Twelve: Button blocks inside widget areas don't apply theme preset
colours
---------------------------+-----------------------------
Reporter: mrfoxtalbot | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses: css
---------------------------+-----------------------------
Changes (by sabernhardt):
* keywords: good-first-bug has-patch => has-patch
* status: closed => reopened
* resolution: worksforme =>
Comment:
To be more precise, the theme **preset** colors do not work in the widget
areas. For example, any Button blocks with a Light Gray or Blue background
color would fall back to the classic themes'
[https://github.com/WordPress/gutenberg/blob/b81e48110c229de21e68b7d6d300abaf6f84bccf/packages
/block-library/src/classic.scss#L4 dark gray color].
I edited the set of blocks and saved it as a text file.
- All the Code and Buttons blocks are inside a Group block because widgets
have significant space between each other.
- The 'new link' reference points to `new.example.com` so it does not show
the `:visited` style if you accidentally click it.
- It does not include the options of the default text color against a dark
background color because the theme defines a light background, and people
who want a dark background should set their own text color.
- The set still does not include gradients, but feel free to experiment
with those.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56290#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list