Seat for shadcn/ui

Seat is a shadcn/ui theme built around a vivid light blue primary color (#dbe8ff) with vivid light indigo accents (#e1dbff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light blue primary (#dbe8ff) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fcfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#fcfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#dbe8fflavender
#dbe8fflavender
Primary foreground
#003ba8darkblue
#003ba8darkblue
Secondary
#dbfafflightcyan
#dbfafflightcyan
Secondary foreground
#003842darkslategray
#003842darkslategray
Muted
#d3e6e9gainsboro
#16292cdarkslategray
Muted foreground
#4b5658darkslategray
#a7b2b4darkgray
Accent
#e1dbfflavender
#e1dbfflavender
Accent foreground
#1900a8darkblue
#1900a8darkblue
Destructive
#b03707firebrick
#f7703btomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dbe8fflavender
#dbe8fflavender

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.75:1AAA
Secondary button11.61:1AAA
Muted text5.85:1AA
Accent9.83:1AAA
Destructive6.16:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.48:1AAA
Primary button7.75:1AAA
Secondary button11.61:1AAA
Muted text6.96:1AA
Accent9.83:1AAA
Destructive7.34:1AAA

CSS variables

Paste this into your globals.css to use Seat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.911 0.021 209.43);
  --muted-foreground: oklch(0.445 0.014 209.433);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.928 0.034 262.948);
  --primary-foreground: oklch(0.401 0.183 261.827);
  --secondary: oklch(0.964 0.032 209.434);
  --secondary-foreground: oklch(0.314 0.055 213.669);
  --accent: oklch(0.908 0.049 292.282);
  --accent-foreground: oklch(0.339 0.224 269.173);
  --destructive: oklch(0.512 0.165 37.628);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.928 0.034 262.948);
  --chart-1: oklch(0.928 0.034 262.948);
  --chart-2: oklch(0.964 0.032 209.434);
  --chart-3: oklch(0.908 0.049 292.282);
  --chart-4: oklch(0.979 0.019 209.432);
  --chart-5: oklch(0.928 0.035 262.943);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 263.051);
  --muted: oklch(0.266 0.026 209.899);
  --muted-foreground: oklch(0.755 0.013 209.434);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 263.051);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 263.051);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.928 0.034 262.948);
  --primary-foreground: oklch(0.401 0.183 261.827);
  --secondary: oklch(0.964 0.032 209.434);
  --secondary-foreground: oklch(0.314 0.055 213.669);
  --accent: oklch(0.908 0.049 292.282);
  --accent-foreground: oklch(0.339 0.224 269.173);
  --destructive: oklch(0.7 0.178 40.772);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.928 0.034 262.948);
  --chart-1: oklch(0.928 0.034 262.948);
  --chart-2: oklch(0.964 0.032 209.434);
  --chart-3: oklch(0.908 0.049 292.282);
  --chart-4: oklch(0.979 0.019 209.432);
  --chart-5: oklch(0.928 0.035 262.943);
}