Elevation
Three layers, no more. Depth tells the operator what is page, what floats over the live view, and what interrupts it.
Layers
In dark mode shadows are weak, so every raised layer also gets a hairline edge.
0 · Surface
1 · Float
| Layer | Recipe | Use |
|---|---|---|
| 0 · Surface | bg-card ring-1 ring-border | Cards, list groups, tables. Sits in the page. |
| 1 · Float | bg-float shadow-float ring-1 ring-edge backdrop-blur-xl | Island and dock over the map. Translucent so the map stays visible. |
| 2 · Overlay | bg-popover shadow-overlay ring-1 ring-border + bg-(--scrim) behind | Dialogs, sheets, menus. Blocks or covers the page. |
- 0 · Surface
- Recipe
bg-card ring-1 ring-border- Use
- Cards, list groups, tables. Sits in the page.
- 1 · Float
- Recipe
bg-float shadow-float ring-1 ring-edge backdrop-blur-xl- Use
- Island and dock over the map. Translucent so the map stays visible.
- 2 · Overlay
- Recipe
bg-popover shadow-overlay ring-1 ring-border + bg-(--scrim) behind- Use
- Dialogs, sheets, menus. Blocks or covers the page.
Shadow and edge tokens
| Token | Light | Dark |
|---|---|---|
--shadow-float | 0 8px 24px rgb(9 9 11 / 0.12) | 0 8px 24px rgb(0 0 0 / 0.32) |
--shadow-overlay | 0 16px 40px rgb(9 9 11 / 0.18) | 0 16px 40px rgb(0 0 0 / 0.45) |
--edge | rgb(9 9 11 / 0.14) | rgb(255 255 255 / 0.12) |
--float | rgb(255 255 255 / 0.9) | rgb(32 32 38 / 0.86) |
--scrim | rgb(9 9 11 / 0.45) | rgb(0 0 0 / 0.66) |
--shadow-float- Light
0 8px 24px rgb(9 9 11 / 0.12)- Dark
0 8px 24px rgb(0 0 0 / 0.32)
--shadow-overlay- Light
0 16px 40px rgb(9 9 11 / 0.18)- Dark
0 16px 40px rgb(0 0 0 / 0.45)
--edge- Light
rgb(9 9 11 / 0.14)- Dark
rgb(255 255 255 / 0.12)
--float- Light
rgb(255 255 255 / 0.9)- Dark
rgb(32 32 38 / 0.86)
--scrim- Light
rgb(9 9 11 / 0.45)- Dark
rgb(0 0 0 / 0.66)