Beet for shadcn/ui

Beet is a shadcn/ui theme built around a light teal primary color (#a5dfcf) with muted light teal accents (#dbe1df). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#a5dfcf) on a teal-tinted background (#050a09).

Color palette

TokenLightDark
Background
#fbfefdwhite
#050a09black
Foreground
#030d0ablack
#fcfdfdwhite
Card
#f7fdfbmintcream
#070d0cblack
Card foreground
#020807black
#ffffffwhite
Popover
#f7fdfbmintcream
#070d0cblack
Popover foreground
#020807black
#ffffffwhite
Primary
#a5dfcflightblue
#a5dfcflightblue
Primary foreground
#163c32darkslategray
#163c32darkslategray
Secondary
#dbe1dfgainsboro
#2d3936darkslategray
Secondary foreground
#3f4a47darkslategray
#c6d2cflightgrey
Muted
#e5ebealavender
#141a18black
Muted foreground
#5f6362dimgray
#9ca09fdarkgray
Accent
#dbe1dfgainsboro
#2d3936darkslategray
Accent foreground
#3f4a47darkslategray
#c6d2cflightgrey
Destructive
#902009darkred
#f1411eorangered
Destructive foreground
#fcd7cfbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a5dfcflightblue
#a5dfcflightblue

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.55:1AAA
Primary button8.11:1AAA
Secondary button6.92:1AA
Muted text5.05:1AA
Accent6.92:1AA
Destructive6.59:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.55:1AAA
Primary button8.11:1AAA
Secondary button7.71:1AAA
Muted text6.66:1AA
Accent7.71:1AAA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 178.7);
  --foreground: oklch(0.145 0.019 178.024);
  --muted: oklch(0.935 0.007 178.56);
  --muted-foreground: oklch(0.495 0.005 178.485);
  --popover: oklch(0.988 0.006 178.615);
  --popover-foreground: oklch(0.126 0.016 178.895);
  --card: oklch(0.988 0.006 178.615);
  --card-foreground: oklch(0.126 0.016 178.895);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.859 0.063 176.475);
  --primary-foreground: oklch(0.325 0.047 173.101);
  --secondary: oklch(0.904 0.006 178.591);
  --secondary-foreground: oklch(0.4 0.015 177.66);
  --accent: oklch(0.904 0.006 178.591);
  --accent-foreground: oklch(0.4 0.015 177.66);
  --destructive: oklch(0.429 0.151 32.713);
  --destructive-foreground: oklch(0.907 0.043 31.211);
  --ring: oklch(0.859 0.063 176.475);
  --chart-1: oklch(0.859 0.063 176.475);
  --chart-2: oklch(0.904 0.006 178.591);
  --chart-3: oklch(0.904 0.006 178.591);
  --chart-4: oklch(0.926 0.005 178.64);
  --chart-5: oklch(0.862 0.066 176.331);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 178.845);
  --foreground: oklch(0.994 0.002 178.725);
  --muted: oklch(0.211 0.01 177.321);
  --muted-foreground: oklch(0.702 0.005 178.591);
  --popover: oklch(0.153 0.011 177.277);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.011 177.277);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.859 0.063 176.475);
  --primary-foreground: oklch(0.325 0.047 173.101);
  --secondary: oklch(0.333 0.017 177.202);
  --secondary-foreground: oklch(0.854 0.014 178.305);
  --accent: oklch(0.333 0.017 177.202);
  --accent-foreground: oklch(0.854 0.014 178.305);
  --destructive: oklch(0.633 0.217 32.905);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.859 0.063 176.475);
  --chart-1: oklch(0.859 0.063 176.475);
  --chart-2: oklch(0.333 0.017 177.202);
  --chart-3: oklch(0.333 0.017 177.202);
  --chart-4: oklch(0.364 0.019 177.157);
  --chart-5: oklch(0.862 0.066 176.331);
}