Extraneous is a shadcn/ui theme built around a light green primary color (#ecf8e2) with light pink accents (#f8e2ec). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ecf8e2) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050703black |
| Foreground | #070c04black | #f7f9f6whitesmoke |
| Card | #fcfcfcsnow | #070b05black |
| Card foreground | #050802black | #fafbf9snow |
| Popover | #fcfcfcsnow | #070b05black |
| Popover foreground | #050802black | #fafbf9snow |
| Primary | #ecf8e2beige | #ecf8e2beige |
| Primary foreground | #20350ddarkgreen | #20350ddarkgreen |
| Secondary | #e2ecf8lavender | #e2ecf8lavender |
| Secondary foreground | #225187darkslateblue | #225187darkslateblue |
| Muted | #cedae9gainsboro | #162331darkslategray |
| Muted foreground | #3f4955darkslategray | #aab4c0silver |
| Accent | #f8e2ecmistyrose | #f8e2ecmistyrose |
| Accent foreground | #872251brown | #872251brown |
| Destructive | #b8100afirebrick | #f42c25crimson |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecf8e2beige | #ecf8e2beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 6.47:1 | AA |
| Accent | 7.20:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 7.59:1 | AAA |
| Accent | 7.20:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Extraneous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.022 128.748);
--muted: oklch(0.884 0.024 251.66);
--muted-foreground: oklch(0.402 0.024 251.881);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.126 0.019 128.575);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.019 128.575);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.964 0.031 130.107);
--primary-foreground: oklch(0.301 0.069 132.977);
--secondary: oklch(0.94 0.019 251.607);
--secondary-foreground: oklch(0.43 0.103 253.817);
--accent: oklch(0.934 0.027 347.665);
--accent-foreground: oklch(0.428 0.142 356.566);
--destructive: oklch(0.497 0.197 29.177);
--destructive-foreground: oklch(0.979 0.01 19.743);
--ring: oklch(0.964 0.031 130.107);
--chart-1: oklch(0.964 0.031 130.107);
--chart-2: oklch(0.94 0.019 251.607);
--chart-3: oklch(0.934 0.027 347.665);
--chart-4: oklch(0.966 0.011 251.539);
--chart-5: oklch(0.965 0.032 130.123);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 128.884);
--foreground: oklch(0.98 0.004 129.83);
--muted: oklch(0.251 0.033 252.393);
--muted-foreground: oklch(0.766 0.021 251.656);
--popover: oklch(0.141 0.016 128.908);
--popover-foreground: oklch(0.986 0.003 129.814);
--card: oklch(0.141 0.016 128.908);
--card-foreground: oklch(0.986 0.003 129.814);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.964 0.031 130.107);
--primary-foreground: oklch(0.301 0.069 132.977);
--secondary: oklch(0.94 0.019 251.607);
--secondary-foreground: oklch(0.43 0.103 253.817);
--accent: oklch(0.934 0.027 347.665);
--accent-foreground: oklch(0.428 0.142 356.566);
--destructive: oklch(0.623 0.233 28.487);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.964 0.031 130.107);
--chart-1: oklch(0.964 0.031 130.107);
--chart-2: oklch(0.94 0.019 251.607);
--chart-3: oklch(0.934 0.027 347.665);
--chart-4: oklch(0.966 0.011 251.539);
--chart-5: oklch(0.965 0.032 130.123);
}