Watchful for shadcn/ui

Watchful is a shadcn/ui theme built around a muted light teal primary color (#ebefee) with muted light yellow accents (#efeeeb). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the muted light teal primary (#ebefee) on a neutral background (#020403).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#020403black
Foreground
#040c0ablack
#f8fcfbmintcream
Card
#fbfdfdwhite
#020403black
Card foreground
#040c0ablack
#f8fcfbmintcream
Popover
#fbfdfdwhite
#020403black
Popover foreground
#040c0ablack
#f8fcfbmintcream
Primary
#ebefeewhitesmoke
#ebefeewhitesmoke
Primary foreground
#1d2523black
#1d2523black
Secondary
#eeebefwhitesmoke
#eeebefwhitesmoke
Secondary foreground
#59495fdimgray
#59495fdimgray
Muted
#dbd3degainsboro
#29212cdarkslategray
Muted foreground
#59515cdimgray
#aba3aedarkgray
Accent
#efeeeblinen
#efeeeblinen
Accent foreground
#25231dblack
#25231dblack
Destructive
#8a200adarkred
#ef4625orangered
Destructive foreground
#fbd3cbbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebefeewhitesmoke
#ebefeewhitesmoke

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button13.54:1AAA
Secondary button6.98:1AA
Muted text5.23:1AA
Accent13.57:1AAA
Destructive6.70:1AA
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button13.54:1AAA
Secondary button6.98:1AA
Muted text6.37:1AA
Accent13.57:1AAA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 178.716);
  --foreground: oklch(0.142 0.016 178.464);
  --muted: oklch(0.877 0.017 317.146);
  --muted-foreground: oklch(0.448 0.019 317.091);
  --popover: oklch(0.994 0.002 178.716);
  --popover-foreground: oklch(0.142 0.016 178.464);
  --card: oklch(0.994 0.002 178.716);
  --card-foreground: oklch(0.142 0.016 178.464);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.95 0.005 178.625);
  --primary-foreground: oklch(0.257 0.013 177.247);
  --secondary: oklch(0.944 0.007 317.172);
  --secondary-foreground: oklch(0.431 0.041 316.971);
  --accent: oklch(0.95 0.005 90.159);
  --accent-foreground: oklch(0.257 0.012 90.391);
  --destructive: oklch(0.417 0.145 32.826);
  --destructive-foreground: oklch(0.898 0.047 31.235);
  --ring: oklch(0.95 0.005 178.625);
  --chart-1: oklch(0.95 0.005 178.625);
  --chart-2: oklch(0.944 0.007 317.172);
  --chart-3: oklch(0.95 0.005 90.159);
  --chart-4: oklch(0.968 0.004 317.18);
  --chart-5: oklch(0.95 0.006 178.589);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.008 178.855);
  --foreground: oklch(0.987 0.004 178.658);
  --muted: oklch(0.261 0.023 316.99);
  --muted-foreground: oklch(0.725 0.017 317.135);
  --popover: oklch(0.097 0.008 178.855);
  --popover-foreground: oklch(0.987 0.004 178.658);
  --card: oklch(0.097 0.008 178.855);
  --card-foreground: oklch(0.987 0.004 178.658);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.95 0.005 178.625);
  --primary-foreground: oklch(0.257 0.013 177.247);
  --secondary: oklch(0.944 0.007 317.172);
  --secondary-foreground: oklch(0.431 0.041 316.971);
  --accent: oklch(0.95 0.005 90.159);
  --accent-foreground: oklch(0.257 0.012 90.391);
  --destructive: oklch(0.635 0.21 33.073);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.95 0.005 178.625);
  --chart-1: oklch(0.95 0.005 178.625);
  --chart-2: oklch(0.944 0.007 317.172);
  --chart-3: oklch(0.95 0.005 90.159);
  --chart-4: oklch(0.968 0.004 317.18);
  --chart-5: oklch(0.95 0.006 178.589);
}