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

Buttons Block should have Color, Border, Style, etc Controls (overridable per button) #40703

Open
MadtownLems opened this issue Apr 28, 2022 · 1 comment
Labels
[Block] Buttons Affects the Buttons Block [Type] Enhancement A suggestion for improvement.

Comments

@MadtownLems
Copy link

What problem does this address?

If I have a Buttons group of several identical looking buttons (which I imagine is a pretty common situation), and want to make a change to them, I currently need to manually update each and every Button individually. This can be very time consuming.

What is your proposed solution?

The Buttons block could/should have various controls that impact all descendent Buttons by default, but still allow individual buttons to override them. (Similar to how a Group block can have Color settings that cascade down to descendant blocks but can be overridden.)

@justintadlock justintadlock added [Type] Enhancement A suggestion for improvement. [Block] Buttons Affects the Buttons Block labels May 23, 2022
@justintadlock
Copy link
Contributor

This is related to #38267, which proposes adding a method to update adjacent button styles. Leaving this open since it's a proposal for a slightly different approach. But, we can close in favor of the other.

Also see: #27324

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

No branches or pull requests

2 participants