Thorough for shadcn/ui

Thorough is a shadcn/ui theme built around a muted light green primary color (#f0f5f1) with muted light teal accents (#f0f5f3). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted light green primary (#f0f5f1) on a neutral background (#020803).

Color palette

TokenLightDark
Background
#fbfefcwhite
#020803black
Foreground
#000000black
#f8fcf9mintcream
Card
#f8fcf8mintcream
#030c05black
Card foreground
#000000black
#fcfdfcwhite
Popover
#f8fcf8mintcream
#030c05black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#f0f5f1whitesmoke
#f0f5f1whitesmoke
Primary foreground
#1f2d22darkslategray
#1f2d22darkslategray
Secondary
#f1f5f0whitesmoke
#f1f5f0whitesmoke
Secondary foreground
#242d1fdarkslategray
#242d1fdarkslategray
Muted
#eff1efwhitesmoke
#0f100eblack
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#f0f5f3whitesmoke
#f0f5f3whitesmoke
Accent foreground
#1f2d29darkslategray
#1f2d29darkslategray
Destructive
#d82703firebrick
#f12b04orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0f5f1whitesmoke
#f0f5f1whitesmoke

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.27:1AAA
Primary button13.02:1AAA
Secondary button12.93:1AAA
Muted text6.66:1AA
Accent12.96:1AAA
Destructive4.99:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.43:1AAA
Primary button13.02:1AAA
Secondary button12.93:1AAA
Muted text8.29:1AAA
Accent12.96:1AAA
Destructive4.12:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 150.775);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.956 0.003 134.844);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.987 0.007 150.728);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.987 0.007 150.728);
  --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.964 0.007 150.721);
  --primary-foreground: oklch(0.281 0.028 149.352);
  --secondary: oklch(0.965 0.007 134.862);
  --secondary-foreground: oklch(0.284 0.028 135.353);
  --accent: oklch(0.965 0.005 174.428);
  --accent-foreground: oklch(0.283 0.02 172.269);
  --destructive: oklch(0.568 0.214 31.947);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.964 0.007 150.721);
  --chart-1: oklch(0.964 0.007 150.721);
  --chart-2: oklch(0.965 0.007 134.862);
  --chart-3: oklch(0.965 0.005 174.428);
  --chart-4: oklch(0.986 0.003 134.841);
  --chart-5: oklch(0.965 0.008 150.705);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.022 149.773);
  --foreground: oklch(0.987 0.005 150.75);
  --muted: oklch(0.172 0.005 134.97);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.141 0.025 149.673);
  --popover-foreground: oklch(0.993 0.003 150.786);
  --card: oklch(0.141 0.025 149.673);
  --card-foreground: oklch(0.993 0.003 150.786);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.964 0.007 150.721);
  --primary-foreground: oklch(0.281 0.028 149.352);
  --secondary: oklch(0.965 0.007 134.862);
  --secondary-foreground: oklch(0.284 0.028 135.353);
  --accent: oklch(0.965 0.005 174.428);
  --accent-foreground: oklch(0.283 0.02 172.269);
  --destructive: oklch(0.617 0.233 31.827);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.964 0.007 150.721);
  --chart-1: oklch(0.964 0.007 150.721);
  --chart-2: oklch(0.965 0.007 134.862);
  --chart-3: oklch(0.965 0.005 174.428);
  --chart-4: oklch(0.986 0.003 134.841);
  --chart-5: oklch(0.965 0.008 150.705);
}