Estuary for shadcn/ui

Estuary is a shadcn/ui theme built around a vivid green primary color (#7df2a2) with muted light green accents (#c1d7c8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#7df2a2) on a neutral background (#020804).

Color palette

TokenLightDark
Background
#ffffffwhite
#020804black
Foreground
#020804black
#f5faf6whitesmoke
Card
#ffffffwhite
#020804black
Card foreground
#020804black
#f5faf6whitesmoke
Popover
#ffffffwhite
#020804black
Popover foreground
#020804black
#f5faf6whitesmoke
Primary
#7df2a2lightgreen
#7df2a2lightgreen
Primary foreground
#063815darkgreen
#063815darkgreen
Secondary
#dae2dcgainsboro
#202221black
Secondary foreground
#3d4d42darkslategray
#b8bcb9silver
Muted
#eceeedwhitesmoke
#111312black
Muted foreground
#464e49darkslategray
#b1b9b4silver
Accent
#c1d7c8lightgrey
#2f3c33darkslategray
Accent foreground
#283e2fdarkslategray
#c9d4cclightgrey
Destructive
#681703maroon
#f94f24orangered
Destructive foreground
#fdb3a1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7df2a2lightgreen
#7df2a2lightgreen

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button9.54:1AAA
Secondary button6.78:1AA
Muted text7.37:1AAA
Accent7.60:1AAA
Destructive7.06:1AAA
Dark mode
Text on background19.13:1AAA
Text on card19.13:1AAA
Primary button9.54:1AAA
Secondary button8.31:1AAA
Muted text9.31:1AAA
Accent7.58:1AAA
Destructive3.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.018 156.152);
  --muted: oklch(0.948 0.002 156.508);
  --muted-foreground: oklch(0.414 0.013 155.946);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.018 156.152);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.018 156.152);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.873 0.155 152.253);
  --primary-foreground: oklch(0.298 0.079 148.963);
  --secondary: oklch(0.905 0.011 156.314);
  --secondary-foreground: oklch(0.403 0.028 155.099);
  --accent: oklch(0.859 0.032 155.808);
  --accent-foreground: oklch(0.341 0.039 154.031);
  --destructive: oklch(0.343 0.118 34.579);
  --destructive-foreground: oklch(0.831 0.09 34.569);
  --ring: oklch(0.873 0.155 152.253);
  --chart-1: oklch(0.873 0.155 152.253);
  --chart-2: oklch(0.905 0.011 156.314);
  --chart-3: oklch(0.859 0.032 155.808);
  --chart-4: oklch(0.927 0.009 156.376);
  --chart-5: oklch(0.877 0.16 152.101);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.018 156.159);
  --foreground: oklch(0.98 0.007 156.41);
  --muted: oklch(0.183 0.004 156.151);
  --muted-foreground: oklch(0.778 0.011 156.283);
  --popover: oklch(0.123 0.018 156.159);
  --popover-foreground: oklch(0.98 0.007 156.41);
  --card: oklch(0.123 0.018 156.159);
  --card-foreground: oklch(0.98 0.007 156.41);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.873 0.155 152.253);
  --primary-foreground: oklch(0.298 0.079 148.963);
  --secondary: oklch(0.25 0.004 156.252);
  --secondary-foreground: oklch(0.792 0.006 156.409);
  --accent: oklch(0.341 0.023 155.167);
  --accent-foreground: oklch(0.86 0.017 156.175);
  --destructive: oklch(0.662 0.214 34.581);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.873 0.155 152.253);
  --chart-1: oklch(0.873 0.155 152.253);
  --chart-2: oklch(0.25 0.004 156.252);
  --chart-3: oklch(0.341 0.023 155.167);
  --chart-4: oklch(0.282 0.005 156.234);
  --chart-5: oklch(0.877 0.16 152.101);
}