Duolith docs

Warnings while reading a page

W0060 Utility that has no effect

Message class has no effect: later after it sets the same

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

When two utilities in one class attribute set the same thing under the same prefixes, such as p-2 p-4, the later one wins and the earlier one does nothing. A utility only partly overridden, such as border in border border-primary, still does something and is not reported.

How to fix it

Remove the earlier utility (duolith lint --fix does); nothing on screen changes.

In a terminal

duolith explain W0060

Mentioned in