-
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
Adding more border style options #68432
base: trunk
Are you sure you want to change the base?
Conversation
Hi Team, Whenever you have some time, could you please review this PR? I’d really appreciate your feedback. Thanks in advance! cc: @t-hamano @carolinan |
Hi @benazeer-ben |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
While I personally think that having more variation in border styles is a good thing, I think there are some issues that need to be addressed from both a design perspective and a component perspective.
Design
- It is difficult to tell the difference between "Groove" and "Ridge" from the border indicator.
- The newly added icons themselves may need to be improved to make the border style more distinguishable.
cc @WordPress/gutenberg-design
Component
The inline style has been added to prevent overflow of the popover content, resulting in non-square button sizes:
We could solve this by increasing the width of the popover itself, but I think this is not ideal because the width of the popover is scaled to fit the six-column color palette.
We might be able to wrap the buttons as shown below, but the current ToggleGroupControl
component is not designed for this type of UI:
I have no idea how to solve this 🤔
cc @WordPress/gutenberg-components
Historically we have switched from a |
What?
Fixes #42993
Why?
Currently it is possible to set solid, dashed, dotted in border-style property. Need to add more styles as per ticket request.
How?
Added more style variations such as double, groove, ridge, inset, outset.
Testing Instructions
Screenshots or screencast
Screenshare.-.2024-12-31.12_14_35.PM.mp4