Skip to Content
Tokens

Shadows

The overlay shadow, the focus rings and the glows.

Nocturne has few shadows. Surfaces are separated by their grey steps and hairlines. A shadow marks what floats, the ring marks keyboard focus, and the glows mark what moves.

--shadow-overlay
0 12px 32px rgba(0,0,0,0.5)
0 1px 2px rgba(17,17,20,0.06), 0 12px 32px rgba(17,17,20,0.12)
--focus-ring
0 0 0 1px #8F8FFA, 0 0 0 4px rgba(98,98,238,0.30)
0 0 0 1px #4A4AC8, 0 0 0 4px rgba(91,91,224,0.25)
--focus-ring-inset
inset 0 0 0 1px #8F8FFA, inset 0 0 0 3px rgba(98,98,238,0.30)
inset 0 0 0 1px #4A4AC8, inset 0 0 0 3px rgba(91,91,224,0.25)
--glow-live
0 0 8px rgba(63,207,142,0.85)
0 0 6px rgba(18,135,90,0.5)
--glow-ai
0 0 10px rgba(143,143,250,0.85)
0 0 8px rgba(74,74,200,0.45)
TokenUse
--shadow-overlayMenus, tooltips and the card being dragged on a board
--focus-ringKeyboard focus on any interactive element, see Focus
--focus-ring-insetFocus on tabs, sidebar items and the tab strip, drawn inside the edge
--glow-liveThe dot of a live state
--glow-aiThe dot of the assistant's state

Only live and ai states glow. The moving part of a Widget has the hue and its glow.

Edit on GitHub

Last updated on