eightshift-frontend-libs
eightshift-frontend-libs copied to clipboard
Global manifest schema implies only hex values are supported in color declarations, which is not true
Describe your bug
Steps to Reproduce
If this is contained in the globalVariables.colors
in the global blocks manifest, you'll get a warning from a JSON schema-supporting editor:
{
"name": "Black / 25%",
"slug": "black-opacity-25",
"color": "rgba(14, 3, 37, 0.25)"
}
Expected behavior
Using RGBA values is supported, so this shouldn't trigger a warning.
Support in color picker component:
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
Please confirm that your bug occurs with all plugins uninstalled and with the default WordPress theme active.
No