The values everything is made of. Components read only these, so changing the surface, the density or the motion preference changes every screen at once. Press any name to copy it.
import '@sypnia/ui/css/tokens.css'or, as data,import tokens from '@sypnia/ui/tokens.json'
Surfaces
Components never use a palette colour directly. They use these names, which mean the same thing on night and on paper.
Night, the home surface
Paper
Palette
Night
The ink. A deep pine-teal, a real colour, never a tinted black.
Mist
Text and lines on night.
Paper
Lit by the glow, so it leans yellow-green, not cream.
Glow
Firefly light. The one colour that is unmistakably Sypnia.
Ember
Reserved for what is failing.
Supports
Dusk for information, dew for what is well, pollen for warnings, petal as a spare.
Type
Every bug leaves a light on.
Voice.Literata. What Sypnia says to the person: titles, empty states, questions.
Create a table, import a CSV, invite your team.
Interface.Instrument Sans. Everything the person reads and presses.
POST /cases/place-order → 201 in 38 ms
Machine.Martian Mono. What a machine said: code, ids, keys, logs.
Space, radius and shadow
Motion
One verb: to light up. Things fade in and travel at most --shift. With «reduce motion» on, every duration becomes instant and nothing loops; components do not handle it one by one. Press a row to play it.
Density
Compact applies by itself on screens under 52rem tall, or wherever data-density="compact" is set (try the density button in the header). On touch screens controls never go under 44 px, whatever the density.