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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 9.54:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 7.60:1 | AAA |
| Destructive | 7.06:1 | AAA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 9.54:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 9.31:1 | AAA |
| Accent | 7.58:1 | AAA |
| Destructive | 3.39:1 | AA Large |
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);
}