Crewman is a shadcn/ui theme built around a deep green primary color (#0e1f09) with deep green accents (#091f10). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the deep green primary (#0e1f09) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfbsnow | #040703black |
| Foreground | #070f05black | #f6f9f5whitesmoke |
| Card | #fcfdfbsnow | #040703black |
| Card foreground | #070f05black | #f6f9f5whitesmoke |
| Popover | #fcfdfbsnow | #040703black |
| Popover foreground | #070f05black | #f6f9f5whitesmoke |
| Primary | #0e1f09black | #0e1f09black |
| Primary foreground | #55bc38limegreen | #55bc38limegreen |
| Secondary | #191f09black | #191f09black |
| Secondary foreground | #97bc38yellowgreen | #97bc38yellowgreen |
| Muted | #f2f4eblinen | #11140bblack |
| Muted foreground | #66685edimgray | #9ea197darkgray |
| Accent | #091f10black | #091f10black |
| Accent foreground | #38bc5emediumseagreen | #38bc5emediumseagreen |
| Destructive | #8a2c0fsaddlebrown | #dc4618chocolate |
| Destructive foreground | #fadbd1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e1f09black | #0e1f09black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 5.09:1 | AA |
| Accent | 6.98:1 | AA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Crewman in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 138.892);
--foreground: oklch(0.158 0.026 137.81);
--muted: oklch(0.963 0.012 119.511);
--muted-foreground: oklch(0.513 0.016 119.831);
--popover: oklch(0.994 0.003 138.892);
--popover-foreground: oklch(0.158 0.026 137.81);
--card: oklch(0.994 0.003 138.892);
--card-foreground: oklch(0.158 0.026 137.81);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.219 0.047 139.22);
--primary-foreground: oklch(0.709 0.194 139.699);
--secondary: oklch(0.228 0.039 122.624);
--secondary-foreground: oklch(0.744 0.161 124.091);
--accent: oklch(0.218 0.042 150.799);
--accent-foreground: oklch(0.704 0.176 148.757);
--destructive: oklch(0.431 0.133 36.378);
--destructive-foreground: oklch(0.914 0.037 37.609);
--ring: oklch(0.219 0.047 139.22);
--chart-1: oklch(0.219 0.047 139.22);
--chart-2: oklch(0.228 0.039 122.624);
--chart-3: oklch(0.218 0.042 150.799);
--chart-4: oklch(0.274 0.051 122.991);
--chart-5: oklch(0.221 0.049 139.235);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.016 137.595);
--foreground: oklch(0.98 0.006 138.893);
--muted: oklch(0.184 0.017 120.95);
--muted-foreground: oklch(0.702 0.015 119.66);
--popover: oklch(0.122 0.016 137.595);
--popover-foreground: oklch(0.98 0.006 138.893);
--card: oklch(0.122 0.016 137.595);
--card-foreground: oklch(0.98 0.006 138.893);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.219 0.047 139.22);
--primary-foreground: oklch(0.709 0.194 139.699);
--secondary: oklch(0.228 0.039 122.624);
--secondary-foreground: oklch(0.744 0.161 124.091);
--accent: oklch(0.218 0.042 150.799);
--accent-foreground: oklch(0.704 0.176 148.757);
--destructive: oklch(0.604 0.194 35.96);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.219 0.047 139.22);
--chart-1: oklch(0.219 0.047 139.22);
--chart-2: oklch(0.228 0.039 122.624);
--chart-3: oklch(0.218 0.042 150.799);
--chart-4: oklch(0.274 0.051 122.991);
--chart-5: oklch(0.221 0.049 139.235);
}