Everything is a shadcn/ui theme built around a muted orange primary color (#999080) with muted green accents (#959980). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#999080) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #040301black | #fdfdfcwhite |
| Card | #ffffffwhite | #030302black |
| Card foreground | #040301black | #fdfdfcwhite |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #040301black | #fdfdfcwhite |
| Primary | #999080gray | #999080gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #998380gray | #998380gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eddcd9gainsboro | #261512black |
| Muted foreground | #554b4adarkslategray | #b5acaadarkgray |
| Accent | #959980gray | #959980gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #bd4f14chocolate | #e7641dchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #999080gray | #999080gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 5.93:1 | AA |
| Muted text | 6.34:1 | AA |
| Accent | 7.13:1 | AAA |
| Destructive | 4.88:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 5.93:1 | AA |
| Muted text | 7.88:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 6.23:1 | AA |
Paste this into your globals.css to use Everything in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.014 90.658);
--muted: oklch(0.907 0.02 29.557);
--muted-foreground: oklch(0.422 0.013 29.603);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.014 90.658);
--card: oklch(1 0 180);
--card-foreground: oklch(0.099 0.014 90.658);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.656 0.026 83.032);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.027 29.678);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.672 0.036 114.308);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.564 0.156 43.608);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.656 0.026 83.032);
--chart-1: oklch(0.656 0.026 83.032);
--chart-2: oklch(0.63 0.027 29.678);
--chart-3: oklch(0.672 0.036 114.308);
--chart-4: oklch(0.656 0.025 29.646);
--chart-5: oklch(0.661 0.033 82.995);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 87.303);
--foreground: oklch(0.993 0.001 83.054);
--muted: oklch(0.218 0.03 30.551);
--muted-foreground: oklch(0.752 0.011 29.523);
--popover: oklch(0.096 0.007 87.303);
--popover-foreground: oklch(0.993 0.001 83.054);
--card: oklch(0.096 0.007 87.303);
--card-foreground: oklch(0.993 0.001 83.054);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.656 0.026 83.032);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.027 29.678);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.672 0.036 114.308);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.658 0.18 43.834);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.656 0.026 83.032);
--chart-1: oklch(0.656 0.026 83.032);
--chart-2: oklch(0.63 0.027 29.678);
--chart-3: oklch(0.672 0.036 114.308);
--chart-4: oklch(0.656 0.025 29.646);
--chart-5: oklch(0.661 0.033 82.995);
}