-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
There is no way to turn off the Shadow panel in Site Editor > Styles > Blocks > Button
If theme.json turns off all presets, the panel still shows, but it has no options.
Step-by-step reproduction instructions
Add the following under settings in theme.json:
"shadow": {
"presets": [],
"defaultPresets": false
},
Screenshots, screen recording, code snippet
The panel shows but there are no options:

Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
skorasaurus, colorful-tones and sboerrigter
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended