variable-shadow-opacityA shadow size held in a variable, which op may not reach.
csszyx check lists it.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
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.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
key | string | |
size | string |