variable-shadow-opacity

A shadow size held in a variable, which op may not reach.

Message

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

[csszyx] variable-shadow-opacity: `<key>: { size: '<size>', op }` sets the shadow's alpha, which `<size>` uses only if it reads `--tw-shadow-alpha`.
  help: use a theme size or a `[…]` shadow.
  docs: https://csszyx.com/e/variable-shadow-opacity

Level

Default: info under recommended, warn under atomic. Set it in csszyx.config: rules: { 'variable-shadow-opacity': '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.

Arguments

The values this diagnostic names.

NameType
keystring
sizestring