-
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
Shadow: Add option to unset shadow #47628
Conversation
Size Change: +20 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
I would favor something more like the designs we shared here. Specifically, to remove the shadow you remove the entire control by clicking the – icon. What do you think? |
In following scenarios, a shadow isn't available for deletion and "Unset" might be required.
In these situations and explicit value |
Aren't all of those issues relevant to the design in this PR too? IE to remove an inherited shadow one would have to add a shadow locally, then choose the Feels like this is all a part of #43082. |
Agreed. The suggested solution should handle the above cases. Closing this PR. |
What?
This change introduces a new shadow option "Unset" along with the shadow presets, so that a specific block can remove the given shadow.
Why?
This option is required in scenarios such as
uset
it.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
In the above UI, it is not obvious that the first choice is shadow "unset".
Adding tooltips might help. Need UX feedback @WordPress/gutenberg-design
Duotone UI for reference:
Related
Followup for #44651