Zeroth Teal is a shadcn/ui theme built around a vivid deep teal primary color (#008080) with muted light teal accents (#c3dada). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#008080) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010404black |
| Foreground | #010404black | #f6f8f8whitesmoke |
| Card | #fcfcfcsnow | #030707black |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #fcfcfcsnow | #030707black |
| Popover foreground | #000000black | #f9fbfbghostwhite |
| Primary | #008080teal | #008080teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e1eaealavender | #273030darkslategray |
| Secondary foreground | #3e5b5bdarkslategray | #becbcbsilver |
| Muted | #e6f4f4whitesmoke | #0b1919black |
| Muted foreground | #516767dimgray | #98aeaedarkgray |
| Accent | #c3dadalightgrey | #364f4fdarkslategray |
| Accent foreground | #294242darkslategray | #d5e2e2gainsboro |
| Destructive | #c44008firebrick | #f77036tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #eceeeewhitesmoke | #1c2121black |
| Input | #eceeeewhitesmoke | #1c2121black |
| Ring | #008080teal | #008080teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.80:1 | AA |
| Secondary button | 6.02:1 | AA |
| Muted text | 5.34:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 5.13:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 4.80:1 | AA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 7.73:1 | AAA |
| Accent | 6.63:1 | AA |
| Destructive | 7.31:1 | AAA |
Paste this into your globals.css to use Zeroth Teal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.101 0.014 195.233);
--muted: oklch(0.957 0.014 196.917);
--muted-foreground: oklch(0.495 0.026 196.333);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.948 0.003 197.112);
--input: oklch(0.948 0.003 197.112);
--primary: oklch(0.542 0.092 194.769);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.931 0.01 196.978);
--secondary-foreground: oklch(0.448 0.034 195.993);
--accent: oklch(0.872 0.025 196.705);
--accent-foreground: oklch(0.36 0.032 195.84);
--destructive: oklch(0.556 0.177 38.405);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.542 0.092 194.769);
--chart-1: oklch(0.542 0.092 194.769);
--chart-2: oklch(0.931 0.01 196.978);
--chart-3: oklch(0.872 0.025 196.705);
--chart-4: oklch(0.952 0.007 197.035);
--chart-5: oklch(0.547 0.094 194.761);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.009 195.845);
--foreground: oklch(0.979 0.002 197.123);
--muted: oklch(0.199 0.019 195.735);
--muted-foreground: oklch(0.735 0.024 196.632);
--popover: oklch(0.123 0.011 195.845);
--popover-foreground: oklch(0.986 0.001 197.135);
--card: oklch(0.123 0.011 195.845);
--card-foreground: oklch(0.986 0.001 197.135);
--border: oklch(0.242 0.006 196.743);
--input: oklch(0.242 0.006 196.743);
--primary: oklch(0.542 0.092 194.769);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.301 0.013 196.477);
--secondary-foreground: oklch(0.832 0.014 196.886);
--accent: oklch(0.407 0.031 196.013);
--accent-foreground: oklch(0.903 0.015 196.899);
--destructive: oklch(0.699 0.18 41.795);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.542 0.092 194.769);
--chart-1: oklch(0.542 0.092 194.769);
--chart-2: oklch(0.301 0.013 196.477);
--chart-3: oklch(0.407 0.031 196.013);
--chart-4: oklch(0.333 0.015 196.455);
--chart-5: oklch(0.547 0.094 194.761);
}