Skip to content

Design system

The parts Sangria is made of

Tokens, primitives, patterns and whole screens. The primitives are the app's own files, imported rather than rebuilt, so if one renders wrong here it renders wrong in the product.

primitives
25
primitives
workspace themes
22
workspace themes
modes, both checked
2
modes, both checked

Explore

Every workspace theme

Each theme's rail colour and its accent, read from shared/themes.ts.

See them in detail
  • Classic

  • Onyx

  • Aurora

  • Nebula

  • Forest

  • Ember

  • Slate

  • Rose

  • Monokai Pro

  • Dracula

  • Nord

  • Solarized Dark

  • Gruvbox Dark

  • One Dark

  • Material

  • Catppuccin Mocha

  • Tokyo Night

  • Night Owl

  • GitHub

  • GitLab

  • Gitea

  • Claude

How this stays true

The app owns the code; this repo holds a copy so it can build on its own. Copies rot, so the copy is checked.

  1. Step 1

    Design here first

    Variants, themes and states are explored on these pages, in both modes, before the app changes.

  2. Step 2

    Port, then re-copy

    The change lands in the app, which owns the code. The files are copied back here byte for byte.

  3. Step 3

    check:sync keeps it honest

    Every primitive, the theme file, the accent helpers, NativeSelect, the Tailwind config and the token layer are compared with the app. Any difference fails.

bun run check:sync