You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We introduced a class name for button elements in #40260, but to use this developers need to look up what the correct class name for each element is which is far from ideal.
What is your proposed solution?
There was some discussion in #40260 about the best way forward but we didn't reach any agreement, here are some options:
Each element could have a component
We could have a hook that adds the class name to the block props
We could have a simple function that returns the correct class name when passed an element name.
For what it's worth, my preference is option 3.
The text was updated successfully, but these errors were encountered:
scruffian
added
the
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
label
Jun 10, 2022
What problem does this address?
We introduced a class name for button elements in #40260, but to use this developers need to look up what the correct class name for each element is which is far from ideal.
What is your proposed solution?
There was some discussion in #40260 about the best way forward but we didn't reach any agreement, here are some options:
For what it's worth, my preference is option 3.
The text was updated successfully, but these errors were encountered: