UpRys
Downloads
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-0

Flat — on-page content, dividers by hairline only.

1
--elevation-1

Resting cards, subtle lift off the bone background.

2
--elevation-2

Raised cards, popovers, hover states.

3
--elevation-3

Dropdowns, menus, floating panels.

4
--elevation-4

Modals 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