Adventurous is a shadcn/ui theme built around a neutral gray primary color (#abacaa) with neutral gray accents (#acaaab). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the neutral gray primary (#abacaa) on a green-tinted background (#0c0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #0c0e06black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfcf8snow | #0f1208black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfdfbsnow | #0c0e06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #abacaadarkgray | #abacaadarkgray |
| Primary foreground | #121212black | #121212black |
| Secondary | #aaabacdarkgray | #aaabacdarkgray |
| Secondary foreground | #121212black | #121212black |
| Muted | #dde9eelavender | #111d22black |
| Muted foreground | #394347darkslategray | #b8c2c6silver |
| Accent | #acaaabdarkgray | #acaaabdarkgray |
| Accent foreground | #121212black | #121212black |
| Destructive | #d00401red | #fe2320crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #abacaadarkgray | #abacaadarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.67:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 5.67:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 9.43:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Adventurous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 119.35);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.015 223.305);
--muted-foreground: oklch(0.375 0.015 223.613);
--popover: oklch(0.994 0.003 119.35);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.005 119.397);
--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.743 0.002 119.361);
--primary-foreground: oklch(0.182 0.001 119.373);
--secondary: oklch(0.741 0.002 223.151);
--secondary-foreground: oklch(0.182 0 223.156);
--accent: oklch(0.74 0.003 335.254);
--accent-foreground: oklch(0.181 0.001 335.268);
--destructive: oklch(0.54 0.22 29.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.743 0.002 119.361);
--chart-1: oklch(0.743 0.002 119.361);
--chart-2: oklch(0.741 0.002 223.151);
--chart-3: oklch(0.74 0.003 335.254);
--chart-4: oklch(0.765 0.001 223.148);
--chart-5: oklch(0.748 0.01 119.527);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.017 120.474);
--foreground: oklch(1 0 180);
--muted: oklch(0.223 0.02 224.716);
--muted-foreground: oklch(0.808 0.012 223.293);
--popover: oklch(0.159 0.017 120.474);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.02 121.156);
--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.743 0.002 119.361);
--primary-foreground: oklch(0.182 0.001 119.373);
--secondary: oklch(0.741 0.002 223.151);
--secondary-foreground: oklch(0.182 0 223.156);
--accent: oklch(0.74 0.003 335.254);
--accent-foreground: oklch(0.181 0.001 335.268);
--destructive: oklch(0.637 0.246 28.449);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.743 0.002 119.361);
--chart-1: oklch(0.743 0.002 119.361);
--chart-2: oklch(0.741 0.002 223.151);
--chart-3: oklch(0.74 0.003 335.254);
--chart-4: oklch(0.765 0.001 223.148);
--chart-5: oklch(0.748 0.01 119.527);
}