Remove !important
annotation for duotone filters
#49171
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Feature] Media
Anything that impacts the experience of managing media
[Type] Enhancement
A suggestion for improvement.
With the changes in #49103, it may be possible to remove the
!important
annotation since ordering is now handled in one place.We need to investigate if it's still important to make block-level filters (applied via the toolbar in the editor) actually
!important
. The classes generated by color presets, for example, include the!important
annotation for the.has-slug-color
classes. And it may be good to follow suit even though dutone classes are not generated the same way.Global styles (theme.json
styles
section) don't have the!important
annotation, so at least those cases can have the annotation removed.See #49103 (comment)
The text was updated successfully, but these errors were encountered: