Extraneous is a shadcn/ui theme built around a teal primary color (#40b09f) with red accents (#b04050). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#40b09f) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020303black |
| Foreground | #010404black | #f8fcfbmintcream |
| Card | #f6fdfcmintcream | #030706black |
| Card foreground | #000000black | #fbfdfdwhite |
| Popover | #fbfefewhite | #020303black |
| Popover foreground | #010404black | #f8fcfbmintcream |
| Primary | #40b09flightseagreen | #40b09flightseagreen |
| Primary foreground | #091a18black | #091a18black |
| Secondary | #b04050indianred | #b04050indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e2e3gainsboro | #1d1617black |
| Muted foreground | #595455dimgray | #aba6a6darkgray |
| Accent | #b04050indianred | #b04050indianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d35312chocolate | #eb621echocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #40b09flightseagreen | #40b09flightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.44:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 5.69:1 | AA |
| Muted text | 5.83:1 | AA |
| Accent | 5.69:1 | AA |
| Destructive | 4.19:1 | AA Large |
| Text on background | 19.94:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 5.69:1 | AA |
| Muted text | 7.40:1 | AAA |
| Accent | 5.69:1 | AA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use Extraneous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 186.5);
--foreground: oklch(0.101 0.013 186.106);
--muted: oklch(0.919 0.007 6.796);
--muted-foreground: oklch(0.451 0.007 6.979);
--popover: oklch(0.995 0.004 186.5);
--popover-foreground: oklch(0.101 0.013 186.106);
--card: oklch(0.99 0.007 186.404);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.69 0.104 181.368);
--primary-foreground: oklch(0.203 0.023 183.174);
--secondary: oklch(0.531 0.147 14.733);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.147 14.733);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.603 0.176 41.701);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.69 0.104 181.368);
--chart-1: oklch(0.69 0.104 181.368);
--chart-2: oklch(0.531 0.147 14.733);
--chart-3: oklch(0.531 0.147 14.733);
--chart-4: oklch(0.555 0.154 14.798);
--chart-5: oklch(0.699 0.108 181.071);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 186.315);
--foreground: oklch(0.988 0.004 186.485);
--muted: oklch(0.21 0.011 7.886);
--muted-foreground: oklch(0.729 0.006 6.806);
--popover: oklch(0.096 0.007 186.315);
--popover-foreground: oklch(0.988 0.004 186.485);
--card: oklch(0.121 0.009 186.315);
--card-foreground: oklch(0.994 0.002 186.54);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.69 0.104 181.368);
--primary-foreground: oklch(0.203 0.023 183.174);
--secondary: oklch(0.531 0.147 14.733);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.147 14.733);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.662 0.185 42.576);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.69 0.104 181.368);
--chart-1: oklch(0.69 0.104 181.368);
--chart-2: oklch(0.531 0.147 14.733);
--chart-3: oklch(0.531 0.147 14.733);
--chart-4: oklch(0.555 0.154 14.798);
--chart-5: oklch(0.699 0.108 181.071);
}