Crew is a shadcn/ui theme built around a vivid deep violet primary color (#13021d) with vivid deep teal accents (#021d13). The light mode uses a neutral background (#fbf7fd). Dark mode keeps the vivid deep violet primary (#13021d) on a violet-tinted background (#0b060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fdghostwhite | #0b060eblack |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #fbf7fdghostwhite | #0b060eblack |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fbf7fdghostwhite | #0b060eblack |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #13021dblack | #13021dblack |
| Primary foreground | #e5bcfathistle | #e5bcfathistle |
| Secondary | #1d1302black | #1d1302black |
| Secondary foreground | #db940fgoldenrod | #db940fgoldenrod |
| Muted | #f0eae0beige | #1f190fblack |
| Muted foreground | #6d6554dimgray | #aba292darkgray |
| Accent | #021d13black | #021d13black |
| Accent foreground | #0fdb94mediumspringgreen | #0fdb94mediumspringgreen |
| Destructive | #8a280asaddlebrown | #e54210orangered |
| Destructive foreground | #fbd6cbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #13021dblack | #13021dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 12.24:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 4.83:1 | AA |
| Accent | 9.77:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 12.24:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 9.77:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Crew in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.009 314.167);
--foreground: oklch(0 0 0);
--muted: oklch(0.94 0.015 83.065);
--muted-foreground: oklch(0.509 0.027 82.975);
--popover: oklch(0.98 0.009 314.167);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.009 314.167);
--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.148 0.062 312.808);
--primary-foreground: oklch(0.851 0.095 313.603);
--secondary: oklch(0.195 0.036 83.448);
--secondary-foreground: oklch(0.72 0.15 73.977);
--accent: oklch(0.205 0.039 167.009);
--accent-foreground: oklch(0.789 0.175 160.657);
--destructive: oklch(0.426 0.139 35.813);
--destructive-foreground: oklch(0.904 0.045 37.599);
--ring: oklch(0.148 0.062 312.808);
--chart-1: oklch(0.148 0.062 312.808);
--chart-2: oklch(0.195 0.036 83.448);
--chart-3: oklch(0.205 0.039 167.009);
--chart-4: oklch(0.242 0.046 80.26);
--chart-5: oklch(0.147 0.064 312.802);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.02 314.286);
--foreground: oklch(0.991 0.002 314.206);
--muted: oklch(0.218 0.02 82.608);
--muted-foreground: oklch(0.715 0.025 83.042);
--popover: oklch(0.137 0.02 314.286);
--popover-foreground: oklch(0.991 0.002 314.206);
--card: oklch(0.137 0.02 314.286);
--card-foreground: oklch(0.991 0.002 314.206);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.148 0.062 312.808);
--primary-foreground: oklch(0.851 0.095 313.603);
--secondary: oklch(0.195 0.036 83.448);
--secondary-foreground: oklch(0.72 0.15 73.977);
--accent: oklch(0.205 0.039 167.009);
--accent-foreground: oklch(0.789 0.175 160.657);
--destructive: oklch(0.613 0.207 35.237);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.148 0.062 312.808);
--chart-1: oklch(0.148 0.062 312.808);
--chart-2: oklch(0.195 0.036 83.448);
--chart-3: oklch(0.205 0.039 167.009);
--chart-4: oklch(0.242 0.046 80.26);
--chart-5: oklch(0.147 0.064 312.802);
}