Remove custom color picker, but keep opacity level control for Background Colors
-
Hi,
I want to set the opacity level for background color, and I know there is a feature for that when custom color is set to true in the theme.json file.
This is what I have under Settings:"color": { "custom": true, "text": true, "background": true, "link": true, "defaultGradients": false, "defaultPalette":false, "defaultDuotone": false, "customDuotone": false, "customGradient": false, "duotone": [], "gradients": [], "palette": [ { "slug": "pink", "color": "#FFB6C1", "name": "Pink" }, { "slug": "red", "color": "#E2574C", "name": "Red" }, { "slug": "white", "color": "#FFFFFF", "name": "White" }, { "slug": "black", "color": "#000000", "name": "Black" } ] },
This is how the ui control look like with the opacity control: https://snipboard.io/LFukzG.jpg
However, I don’t want the custom color picker, I want to keep the opacity control from the left popup window (screenshot here: https://snipboard.io/UlD2KE.jpg)
Is there a way to disable the custom color picker and keep the opacity control?
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove custom color picker, but keep opacity level control for Background Colors’ is closed to new replies.