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

Consider adding opacity controls to all image blocks #38799

Open
annezazu opened this issue Feb 15, 2022 · 1 comment
Open

Consider adding opacity controls to all image blocks #38799

annezazu opened this issue Feb 15, 2022 · 1 comment
Labels
[Block] Image Affects the Image Block [Feature] Component System WordPress component system [Type] Enhancement A suggestion for improvement.

Comments

@annezazu
Copy link
Contributor

What problem does this address?

This came up as a request in the FSE Outreach Program's All Things Media exploration:

An opacity slider for any type of image block.

What is your proposed solution?

Right now, there are different implementations for opacity between the color picker component (#37731) and a block like the Cover Block. In this case, this issue is opening a discussion around whether having a shared general implementation for block supports makes sense. If so, perhaps this could be a part of the background tools project: #16479

@annezazu annezazu added [Type] Enhancement A suggestion for improvement. [Block] Image Affects the Image Block [Feature] Component System WordPress component system labels Feb 15, 2022
@hagege
Copy link

hagege commented May 13, 2022

I would like to support and supplement this:
It would be nice if opacity could be set for blocks that are embedded with images and/or covers. Otherwise you can set this again only via custom css (which would not bother me personally, because I am anyway of the opinion, they should continue to offer additional CSS). Something like this:
opacity_images_cover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Feature] Component System WordPress component system [Type] Enhancement A suggestion for improvement.
2 participants