Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are gradients supported now? #21055

Closed
strarsis opened this issue Mar 20, 2020 · 4 comments · Fixed by #21375
Closed

Are gradients supported now? #21055

strarsis opened this issue Mar 20, 2020 · 4 comments · Fixed by #21375
Labels
[Block] Columns Affects the Columns Block [Block] Group Affects the Group Block [Type] Enhancement A suggestion for improvement.

Comments

@strarsis
Copy link
Contributor

strarsis commented Mar 20, 2020

Are gradients supported now in the latest Gutenberg plugin?
I added theme support for editor-gradient-presets and added some gradients,
but only solid colors can be selected, gradient selection is completely missing.
Is this an experimental feature? Is this only available in Gutenberg master?

And will preset gradient selection still work with custom colors
disabled (add_theme_support( 'disable-custom-colors' );?

@strarsis strarsis changed the title Gradients supported now? Are gradients supported now? Mar 20, 2020
@jorgefilipecosta jorgefilipecosta added [Type] Bug An existing feature does not function as intended and removed [Type] Bug An existing feature does not function as intended labels Mar 23, 2020
@jorgefilipecosta
Copy link
Member

Hi @strarsis, the cover and buttons block both support gradients. Was the option to pick a gradient not available on these blocks with WordPress 5.4 or the last Gutenberg plugin?

And will preset gradient selection still work with custom colors
disabled (add_theme_support( 'disable-custom-colors' );?

Yes, it should work with custom colors disabled.

@strarsis
Copy link
Contributor Author

@jorgefilipecosta: Ah, is it possible to enable (background) gradients for core/group and core/column blocks?

@talldan talldan added [Block] Columns Affects the Columns Block [Block] Group Affects the Group Block [Type] Enhancement A suggestion for improvement. labels Apr 7, 2020
@talldan
Copy link
Contributor

talldan commented Apr 7, 2020

@strarsis It looks like #21375 should do that.

@jorgefilipecosta
Copy link
Member

Closing this issue as I think all the questions were answered :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Block] Group Affects the Group Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants