You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Block themes can set rgba or hex color with opacity (Hexadecimal colors) in theme.json.
In the block editor these color values can be edited as the color picker has the opacity setting, as seen in the screenshot below.
In Styles the color values can not be edited, which can be considered a bug, I feel. The opacity setting is not available and it is not possible to add the needed 8 values to the hex color settings, e. g. #FF000033 for the color red with 20% opacity.
Before editing the color in Styles:
After trying to change the color value but keeping the 33 for opacity:
Step-by-step reproduction instructions
I would expect the same color settings in both editors.
At least the hex value could allow 8 numbers, so the opacity could be maintained in the color value.
Screenshots, screen recording, code snippet
No response
Environment info
Wordpress 6.0.1
Theme Aino
Gutenberg plugin 13.8.1
Gutenberg plugin deactivated causes the same behaviour
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
The text was updated successfully, but these errors were encountered:
Description
Block themes can set rgba or hex color with opacity (Hexadecimal colors) in theme.json.
In the block editor these color values can be edited as the color picker has the opacity setting, as seen in the screenshot below.
In Styles the color values can not be edited, which can be considered a bug, I feel. The opacity setting is not available and it is not possible to add the needed 8 values to the hex color settings, e. g. #FF000033 for the color red with 20% opacity.
Before editing the color in Styles:
After trying to change the color value but keeping the 33 for opacity:
Step-by-step reproduction instructions
I would expect the same color settings in both editors.
At least the hex value could allow 8 numbers, so the opacity could be maintained in the color value.
Screenshots, screen recording, code snippet
No response
Environment info
Wordpress 6.0.1
Theme Aino
Gutenberg plugin 13.8.1
Gutenberg plugin deactivated causes the same behaviour
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
The text was updated successfully, but these errors were encountered: