Sea Pea Ape is a shadcn/ui theme built around a muted teal primary color (#487a75) with muted blue accents (#48667a). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the muted teal primary (#487a75) on a teal-tinted background (#050f0e).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #050f0eblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #f4fbfamintcream | #071312black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfcmintcream | #050f0eblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #487a75dimgray | #487a75dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #487a5cseagreen | #487a5cseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3ede7lavender | #121c16black |
| Muted foreground | #5f6d65dimgray | #92a098darkseagreen |
| Accent | #48667adimgray | #48667adimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #670b0amaroon | #eb302dcrimson |
| Destructive foreground | #f7acablightpink | #ffffffwhite |
| Border | #e9ececlavender | #1a1f1eblack |
| Input | #e9ececlavender | #1a1f1eblack |
| Ring | #487a75dimgray | #487a75dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 4.98:1 | AA |
| Muted text | 4.54:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.41:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 4.98:1 | AA |
| Muted text | 6.40:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Sea Pea Ape in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 189.962);
--foreground: oklch(0 0 0);
--muted: oklch(0.937 0.013 159.902);
--muted-foreground: oklch(0.521 0.022 159.237);
--popover: oklch(0.988 0.005 189.962);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.007 189.903);
--card-foreground: oklch(0 0 0);
--border: oklch(0.942 0.004 189.981);
--input: oklch(0.942 0.004 189.981);
--primary: oklch(0.543 0.055 187.531);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.073 156.551);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.495 0.048 238.181);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.33 0.124 28.04);
--destructive-foreground: oklch(0.816 0.089 20.251);
--ring: oklch(0.543 0.055 187.531);
--chart-1: oklch(0.543 0.055 187.531);
--chart-2: oklch(0.535 0.073 156.551);
--chart-3: oklch(0.495 0.048 238.181);
--chart-4: oklch(0.565 0.077 156.517);
--chart-5: oklch(0.549 0.06 187.279);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.016 188.25);
--foreground: oklch(1 0 180);
--muted: oklch(0.214 0.019 158.018);
--muted-foreground: oklch(0.692 0.02 159.542);
--popover: oklch(0.158 0.016 188.25);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.018 187.723);
--card-foreground: oklch(1 0 180);
--border: oklch(0.232 0.008 189.327);
--input: oklch(0.232 0.008 189.327);
--primary: oklch(0.543 0.055 187.531);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.073 156.551);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.495 0.048 238.181);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.612 0.222 27.506);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.543 0.055 187.531);
--chart-1: oklch(0.543 0.055 187.531);
--chart-2: oklch(0.535 0.073 156.551);
--chart-3: oklch(0.495 0.048 238.181);
--chart-4: oklch(0.565 0.077 156.517);
--chart-5: oklch(0.549 0.06 187.279);
}