-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Buttons: Add border, color, and padding block supports #63538
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
With color support enabled, the option to add color for the button element is enabled on the parent buttons block, is that correct? |
Thanks for testing @carolinan 👍
This PR only proposes to add background color support to the wrapping Buttons block rather than text color for all internal buttons. With the way individual buttons are structured, I'd like to address text color for inner Button blocks separately. |
I meant this button color support: "color (background, button, gradients, |
Sorry @carolinan, I'm not following 😅
Is the confusion that the docs strike out the You'll see that the text color support for the parent |
Thanks for the clarification, I think I'm on the same page now 👍 What's highlighted in the screenshot is actually the button element styles not inner button block controls. I'll see what I can do to reduce the potential for confusion here. |
Yes 😄
|
Apologies for my earlier confusion @carolinan. It was staring me in my face and I kept reading the config as Now my tunnel vision has dissipated, let's leave the element styling out for now. While it does give users the option to bulk style all buttons it can be confusing. Discussing or implementing that as a separate follow-up sounds like the best path forward for now. I've removed the button element support in 4879255 |
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org> Co-authored-by: carolinan <poena@git.wordpress.org>
Part of: #43241
What?
Adopts background color, padding, and border block supports for the Buttons block.
Why?
How?
Testing Instructions
Screenshots or screencast
Screen.Recording.2024-07-15.at.12.20.58.PM.mp4