non-variant-objectAn object on a csszyx-owned key that is not a variant.
csszyx check lists it.A name in angle brackets is a value the message fills in.
[csszyx] non-variant-object: `<key>` is not a variant, so its object emits `<key>:` classes that produce no CSS.
help: a `--*` key takes a declaration value; `container` takes `true`.
docs: https://csszyx.com/e/non-variant-object
Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'non-variant-object': '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 | |
|---|---|---|
key | string |