Foundations · Tokens
Elevation
Shadows are tinted with ink, never neutral grey — so lift feels warm and on-brand. Five levels, used sparingly. Most of the system sits flat; elevation earns attention.
0
--elevation-0Flat — on-page content, dividers by hairline only.
1
--elevation-1Resting cards, subtle lift off the bone background.
2
--elevation-2Raised cards, popovers, hover states.
3
--elevation-3Dropdowns, menus, floating panels.
4
--elevation-4Modals and dialogs — the top of the stack.
Z-index scale
Stacking order is tokenized too — never hand-pick a magic z-index.
--z-base0--z-dropdown40--z-sticky40--z-overlay50--z-modal50--z-toast60--z-tooltip70