Jaded is a shadcn/ui theme built around a vivid deep green primary color (#032609) with near-white accents (#e7e9e7). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid deep green primary (#032609) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #030704black |
| Foreground | #031706black | #ffffffwhite |
| Card | #f5faf6whitesmoke | #050a06black |
| Card foreground | #021205black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030704black |
| Popover foreground | #031706black | #ffffffwhite |
| Primary | #032609black | #032609black |
| Primary foreground | #11e438limegreen | #11e438limegreen |
| Secondary | #e7e9e7lavender | #263629darkslategray |
| Secondary foreground | #4b534ddarkslategray | #bdd0c1silver |
| Muted | #d8e9dbgainsboro | #162719black |
| Muted foreground | #3d4d40darkslategray | #b2c2b5silver |
| Accent | #e7e9e7lavender | #263629darkslategray |
| Accent foreground | #4b534ddarkslategray | #bdd0c1silver |
| Destructive | #b5290dfirebrick | #f15232tomato |
| Destructive foreground | #fef7f5floralwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #032609black | #032609black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.92:1 | AAA |
| Text on card | 18.19:1 | AAA |
| Primary button | 9.48:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 7.11:1 | AAA |
| Accent | 6.51:1 | AA |
| Destructive | 6.03:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 9.48:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 8.39:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Jaded in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 151.336);
--foreground: oklch(0.181 0.045 148.511);
--muted: oklch(0.918 0.027 150.977);
--muted-foreground: oklch(0.402 0.031 150.253);
--popover: oklch(0.986 0.005 151.336);
--popover-foreground: oklch(0.181 0.045 148.511);
--card: oklch(0.98 0.007 151.299);
--card-foreground: oklch(0.163 0.039 149.193);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.235 0.066 146.735);
--primary-foreground: oklch(0.798 0.254 144.16);
--secondary: oklch(0.932 0.003 151.353);
--secondary-foreground: oklch(0.433 0.015 150.917);
--accent: oklch(0.932 0.003 151.353);
--accent-foreground: oklch(0.433 0.015 150.917);
--destructive: oklch(0.506 0.18 32.609);
--destructive-foreground: oklch(0.981 0.008 31.059);
--ring: oklch(0.235 0.066 146.735);
--chart-1: oklch(0.235 0.066 146.735);
--chart-2: oklch(0.932 0.003 151.353);
--chart-3: oklch(0.932 0.003 151.353);
--chart-4: oklch(0.955 0.002 151.372);
--chart-5: oklch(0.237 0.067 146.67);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.013 150.84);
--foreground: oklch(1 0 180);
--muted: oklch(0.254 0.036 149.118);
--muted-foreground: oklch(0.799 0.026 150.93);
--popover: oklch(0.12 0.013 150.84);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.015 150.84);
--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.235 0.066 146.735);
--primary-foreground: oklch(0.798 0.254 144.16);
--secondary: oklch(0.314 0.031 149.9);
--secondary-foreground: oklch(0.84 0.03 150.89);
--accent: oklch(0.314 0.031 149.9);
--accent-foreground: oklch(0.84 0.03 150.89);
--destructive: oklch(0.652 0.201 33.204);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.235 0.066 146.735);
--chart-1: oklch(0.235 0.066 146.735);
--chart-2: oklch(0.314 0.031 149.9);
--chart-3: oklch(0.314 0.031 149.9);
--chart-4: oklch(0.346 0.035 149.849);
--chart-5: oklch(0.237 0.067 146.67);
}