Luggage is a shadcn/ui theme built around a muted deep violet primary color (#322a41) with muted deep green accents (#39412a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep violet primary (#322a41) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020104black |
| Foreground | #090510black | #faf9fbghostwhite |
| Card | #fcfcfcsnow | #040307black |
| Card foreground | #06040cblack | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #040307black |
| Popover foreground | #06040cblack | #fcfcfdwhite |
| Primary | #322a41darkslategray | #322a41darkslategray |
| Primary foreground | #cbc4d9thistle | #cbc4d9thistle |
| Secondary | #39412adarkslategray | #39412adarkslategray |
| Secondary foreground | #d2d9c4lightgrey | #d2d9c4lightgrey |
| Muted | #f1f4ecwhitesmoke | #10130bblack |
| Muted foreground | #454c38darkslategray | #c0c7b3silver |
| Accent | #39412adarkslategray | #39412adarkslategray |
| Accent foreground | #d2d9c4lightgrey | #d2d9c4lightgrey |
| Destructive | #872608saddlebrown | #ec420eorangered |
| Destructive foreground | #fcd2c5peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #322a41darkslategray | #322a41darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 8.04:1 | AAA |
| Accent | 7.33:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 10.74:1 | AAA |
| Accent | 7.33:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Luggage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.127 0.027 301.424);
--muted: oklch(0.962 0.011 122.392);
--muted-foreground: oklch(0.405 0.033 123.543);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.115 0.024 302.68);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.115 0.024 302.68);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.304 0.043 299.93);
--primary-foreground: oklch(0.833 0.03 301.64);
--secondary: oklch(0.362 0.04 124.046);
--secondary-foreground: oklch(0.874 0.03 122.753);
--accent: oklch(0.362 0.04 124.046);
--accent-foreground: oklch(0.874 0.03 122.753);
--destructive: oklch(0.418 0.137 35.7);
--destructive-foreground: oklch(0.896 0.05 37.594);
--ring: oklch(0.304 0.043 299.93);
--chart-1: oklch(0.304 0.043 299.93);
--chart-2: oklch(0.362 0.04 124.046);
--chart-3: oklch(0.362 0.04 124.046);
--chart-4: oklch(0.395 0.045 124.091);
--chart-5: oklch(0.301 0.049 299.564);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.013 302.701);
--foreground: oklch(0.983 0.003 302.173);
--muted: oklch(0.182 0.016 123.663);
--muted-foreground: oklch(0.818 0.028 122.761);
--popover: oklch(0.104 0.016 302.701);
--popover-foreground: oklch(0.992 0.001 302.193);
--card: oklch(0.104 0.016 302.701);
--card-foreground: oklch(0.992 0.001 302.193);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.304 0.043 299.93);
--primary-foreground: oklch(0.833 0.03 301.64);
--secondary: oklch(0.362 0.04 124.046);
--secondary-foreground: oklch(0.874 0.03 122.753);
--accent: oklch(0.362 0.04 124.046);
--accent-foreground: oklch(0.874 0.03 122.753);
--destructive: oklch(0.626 0.214 34.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.304 0.043 299.93);
--chart-1: oklch(0.304 0.043 299.93);
--chart-2: oklch(0.362 0.04 124.046);
--chart-3: oklch(0.362 0.04 124.046);
--chart-4: oklch(0.395 0.045 124.091);
--chart-5: oklch(0.301 0.049 299.564);
}