-
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
Option to disable duotone #31764
Comments
@mtias and @youknowriad I confirmed that this doesn't actually work for colors. Setting the values in the theme.json as specified still just shows the default palette. These are the relevant parts of the theme.json config that I have:
And this is what I see: Setting Since there isn't already a system for disabling block supports via theme.json, I think having a separate setting to enable and disable them makes more sense. Palettes are used outside of block supports, so it may make sense that you want the supports disabled, but you still want the color/gradient/duotone palettes in other places like for border color for examaple. I propose adding a
We default to having all block supports enabled. Setting to a value of What do you think? |
I think you can disable colors by doing two things, setting the palette to |
I found out I can disable colors and gradients by setting:
I believe this mimics the behavior of add_theme_support where you had to add:
But it's quite confusing and I haven't found a solution for duotone yet. |
So it sounds like for this, in order to be consistent with existing settings, there are a few things that need to happen:
Does that sound accurate? |
That makes sense yes. |
What problem does this address?
There should be a way to disable the duotone UI from theme.json
What is your proposed solution?
The text was updated successfully, but these errors were encountered: