Extraneous is a shadcn/ui theme built around a muted deep cyan primary color (#1c2d31) with muted deep blue accents (#1c2331). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the muted deep cyan primary (#1c2d31) on a cyan-tinted background (#050a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #050a0bblack |
| Foreground | #031316black | #ffffffwhite |
| Card | #f2fbfcaliceblue | #060d0eblack |
| Card foreground | #030f12black | #ffffffwhite |
| Popover | #f2fbfcaliceblue | #060d0eblack |
| Popover foreground | #030f12black | #ffffffwhite |
| Primary | #1c2d31darkslategray | #1c2d31darkslategray |
| Primary foreground | #aecbd0lightsteelblue | #aecbd0lightsteelblue |
| Secondary | #1c312adarkslategray | #1c312adarkslategray |
| Secondary foreground | #aed0c5silver | #aed0c5silver |
| Muted | #d6dcdagainsboro | #232927darkslategray |
| Muted foreground | #49504edarkslategray | #afb6b4darkgray |
| Accent | #1c2331darkslategray | #1c2331darkslategray |
| Accent foreground | #aebad0lightsteelblue | #aebad0lightsteelblue |
| Destructive | #bd1300firebrick | #ff3e29orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1c2d31darkslategray | #1c2d31darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.31:1 | AAA |
| Text on card | 18.46:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 19.94:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Extraneous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 211.039);
--foreground: oklch(0.174 0.024 211.008);
--muted: oklch(0.889 0.007 174.351);
--muted-foreground: oklch(0.423 0.009 173.987);
--popover: oklch(0.981 0.009 211.038);
--popover-foreground: oklch(0.158 0.021 209.808);
--card: oklch(0.981 0.009 211.038);
--card-foreground: oklch(0.158 0.021 209.808);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.284 0.024 211.458);
--primary-foreground: oklch(0.822 0.032 211.089);
--secondary: oklch(0.291 0.03 171.127);
--secondary-foreground: oklch(0.831 0.04 173.105);
--accent: oklch(0.255 0.028 263.884);
--accent-foreground: oklch(0.786 0.035 264.351);
--destructive: oklch(0.506 0.2 30.518);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.284 0.024 211.458);
--chart-1: oklch(0.284 0.024 211.458);
--chart-2: oklch(0.291 0.03 171.127);
--chart-3: oklch(0.255 0.028 263.884);
--chart-4: oklch(0.326 0.034 170.967);
--chart-5: oklch(0.286 0.026 211.57);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.01 208.475);
--foreground: oklch(1 0 180);
--muted: oklch(0.275 0.009 173.55);
--muted-foreground: oklch(0.769 0.007 174.304);
--popover: oklch(0.152 0.012 210.267);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.012 210.267);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.284 0.024 211.458);
--primary-foreground: oklch(0.822 0.032 211.089);
--secondary: oklch(0.291 0.03 171.127);
--secondary-foreground: oklch(0.831 0.04 173.105);
--accent: oklch(0.255 0.028 263.884);
--accent-foreground: oklch(0.786 0.035 264.351);
--destructive: oklch(0.656 0.231 30.416);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.284 0.024 211.458);
--chart-1: oklch(0.284 0.024 211.458);
--chart-2: oklch(0.291 0.03 171.127);
--chart-3: oklch(0.255 0.028 263.884);
--chart-4: oklch(0.326 0.034 170.967);
--chart-5: oklch(0.286 0.026 211.57);
}