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
The border style selector added in #31321 could use a little design refinement:
This unique treatment of the dropdown component adds unnecessary weight to the UI, and the combination of label + preview feel like overkill. It might be simpler to do one or the other:
I've started putting together a PR to refine the border block support controls. Can you provide the icons for the segmented control? It will also need a "none" option so the user can explicitly remove a border when the theme sets one.
We might get away with relying on setting the border width to 0 to hide a theme provided border. That wouldn't be obvious to end users though.
That was my original thinking. If we begin with only one variable to control the visibility of the border, I think that will lead to fewer confusing scenarios overall.
Work toward refining the border block support UI is currently in progress in #31585.
The designs in #31337 required some updates to the underlying block supports mechanism that are still pending review. Any help getting those reviewed will help move this forward.
Activity
aaronrobertshaw commentedon May 4, 2021
I've started putting together a PR to refine the border block support controls. Can you provide the icons for the segmented control? It will also need a "none" option so the user can explicitly remove a border when the theme sets one.
aaronrobertshaw commentedon May 4, 2021
We might get away with relying on setting the border width to
0to hide a theme provided border. That wouldn't be obvious to end users though.jameskoster commentedon May 4, 2021
That was my original thinking. If we begin with only one variable to control the visibility of the border, I think that will lead to fewer confusing scenarios overall.
Here's the svg code for the icons:
Solid
Dashed
Dotted
aaronrobertshaw commentedon May 21, 2021
Work toward refining the border block support UI is currently in progress in #31585.
The designs in #31337 required some updates to the underlying block supports mechanism that are still pending review. Any help getting those reviewed will help move this forward.
aaronrobertshaw commentedon Jul 19, 2021
Closing this as the border panel has been updated now #31585 has been merged.