Search Open Water Design
Elevation and materials.
In dark, depth comes from the surface: what rises is lighter. Shadow is for what floats, and glass for what passes over the content.
In design Updated November 24, 2026
Elevation by surface
Each level tells how it separates from what’s behind it: a card, by its layer; a menu, by its layer and its shadow; a sheet and a modal, by the veil.
| Level | Surface | Shadow | Separated by |
|---|---|---|---|
| Card | Raised | None | Its layer, lighter than the base. |
| Menu and popover | Overlay | --cu-shadow-menu | Its layer, the lightest, and its shadow. |
| Sheet | Raised, over the veil | --cu-shadow-sheet | The veil, which dims what’s behind. |
| Modal | Raised, over the veil | --cu-shadow-modal | The veil and the deepest shadow. |
In design. Ops dialogs already float with --cu-shadow-modal; the card, the menu, the sheet and glass arrive with their components.
Shadows
Four shadows, one per level. In dark they barely show: the shadow goes with the layer, it doesn’t replace it.
| Shadow | Dark | Light |
|---|---|---|
--cu-shadow-card | None. | 0 1 2 at 6% and a 1 px edge at 4%. |
--cu-shadow-menu | 0 10 30 −12, black at 60%. | 0 10 30 −12 at 28% and a 1 px edge at 5%. |
--cu-shadow-sheet | 0 24 60 −24, black at 70%. | 0 24 60 −24 at 32%. |
--cu-shadow-modal | 0 30 90 −30, black at 80%. | 0 30 80 −30 at 40%. |
Offset, blur and spread, in px. In a light theme, the shadow’s color is the theme’s ink.
-
Only what floats
A card has no shadow in dark: its layer separates it.
-
A control, none
The switch’s thumb is the only shadow on a control.
-
No white borders
What floats over graphite doesn’t carry a visible white border.
The veil
The veil dims what stays behind a sheet or a modal. It isn’t a layer: it says the rest is waiting.
-
Black at 50%
In dark,
--cu-veilis black at 50%; in light, the theme’s ink at 28%. -
The sheet is raised
Above the veil, the sheet uses the raised layer; what goes inside it, the overlay.
Glass
One blur, 20 px with saturation at ×1.6, and three thicknesses that let less through each time.
| Thickness | Role | Dark | For | Text on it |
|---|---|---|---|---|
| Thin | --cu-glass-thin | Graphite-20 at 62% | Bars over the page. | Text 1 only: 4.6:1. |
| Regular | --cu-glass-regular | Graphite-29 at 72% | Menus and popovers. | Text 1 only: 5.1:1. |
| Thick | --cu-glass-thick | Graphite-29 at 88% | Sheets. | Text 1 and 2: 8.6:1 and 4.6:1. |
The worst case is the most contrasting thing that can pass behind: white in dark, black in light. Text 3 goes only on the opaque fallback.
Accessibility
-
Reduced transparency
With
prefers-reduced-transparency, glass becomes its opaque fallback: the same color, without transparency. -
No blur
Where the browser has no
backdrop-filter, glass is its opaque fallback too. -
Measured contrast
Text on glass is measured against the most contrasting thing that can pass behind, not today’s background.
-
Forced colors
Shadows aren’t painted: what floats separates with the system border.
Motion
-
What floats, with sheet
A sheet, a modal or a menu opens with
sheetand closes withebb, which takes about half as long. -
The veil doesn’t travel
It appears and leaves with what it covers, in place.
-
Reduced motion
Nothing rises or drops: everything fades in place in 200 ms.
Light and dark
In dark the surface separates; in light, where almost everything is white, the shadow does the work.
| Dark | Light | |
|---|---|---|
| The card | Its layer, no shadow. | White on the gray base, with its 1 px shadow. |
| What floats | The lightest layer and its black shadow. | Its shadow, in the theme’s ink. |
| The veil | Black at 50%. | The ink at 28%. |
| Glass | Graphite at 62, 72 and 88%. | White at 62, 72 and 88%. |
| Text on thin glass | 4.6:1 | 6.6:1 |
In a client theme
-
Changes
The color of the shadows, the veil and glass, which come from the theme’s ink.
-
Stays
The levels, the blur, the three thicknesses and the rule for text on glass.
In code
The shadows are --cu-shadow-card, -menu, -sheet and -modal; the veil, --cu-veil; glass, --cu-glass-thin, -regular and -thick, with --cu-glass-blur and --cu-glass-saturate.
Changes
- Elevation and materials · System
New guide, in design: elevation by surface, the shadows of what floats, the veil and the three thicknesses of glass.