Color panel should be hidden when the block's color are disabled #33304
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
In working at #33280 and preparing #33295 I've realized the color panel doesn't work as expected.
If a theme passes the following data via
theme.json
:the result is that the color panel is hidden.
However, let's look at a block such as the paragraph. It supports text, background, and link colors but not gradients. I'd expect that disabling only the things it supports should hide the color panel (notice that there's no
customGradient
orgradients
in the followingtheme.json
):What happens instead is that the color panel is shown empty:
The text was updated successfully, but these errors were encountered: