Suitcase is a shadcn/ui theme built around a muted deep violet primary color (#26212c) with muted deep green accents (#212c26). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the muted deep violet primary (#26212c) on a neutral background (#050407).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #050407black |
| Foreground | #07030cblack | #f7f6f8whitesmoke |
| Card | #fcfbfewhite | #050407black |
| Card foreground | #07030cblack | #f7f6f8whitesmoke |
| Popover | #fcfbfewhite | #050407black |
| Popover foreground | #07030cblack | #f7f6f8whitesmoke |
| Primary | #26212cdarkslategray | #26212cdarkslategray |
| Primary foreground | #beb6c8silver | #beb6c8silver |
| Secondary | #2c2621darkslategray | #2c2621darkslategray |
| Secondary foreground | #c8beb6silver | #c8beb6silver |
| Muted | #f6f2eewhitesmoke | #110c09black |
| Muted foreground | #534f4bdarkslategray | #b4b0acdarkgray |
| Accent | #212c26darkslategray | #212c26darkslategray |
| Accent foreground | #b6c8besilver | #b6c8besilver |
| Destructive | #7f1e06maroon | #f65d37tomato |
| Destructive foreground | #fcc8bbpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #26212cdarkslategray | #26212cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.53:1 | AA |
Paste this into your globals.css to use Suitcase in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 306.387);
--foreground: oklch(0.116 0.025 307.54);
--muted: oklch(0.963 0.007 62.096);
--muted-foreground: oklch(0.429 0.008 61.939);
--popover: oklch(0.99 0.003 306.387);
--popover-foreground: oklch(0.116 0.025 307.54);
--card: oklch(0.99 0.003 306.387);
--card-foreground: oklch(0.116 0.025 307.54);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.257 0.021 305.388);
--primary-foreground: oklch(0.789 0.026 306.002);
--secondary: oklch(0.272 0.012 61.563);
--secondary-foreground: oklch(0.808 0.016 61.933);
--accent: oklch(0.279 0.018 160.881);
--accent-foreground: oklch(0.817 0.024 161.883);
--destructive: oklch(0.394 0.135 34.14);
--destructive-foreground: oklch(0.875 0.062 34.399);
--ring: oklch(0.257 0.021 305.388);
--chart-1: oklch(0.257 0.021 305.388);
--chart-2: oklch(0.272 0.012 61.563);
--chart-3: oklch(0.279 0.018 160.881);
--chart-4: oklch(0.304 0.014 61.531);
--chart-5: oklch(0.255 0.025 305.147);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.012 307.101);
--foreground: oklch(0.976 0.003 306.395);
--muted: oklch(0.16 0.011 61.67);
--muted-foreground: oklch(0.758 0.007 62.07);
--popover: oklch(0.108 0.012 307.101);
--popover-foreground: oklch(0.976 0.003 306.395);
--card: oklch(0.108 0.012 307.101);
--card-foreground: oklch(0.976 0.003 306.395);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.257 0.021 305.388);
--primary-foreground: oklch(0.789 0.026 306.002);
--secondary: oklch(0.272 0.012 61.563);
--secondary-foreground: oklch(0.808 0.016 61.933);
--accent: oklch(0.279 0.018 160.881);
--accent-foreground: oklch(0.817 0.024 161.883);
--destructive: oklch(0.673 0.194 35.074);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.257 0.021 305.388);
--chart-1: oklch(0.257 0.021 305.388);
--chart-2: oklch(0.272 0.012 61.563);
--chart-3: oklch(0.279 0.018 160.881);
--chart-4: oklch(0.304 0.014 61.531);
--chart-5: oklch(0.255 0.025 305.147);
}