Migrate duotone block support attributes under filter
instead of color
#49340
Labels
[Type] Code Quality
Issues or PRs that relate to code quality
[Type] Enhancement
A suggestion for improvement.
Duotone filters were initially added under
color
support when they were only part of block supports and theme.json presets. Then, when global styles support was added, that functionality was nested underfilter
instead. #34667 (comment)When the global styles duotone filters were added under
filter
, the block supports should have followed since they involve CSS filters, specifically. This will prevent some confusion that comes from the lack of consistency with that reasoning.The duotone attribute store in
style.color.duotone
needs to move tostyle.filter.duotone
.The text was updated successfully, but these errors were encountered: