这段内容尚未翻译,下面是英文原文。
Shadows are even on all sides
An edge, a glow or a shadow is the same on all sides: the offset is 0 (at most 1 px), the line is a ring of 1 px, the halo a blur. A shadow pushed down or sideways, or pulled in with a negative spread so that only one side shows, is not used. Take var(--sb-edge), var(--sb-shadow-lift), var(--sb-shadow-sheet) or var(--sb-glow).
What counts as a violation. A box-shadow or filter: drop-shadow() with a layer written in numbers whose x or y offset is larger than 1 px (in px, rem or em), for example 0 4px 12px rgb(0 0 0 / .1) or 0 8px 12px -6px .... A layer that is var(--...) is not looked at: the tokens of the style are built even (a test of the package guards that). inset layers count too.
Why. On a white page a white card has no edge but its shadow. A shadow only below the card reads as a floor under a stage prop. The owner chose an even edge on 29.11.2026: a 0.75 px line at 15 %, a soft rim, an 8 px halo, no offset (identity: a glow and any shadow are even on all sides, never only below).
How to fix. Offset 0, a wider blur, or a token. A lift on hover is a stronger even shadow plus transform: translateY(-1px) (class .sb-lift), not a deeper shadow.
Exceptions. A line (or the line above it) marked shtukbase-style: allow.
Run. shtuk run shtukbase-style shadow-even. A violation is a line with the file and the line number, exit code 1.
/norms/rules/shtukbase-style/SBS-R04.md。源文本