-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: move shadow into own panel #47634
Conversation
Size Change: +338 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
Flaky tests detected in 1897238. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4072472958
|
Separating "Border & Shadow" seems like a good move. It's not a strong feeling but personally I would favor a dedicated Shadow panel for now, then renaming to "Effects" when we actually add more features. |
abffa6e
to
1897238
Compare
Happy to try that, but just to confirm the context that the goal here is to have the same drilldown properties in Global Styles, as blocks have panels. Previously this diverged sligthly, with border found inside "Layout". |
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.
This LGTM, but would be good to get a 👍 from @jameskoster and/or @jasmussen too!
* move shadow into newly created effects panel * rename effects to shadow * rename label shadows to shadow in popover
Cherry-picked this PR to the wp/6.2 branch. |
What?
This change moves the shadow from "Border & Shadow" to new panel "Effects".
Why?
Right now the panel is called
Border & Shadow
, and it remains same even though a block doesn't haveshadow
support enabled which is misleading. Instead move it to different menu so it appears only for the support enabled blocks.reference to the latest design discussions on shadow placement here, and start a discussion to check if its a good idea to apply the same in global styles.
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
@WordPress/gutenberg-design
Related to #44651