Preset colors from the default palette are serialized as inline styles #36770
Labels
[Feature] Colors
Color management
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Bug
An existing feature does not function as intended
In testing the new color UI component that shows up to 3 different palettes (default, theme, custom), I've noticed that preset colors from the default palette are serialized as inline colors, instead of having their class applied, like the theme colors.
How to reproduce
theme.json
support, for example TwentyTwentyTwo.Notice that the color is serialized in the inline
style
attribute of the block instead of being serialized as a class.The text was updated successfully, but these errors were encountered: