-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add 'squared-outlined' button style to Button block #12641
Comments
Hi @mtias Thanks for the review and moving this PR to Future: 5.1 milestone. Attaching updated screenshot of latest WordPress version so the design team will have better idea. |
I started working on this and ran into a small issue I could use some feedback on. I added the new style, which uses the class I see two options:
My preference is option 1, becasue I think Should I just make an issue in trac with a fix to TwentyNineteen and leave a note here not to merge until that change is in as well? My changes so far can be seen at https://github.com/brentswisher/gutenberg/tree/add/button-squared-outline-style if you need. Edit: Fix formatting |
Seems like square should be the default and rounded should be a class with border-radius. And styling the border-radius should be independent of the background-color. So to get round and outline, it would be |
I’m of two minds:
|
I like the idea of moving Definitely out of scope of this issue. So I think a way forward with this is to add an outlined square button to the mix as suggested here and create a new issue/PR for moving |
As this has sat for a while, would considering border radius as an option and reduce all buttons, be just as rapid a path? I note that this issue #16481 now exists and therefore closing this, focusing on that would be my recommendation. |
Is your feature request related to a problem? Please describe.
We are not able to create squared-outlined button style using Button block
Describe the solution you'd like
One should able to generate squared-outlined style button. I tried adding "is-style-squared is-style-outline" to the 'Additional CSS Class' field in Gutenberg sidebar and I'm able to see squared-outlined style button (see the screenshot below).
The text was updated successfully, but these errors were encountered: