Elevation
Elevation
Elevation is perceived stacking: the page, a raised card, an overlay, then a modal. Use it to show what is temporary (menus, dialogs) versus what is structural (inbox panes).
Do. Use elevation.overlay for a conversation action menu.
Don’t. Put a heavy modal shadow on every card. Raised is enough for list surfaces.
| Token | CSS | Value | Use it for |
|---|---|---|---|
elevation.surface | --fk-elevation-surface | none | Default page background. No shadow. |
elevation.raised | --fk-elevation-raised | 0 1px 2px rgb(11 11 20 / 0.06), 0 1px 0 rgb(11 11 20 / 0.04) | Cards, conversation list, settings panels. |
elevation.overlay | --fk-elevation-overlay | 0 8px 24px rgb(11 11 20 / 0.12) | Dropdowns, popovers, date pickers. |
elevation.modal | --fk-elevation-modal | 0 16px 40px rgb(11 11 20 / 0.18) | Dialogs, confirmation sheets. |