runtime-value

A runtime value on a key with no CSS-variable utility.

Message

A name in angle brackets is a value the message fills in.

[csszyx] runtime-value: `<key>` cannot take a runtime value: Tailwind has no utility for this key that reads a CSS variable.
  help: name the values with `szv()`, or use `dynamic()` for open-ended data.
  note: no class or variable is emitted for `<key>`.
  docs: https://csszyx.com/e/runtime-value

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'runtime-value': 'warn' }.

Arguments

The values this diagnostic names.

NameType
keystring