Watcher for shadcn/ui

Watcher is a shadcn/ui theme built around a muted teal primary color (#b5c0bb) with muted pink accents (#c0b5b9). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#b5c0bb) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#fbfefdwhite
#050a08black
Foreground
#010403black
#fcfdfdwhite
Card
#fbfefdwhite
#050a08black
Card foreground
#010403black
#fcfdfdwhite
Popover
#fbfefdwhite
#050a08black
Popover foreground
#010403black
#fcfdfdwhite
Primary
#b5c0bbsilver
#b5c0bbsilver
Primary foreground
#1e2422black
#1e2422black
Secondary
#c0b5b9silver
#c0b5b9silver
Secondary foreground
#241e21black
#241e21black
Muted
#eadce2gainsboro
#23151bblack
Muted foreground
#6c5a62dimgray
#a5939arosybrown
Accent
#c0b5b9silver
#c0b5b9silver
Accent foreground
#241e21black
#241e21black
Destructive
#a03c0dsaddlebrown
#ed5e1dchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b5c0bbsilver
#b5c0bbsilver

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button8.40:1AAA
Secondary button8.19:1AAA
Muted text4.82:1AA
Accent8.19:1AAA
Destructive6.67:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button8.40:1AAA
Secondary button8.19:1AAA
Muted text6.06:1AA
Accent8.19:1AAA
Destructive6.22:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 168.654);
  --foreground: oklch(0.098 0.012 168.97);
  --muted: oklch(0.907 0.018 349.277);
  --muted-foreground: oklch(0.49 0.026 350.154);
  --popover: oklch(0.994 0.003 168.654);
  --popover-foreground: oklch(0.098 0.012 168.97);
  --card: oklch(0.994 0.003 168.654);
  --card-foreground: oklch(0.098 0.012 168.97);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.797 0.014 168.24);
  --primary-foreground: oklch(0.253 0.009 167.725);
  --secondary: oklch(0.783 0.014 349.228);
  --secondary-foreground: oklch(0.244 0.009 349.745);
  --accent: oklch(0.783 0.014 349.228);
  --accent-foreground: oklch(0.244 0.009 349.745);
  --destructive: oklch(0.49 0.144 40.835);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.797 0.014 168.24);
  --chart-1: oklch(0.797 0.014 168.24);
  --chart-2: oklch(0.783 0.014 349.228);
  --chart-3: oklch(0.783 0.014 349.228);
  --chart-4: oklch(0.807 0.012 349.157);
  --chart-5: oklch(0.8 0.019 168.055);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.011 168.881);
  --foreground: oklch(0.993 0.001 168.697);
  --muted: oklch(0.217 0.026 351.877);
  --muted-foreground: oklch(0.68 0.024 349.683);
  --popover: oklch(0.138 0.011 168.881);
  --popover-foreground: oklch(0.993 0.001 168.697);
  --card: oklch(0.138 0.011 168.881);
  --card-foreground: oklch(0.993 0.001 168.697);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.797 0.014 168.24);
  --primary-foreground: oklch(0.253 0.009 167.725);
  --secondary: oklch(0.783 0.014 349.228);
  --secondary-foreground: oklch(0.244 0.009 349.745);
  --accent: oklch(0.783 0.014 349.228);
  --accent-foreground: oklch(0.244 0.009 349.745);
  --destructive: oklch(0.659 0.19 41.215);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.797 0.014 168.24);
  --chart-1: oklch(0.797 0.014 168.24);
  --chart-2: oklch(0.783 0.014 349.228);
  --chart-3: oklch(0.783 0.014 349.228);
  --chart-4: oklch(0.807 0.012 349.157);
  --chart-5: oklch(0.8 0.019 168.055);
}