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-overlay0 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-ring0 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-insetinset 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-live0 0 8px rgba(63,207,142,0.85)0 0 6px rgba(18,135,90,0.5)--glow-ai0 0 10px rgba(143,143,250,0.85)0 0 8px rgba(74,74,200,0.45)| Token | Use |
|---|---|
--shadow-overlay | Menus, tooltips and the card being dragged on a board |
--focus-ring | Keyboard focus on any interactive element, see Focus |
--focus-ring-inset | Focus on tabs, sidebar items and the tab strip, drawn inside the edge |
--glow-live | The dot of a live state |
--glow-ai | The 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