shadcn/ui theme

Tidal is published as an installable shadcn/ui theme. Any project already on shadcn/ui can adopt Tidal’s colors, radius, fonts, and text rendering with a single command — no @liquidai/* packages required. It re-skins your existing shadcn components; it does not ship Tidal’s React components.

Install

From a project that already has shadcn/ui set up (a components.json):

npx shadcn@latest add https://tidal-design-system-docs.vercel.app/r/tidal-theme.json

This rewrites your globals.css :root / .dark variables to Tidal’s palette. Your Button, Card, Input, Chart, Sidebar, etc. then render in Tidal styling automatically.

What it sets

  • • Full color set, light + dark (background, card, popover, primary, secondary, muted, accent, destructive, border, input, ring, sidebar, and chart-1..5), in OKLCH.
  • • Radius (--radius: 0.375rem) and font families (Inter / Iowan Old Style / JetBrains Mono).
  • • Tidal’s global text rendering — antialiasing, Inter stylistic sets (ss01, cv11), and the 14px base.

What it does not set: per-component weights. shadcn’s components keep their own weights (e.g. a semibold CardTitle), so a vanilla shadcn app will read slightly heavier than Tidal proper. The theme carries color, radius, font, and rendering — not component code.

Monochrome controls, reserved lilac

Unlike most “branded” shadcn themes, this one keeps --primary neutral. Tidal’s primary CTA and every selected/checked/filled control (Switch, Checkbox, Slider, Progress, Tabs) are monochrome — shadcn drives all of those from --primary, so it maps to Tidal’s neutral inverse button, not the brand hue.

Lilac is reserved for where Tidal actually uses it: --ring (focus), --chart-1 (charts), and --sidebar-primary (active nav). It reproduces Tidal’s restraint, not just its color.

Theme vs. components

There are two ways to consume Tidal. Pick by what you want:

  • • This theme — you keep your own shadcn components and make them look like Tidal. Lowest commitment.
  • • The component library — install @liquidai/react to use Tidal’s actual components. See Installation.

Preview it first

The raw item lives at /r/tidal-theme.json. To preview Tidal on live shadcn components without installing, paste the theme’s CSS variables into a theme editor like tweakcn (note: editors apply the colors but not the global text-rendering block).

Regenerating (maintainers)

The theme is generated from Tidal’s resolved tokens, never hand-edited:

pnpm tokens:build      # refresh resolved tokens (if they changed)
pnpm registry:build    # → registry/* and apps/docs/public/r/tidal-theme.json

scripts/build-shadcn-registry.mjs holds the Tidal→shadcn slot map and a dependency-free hex→OKLCH converter, and writes the item into this site’s public/r/ so it ships with the deploy. Redeploy docs to publish.