Elevation
Line vs raised; the exact shadow recipes.
Every raised thing has an ink edge ring (8 %) and a crisp 0 1px 2px drop (ink 12 %), never pure black. A card is one step higher (one short 0 3px 4px -2px drop). An overlay adds one short drop: 4 px for menus, 6 px for modals. Never a big, soft blur, never a lit top edge. Paper has no shadow token type, so each recipe is a CSS token in globals.css and a Tailwind class. Copy the class; never write a new box-shadow.
Line vs raised
The one rule that decides most edges.
Line · --input
Only fields you type in: Input, Textarea, search. White with a 1px inner line at 42 % (3.0:1), no drop. Why: older users must find the box before they can type.
Nama lengkapRaised · --shadow-button
Everything you click: buttons, Select and DateField triggers, ChoiceCard/RadioCard, chosen-file rows. Why: a raised surface reads as “press me”, a line reads as “type here”.
Recipes
Levels: page (no shadow) → raised button → card (one short drop more) → menu → modal.
--shadow-button0 0 0 1px var(--edge), 0 1px 2px var(--shadow)--shadow-card0 0 0 1px var(--card-edge), 0 1px 2px var(--shadow), 0 3px 4px -2px var(--shadow-short)--shadow-fieldvar(--shadow-button)--shadow-focusinset 0 0 0 1px var(--ring), 0 0 0 1px var(--ring), 0 1px 2px transparent--shadow-errorinset 0 0 0 2px var(--danger)--shadow-badge-{status}0 0 0 1px var(--{status}-edge), 0 1px 2px var(--{status}-drop)--shadow-menu0 0 0 1px var(--edge), 0 1px 2px var(--overlay-drop), 0 4px 8px -4px var(--overlay-shadow)--shadow-modal0 0 0 1px var(--card-edge), 0 1px 2px var(--overlay-drop), 0 6px 8px -4px var(--overlay-shadow)--shadow-primary0 0 0 1px var(--card), 0 1px 2px var(--shadow)--shadow-paper0 0 0 1px var(--edge), 0 6px 8px -4px var(--shadow-mid-color)Backdrop
Behind dialogs and sheets only.