Skip to content

Remove !important annotation for duotone filters #49171

@ajlende

Description

@ajlende

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)

Metadata

Metadata

Assignees

Labels

CSS StylingRelated to editor and front end styles, CSS-specific issues.[Feature] MediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions