Suitcase is a shadcn/ui theme built around a vivid deep green primary color (#272a04) with vivid deep purple accents (#2a0427). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#272a04) on a green-tinted background (#0e0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0e06black |
| Foreground | #040401black | #fafaf9snow |
| Card | #ffffffwhite | #0e0e06black |
| Card foreground | #040401black | #fafaf9snow |
| Popover | #ffffffwhite | #0e0e06black |
| Popover foreground | #040401black | #fafaf9snow |
| Primary | #272a04black | #272a04black |
| Primary foreground | #d4e614gold | #d4e614gold |
| Secondary | #04272ablack | #04272ablack |
| Secondary foreground | #14d4e6darkturquoise | #14d4e6darkturquoise |
| Muted | #f1f3f3whitesmoke | #0c0e0eblack |
| Muted foreground | #4e5556darkslategray | #a9b1b1darkgray |
| Accent | #2a0427black | #2a0427black |
| Accent foreground | #f26ee7violet | #f26ee7violet |
| Destructive | #963403saddlebrown | #fa6114orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #272a04black | #272a04black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 10.63:1 | AAA |
| Secondary button | 8.72:1 | AAA |
| Muted text | 6.84:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 7.53:1 | AAA |
| Text on background | 18.50:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 10.63:1 | AAA |
| Secondary button | 8.72:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 6.78:1 | AA |
Paste this into your globals.css to use Suitcase in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.014 111.737);
--muted: oklch(0.963 0.002 203.562);
--muted-foreground: oklch(0.443 0.01 203.394);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.014 111.737);
--card: oklch(1 0 180);
--card-foreground: oklch(0.103 0.014 111.737);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.274 0.057 114.257);
--primary-foreground: oklch(0.881 0.197 115.245);
--secondary: oklch(0.25 0.039 203.848);
--secondary-foreground: oklch(0.796 0.134 205.512);
--accent: oklch(0.204 0.081 331.721);
--accent-foreground: oklch(0.737 0.215 330.799);
--destructive: oklch(0.462 0.141 40.705);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.274 0.057 114.257);
--chart-1: oklch(0.274 0.057 114.257);
--chart-2: oklch(0.25 0.039 203.848);
--chart-3: oklch(0.204 0.081 331.721);
--chart-4: oklch(0.298 0.048 204.295);
--chart-5: oklch(0.276 0.059 114.333);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0.018 112.009);
--foreground: oklch(0.986 0.001 110.272);
--muted: oklch(0.16 0.003 203.412);
--muted-foreground: oklch(0.754 0.008 203.48);
--popover: oklch(0.162 0.018 112.009);
--popover-foreground: oklch(0.986 0.001 110.272);
--card: oklch(0.162 0.018 112.009);
--card-foreground: oklch(0.986 0.001 110.272);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.274 0.057 114.257);
--primary-foreground: oklch(0.881 0.197 115.245);
--secondary: oklch(0.25 0.039 203.848);
--secondary-foreground: oklch(0.796 0.134 205.512);
--accent: oklch(0.204 0.081 331.721);
--accent-foreground: oklch(0.737 0.215 330.799);
--destructive: oklch(0.682 0.202 41.263);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.274 0.057 114.257);
--chart-1: oklch(0.274 0.057 114.257);
--chart-2: oklch(0.25 0.039 203.848);
--chart-3: oklch(0.204 0.081 331.721);
--chart-4: oklch(0.298 0.048 204.295);
--chart-5: oklch(0.276 0.059 114.333);
}