[wp-trac] [WordPress Trac] #49764: Twenty Eleven: Add gradient background options that fit the theme color scheme
WordPress Trac
noreply at wordpress.org
Tue May 19 15:10:06 UTC 2020
#49764: Twenty Eleven: Add gradient background options that fit the theme color
scheme
------------------------------------------+-----------------------------
Reporter: ianbelanger | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: good-first-bug needs-refresh | Focuses: ui
------------------------------------------+-----------------------------
Comment (by dboy1988):
Hi @ianbelanger,
Thanks for spotting that, indeed I had the same colour twice.
I have looked into the **"if I start out with a brand new install,
activate Twenty Eleven and do not change the colors in the customizer,
then I see the issues I was talking about"**
If you are starting out with a fresh install of twenty eleven, are you not
removing the code I have added and installing the theme/code from
WordPress and that would be why it does not work? Sorry just a thought!
I cannot replicate your issue otherwise. In the
twentyeleven_get_theme_colors function I provide default values if the
options in the customizer are not set as you saw.
As I mentioned before, I am using the gradients API provided by WordPress,
if WordPress does not currently support gradients for group blocks, I
believe that is why it is not there, once the support is created, the
gradients I have setup will be available for the group block as well.
New patch attached with the updated colour.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49764#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list