Elevation

Overview

Elevation is the distance between two surfaces on the z-axis — how stacked elements read as closer or farther from the viewer.

Z-axis and dark mode

In dark mode, elevation is created primarily by layering bg.default with bg.level 01 through bg.level 05 — each step lifts a surface above the last. Use side navigation on bg.default; place the main canvas on level 01; stack cards and panels on higher levels for hierarchy.

In light mode, zeroheight documents additional shadow-based elevation (elevation.level 0103) for depth beyond flat fills. See zeroheight for light-mode specs.

Background stack (dark)

Nested surfaces from outer (lowest) to inner (highest). Padding uses --space-md.

bg.default
bg.level 01
bg.level 02
bg.level 03
bg.level 04
bg.level 05
Alpha surfaces (subtle lift)

Semi-transparent fills for inputs, cards, and hover states — see Color.

--alpha-bg-default
--alpha-bg-strong
App chrome — shadows (WMG Chords)

The dashboard shell uses additional shadow tokens for navigation affordances (not the full elevation-level-01–03 set from the styleguide).

--sidebar-nav-item-shadow

0 4px 12px rgba(0, 0, 0, 0.15)

--sidebar-nav-active-gradient + shadow