Crewmen is a shadcn/ui theme built around a yellow primary color (#ead185) with green accents (#d1ea85). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#ead185) on a yellow-tinted background (#0f0d05).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0f0d05black |
| Foreground | #050401black | #fdfdfcwhite |
| Card | #fefdfbsnow | #0f0d05black |
| Card foreground | #050401black | #fdfdfcwhite |
| Popover | #fefdfbsnow | #0f0d05black |
| Popover foreground | #050401black | #fdfdfcwhite |
| Primary | #ead185khaki | #ead185khaki |
| Primary foreground | #342909black | #342909black |
| Secondary | #ea9e85darksalmon | #ea9e85darksalmon |
| Secondary foreground | #341409black | #341409black |
| Muted | #f1efeewhitesmoke | #110f0eblack |
| Muted foreground | #423f3edarkslategray | #c1bebdsilver |
| Accent | #d1ea85khaki | #d1ea85khaki |
| Accent foreground | #293409darkgreen | #293409darkgreen |
| Destructive | #980606darkred | #f63131crimson |
| Destructive foreground | #fdd3d3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ead185khaki | #ead185khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 9.11:1 | AAA |
| Accent | 9.97:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 10.37:1 | AAA |
| Accent | 9.97:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Crewmen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 91.431);
--foreground: oklch(0.102 0.017 98.011);
--muted: oklch(0.954 0.002 39.493);
--muted-foreground: oklch(0.369 0.004 39.436);
--popover: oklch(0.994 0.002 91.431);
--popover-foreground: oklch(0.102 0.017 98.011);
--card: oklch(0.994 0.002 91.431);
--card-foreground: oklch(0.102 0.017 98.011);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.865 0.1 91.669);
--primary-foreground: oklch(0.288 0.05 90.146);
--secondary: oklch(0.769 0.098 39.2);
--secondary-foreground: oklch(0.238 0.056 38.828);
--accent: oklch(0.897 0.13 120.582);
--accent-foreground: oklch(0.306 0.065 122.592);
--destructive: oklch(0.429 0.172 28.747);
--destructive-foreground: oklch(0.903 0.048 18.069);
--ring: oklch(0.865 0.1 91.669);
--chart-1: oklch(0.865 0.1 91.669);
--chart-2: oklch(0.769 0.098 39.2);
--chart-3: oklch(0.897 0.13 120.582);
--chart-4: oklch(0.793 0.087 39.21);
--chart-5: oklch(0.869 0.103 91.633);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.017 93.546);
--foreground: oklch(0.994 0.002 91.426);
--muted: oklch(0.169 0.003 39.393);
--muted-foreground: oklch(0.804 0.003 39.479);
--popover: oklch(0.158 0.017 93.546);
--popover-foreground: oklch(0.994 0.002 91.426);
--card: oklch(0.158 0.017 93.546);
--card-foreground: oklch(0.994 0.002 91.426);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.865 0.1 91.669);
--primary-foreground: oklch(0.288 0.05 90.146);
--secondary: oklch(0.769 0.098 39.2);
--secondary-foreground: oklch(0.238 0.056 38.828);
--accent: oklch(0.897 0.13 120.582);
--accent-foreground: oklch(0.306 0.065 122.592);
--destructive: oklch(0.633 0.231 26.941);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.1 91.669);
--chart-1: oklch(0.865 0.1 91.669);
--chart-2: oklch(0.769 0.098 39.2);
--chart-3: oklch(0.897 0.13 120.582);
--chart-4: oklch(0.793 0.087 39.21);
--chart-5: oklch(0.869 0.103 91.633);
}