Design system

Design system

The tokens every screen is built from, read live from src/styles/tokens.css. Tokens only — no component library.

Neural Nova design tokens — the single source of truth for every value a screen is built from.

Primitives

The hue scales. Private: no utility is generated from them and no component names one — the semantic tokens below point here.

Base

var(--palette-white)

#ffffff

var(--palette-black)

#000000

Gray scale

var(--palette-gray-25)

#fdfdfd

var(--palette-gray-50)

#fafafa

var(--palette-gray-75)

#f9f9fb

var(--palette-gray-100)

#ebebeb

var(--palette-gray-150)

#e7e6e8

var(--palette-gray-200)

#e1e3e8

var(--palette-gray-250)

#e2e2e2

var(--palette-gray-300)

#d9d9d9

var(--palette-gray-400)

#96999f

var(--palette-gray-450)

#808080

var(--palette-gray-500)

#737373

var(--palette-gray-550)

#666666

var(--palette-gray-600)

#616161

var(--palette-gray-900)

#171717

Purple scale

var(--palette-purple-300)

#c4caff

var(--palette-purple-400)

#8979ff

var(--palette-purple-500)

#5968fc

Green scale

var(--palette-green-50)

#e7f6ec

var(--palette-green-400)

#21b019

var(--palette-green-500)

#0ea041

Red scale

var(--palette-red-500)

#d93036

Tw zinc scale

Tailwind's default palette — the placeholder wireframe theme only.

var(--palette-tw-zinc-50)

oklch(98.5% 0 none)

var(--palette-tw-zinc-100)

oklch(96.7% 0.001 286.375)

var(--palette-tw-zinc-200)

oklch(92% 0.004 286.32)

var(--palette-tw-zinc-300)

oklch(87.1% 0.006 286.286)

var(--palette-tw-zinc-400)

oklch(70.5% 0.015 286.067)

var(--palette-tw-zinc-500)

oklch(55.2% 0.016 285.938)

var(--palette-tw-zinc-600)

oklch(44.2% 0.017 285.786)

var(--palette-tw-zinc-700)

oklch(37% 0.013 285.805)

var(--palette-tw-zinc-800)

oklch(27.4% 0.006 286.033)

var(--palette-tw-zinc-900)

oklch(21% 0.006 285.885)

Tw red scale

Tailwind's default palette — the placeholder wireframe theme only.

var(--palette-tw-red-200)

oklch(88.5% 0.062 18.334)

var(--palette-tw-red-400)

oklch(70.4% 0.191 22.216)

var(--palette-tw-red-500)

oklch(63.7% 0.237 25.331)

var(--palette-tw-red-600)

oklch(57.7% 0.245 27.325)

Tw emerald scale

Tailwind's default palette — the placeholder wireframe theme only.

var(--palette-tw-emerald-100)

oklch(95% 0.052 163.051)

var(--palette-tw-emerald-600)

oklch(59.6% 0.145 163.225)

Semantic tokens

What components write — shadcn's names plus a few semantic extensions, each with the Tailwind utility it becomes: bg-background, text-foreground, bg-primary, border-border…

bg-background

= gray-75

text-foreground

= black

bg-card

= white

text-popover-foreground

= gray-900

text-primary-foreground

= white

bg-destructive

= red-500

border-border

= gray-200

border-input

= gray-250

ring-ring

= purple-400

bg-chart-1

= purple-400

bg-chart-2

= gray-550

bg-sidebar

= white

text-sidebar-foreground

= gray-900

text-sidebar-primary-foreground

= white

text-sidebar-accent-foreground

= black

ring-sidebar-ring

= purple-400

bg-overlay

color-mix( in srgb, var(--palette-gray-300) 70%, transparent )

Scoped theme .wireframe

The semantic tokens .wireframe re-points for the subtree that carries the class — painted here inside that class.

bg-background

= tw-zinc-50

text-foreground

= tw-zinc-900

bg-card

= white

bg-primary

= tw-zinc-900

text-primary-foreground

= white

bg-muted

= tw-zinc-100

text-tertiary-foreground

= tw-zinc-500

text-hint

= tw-zinc-400

bg-muted-strong

= tw-zinc-300

bg-accent

= tw-zinc-200

border-border

= tw-zinc-200

border-input

= tw-zinc-300

ring-ring

= tw-zinc-200

bg-destructive

= tw-red-600

bg-success-muted

= tw-emerald-100

text-success-muted-foreground

= tw-emerald-600

bg-primary-hover

= tw-zinc-800

border-destructive-border

= tw-red-400

ring-destructive-ring

= tw-red-200

Type

The type roles, each a size / line height (px) / weight, as `text-<role>` utilities that set all three — set in the product font (--font-sans), except a role that names its own (code → --font-code).

text-display

20px / 28px / 600

The quick brown fox jumps over the lazy dog

text-title

16px / 24px / 500

The quick brown fox jumps over the lazy dog

text-subtitle

14px / 20px / 500

The quick brown fox jumps over the lazy dog

text-body

13px / 20px / 400

The quick brown fox jumps over the lazy dog

text-label

12px / 16px / 500

The quick brown fox jumps over the lazy dog

text-caption

10px / 12px / 500

The quick brown fox jumps over the lazy dog

text-code

12px / 20px / 400

The quick brown fox jumps over the lazy dog

Radius

The named radii, as Tailwind `rounded-*` utilities.

rounded-control

0.25rem

rounded-panel

0.375rem

rounded-card

0.5rem

rounded-shell

0.625rem

rounded-pill

62.4375rem

Breakpoints

Min-width breakpoints, as Tailwind variants (`laptop:`, `desktop:`, …).

sm:

40rem

md:

48rem

lg:

64rem

xl:

80rem

2xl:

96rem

laptop:

80rem

desktop:

90rem

wide:

120rem

Elevation

The shadow tokens, named by elevation (raised, floating, modal), as Tailwind `shadow-*` utilities, shown on the product's own page colour.

shadow-raised

0 0 2px rgb(0 0 0 / 15%)

shadow-floating

0 4px 14px rgb(0 0 0 / 10%)

shadow-modal

0 12px 32px rgb(0 0 0 / 16%)

Control heights

Named spacing steps for control heights, as Tailwind utilities (`h-control-md`, `min-h-*`, `size-*`).

h-control-sm

1.75rem

h-control-md

2.25rem

h-control-lg

2.75rem

Strokes

The border-weight tokens.

--stroke-hairline

1px

--stroke-series

0.09375rem

--stroke-slider

0.5rem