dead-classAn emitted class this project's Tailwind generates no CSS for.
csszyx check reports it in its dead-class pass.A name in angle brackets is a value the message fills in.
[csszyx] dead-class: `<className>` produces no CSS: this project's Tailwind serves no such utility.
help: fix the sz key or value, or define the class with Tailwind's `@utility`; `csszyx check --rule dead-class` lists every one.
note: the class is still emitted, and it styles nothing.
docs: https://csszyx.com/e/dead-class
Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'dead-class': 'warn' }.
The level sets how the build and csszyx check report it. It does not change a console line, and it does not stop a thrown error.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
className | string |