sibling-keywordA value that emits a class setting another property than its key sets.
csszyx check reports it in its sibling-keyword pass.A name in angle brackets is a value the message fills in.
[csszyx] sibling-keyword: `<key>: '<value>'` emits `<className>`, which sets <sets>, not the property `<key>` sets.
help: move the value to the key that sets <sets>, or declare a theme token named `<value>` if the spelling was deliberate.
note: `<className>` produces CSS, so no other check reports it.
docs: https://csszyx.com/e/sibling-keyword
Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'sibling-keyword': 'warn' }.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
key | string | |
value | string | |
className | string | |
sets | string[] |