Adventurous is a shadcn/ui theme built around a muted blue primary color (#84909f) with muted light blue accents (#c8ced5). The light mode uses a neutral background (#f7fafd). Dark mode keeps the muted blue primary (#84909f) on a neutral background (#040507).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #040507black |
| Foreground | #010204black | #f5f7f9whitesmoke |
| Card | #f7fafdghostwhite | #040507black |
| Card foreground | #010204black | #f5f7f9whitesmoke |
| Popover | #f7fafdghostwhite | #040507black |
| Popover foreground | #010204black | #f5f7f9whitesmoke |
| Primary | #84909flightslategray | #84909flightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #dcdee0gainsboro | #1c2127black |
| Secondary foreground | #414548darkslategray | #aeb9c6silver |
| Muted | #ebedeflavender | #101214black |
| Muted foreground | #3f4955darkslategray | #aab4c0silver |
| Accent | #c8ced5lightgrey | #27323fdarkslategray |
| Accent foreground | #2f353ddarkslategray | #c0cbd8lightsteelblue |
| Destructive | #8b2b0esaddlebrown | #d14115chocolate |
| Destructive foreground | #fadad1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #84909flightslategray | #84909flightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 7.79:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 8.95:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 4.70:1 | AA |
Paste this into your globals.css to use Adventurous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 251.499);
--foreground: oklch(0.088 0.011 242.151);
--muted: oklch(0.945 0.004 251.483);
--muted-foreground: oklch(0.402 0.024 251.881);
--popover: oklch(0.983 0.006 251.499);
--popover-foreground: oklch(0.088 0.011 242.151);
--card: oklch(0.983 0.006 251.499);
--card-foreground: oklch(0.088 0.011 242.151);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.65 0.025 251.741);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.899 0.003 251.477);
--secondary-foreground: oklch(0.387 0.008 251.603);
--accent: oklch(0.849 0.011 251.557);
--accent-foreground: oklch(0.326 0.016 251.808);
--destructive: oklch(0.432 0.136 36.215);
--destructive-foreground: oklch(0.913 0.038 37.608);
--ring: oklch(0.65 0.025 251.741);
--chart-1: oklch(0.65 0.025 251.741);
--chart-2: oklch(0.899 0.003 251.477);
--chart-3: oklch(0.849 0.011 251.557);
--chart-4: oklch(0.923 0.002 251.47);
--chart-5: oklch(0.648 0.032 251.808);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.007 247.197);
--foreground: oklch(0.976 0.004 251.482);
--muted: oklch(0.18 0.006 251.691);
--muted-foreground: oklch(0.766 0.021 251.656);
--popover: oklch(0.113 0.007 247.197);
--popover-foreground: oklch(0.976 0.004 251.482);
--card: oklch(0.113 0.007 247.197);
--card-foreground: oklch(0.976 0.004 251.482);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.65 0.025 251.741);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.244 0.014 251.86);
--secondary-foreground: oklch(0.782 0.022 251.661);
--accent: oklch(0.313 0.027 252.057);
--accent-foreground: oklch(0.838 0.021 251.645);
--destructive: oklch(0.578 0.188 35.819);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.65 0.025 251.741);
--chart-1: oklch(0.65 0.025 251.741);
--chart-2: oklch(0.244 0.014 251.86);
--chart-3: oklch(0.313 0.027 252.057);
--chart-4: oklch(0.275 0.017 251.883);
--chart-5: oklch(0.648 0.032 251.808);
}