Cummerbund is a shadcn/ui theme built around a deep red primary color (#361511) with deep orange accents (#362711). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep red primary (#361511) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #030202black |
| Foreground | #110503black | #fcf8f8snow |
| Card | #fbf9f8snow | #070403black |
| Card foreground | #0d0303black | #fdfcfcsnow |
| Popover | #fbf9f8snow | #070403black |
| Popover foreground | #0d0303black | #fdfcfcsnow |
| Primary | #361511black | #361511black |
| Primary foreground | #dfa19btan | #dfa19btan |
| Secondary | #361121black | #361121black |
| Secondary foreground | #df9bb7plum | #df9bb7plum |
| Muted | #f0e0e7mistyrose | #1f0f16black |
| Muted foreground | #664d57dimgray | #b299a4darkgray |
| Accent | #362711black | #362711black |
| Accent foreground | #dfc29bburlywood | #dfc29bburlywood |
| Destructive | #cd340afirebrick | #f55529tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #361511black | #361511black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 8.49:1 | AAA |
| Destructive | 5.15:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 8.49:1 | AAA |
| Destructive | 6.20:1 | AA |
Paste this into your globals.css to use Cummerbund in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 23.596);
--foreground: oklch(0.134 0.026 29.44);
--muted: oklch(0.921 0.02 350.259);
--muted-foreground: oklch(0.449 0.037 351.866);
--popover: oklch(0.983 0.003 23.612);
--popover-foreground: oklch(0.12 0.023 29.819);
--card: oklch(0.983 0.003 23.612);
--card-foreground: oklch(0.12 0.023 29.819);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.244 0.054 27.071);
--primary-foreground: oklch(0.765 0.075 24.804);
--secondary: oklch(0.244 0.061 356.595);
--secondary-foreground: oklch(0.763 0.088 352.712);
--accent: oklch(0.284 0.041 74.15);
--accent-foreground: oklch(0.829 0.061 76.012);
--destructive: oklch(0.558 0.195 34.197);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.244 0.054 27.071);
--chart-1: oklch(0.244 0.054 27.071);
--chart-2: oklch(0.244 0.061 356.595);
--chart-3: oklch(0.284 0.041 74.15);
--chart-4: oklch(0.273 0.072 356.992);
--chart-5: oklch(0.244 0.057 27.336);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.007 25.846);
--foreground: oklch(0.983 0.003 23.615);
--muted: oklch(0.194 0.029 353.659);
--muted-foreground: oklch(0.709 0.033 350.927);
--popover: oklch(0.111 0.009 25.846);
--popover-foreground: oklch(0.991 0.002 23.598);
--card: oklch(0.111 0.009 25.846);
--card-foreground: oklch(0.991 0.002 23.598);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.244 0.054 27.071);
--primary-foreground: oklch(0.765 0.075 24.804);
--secondary: oklch(0.244 0.061 356.595);
--secondary-foreground: oklch(0.763 0.088 352.712);
--accent: oklch(0.284 0.041 74.15);
--accent-foreground: oklch(0.829 0.061 76.012);
--destructive: oklch(0.661 0.204 35.655);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.244 0.054 27.071);
--chart-1: oklch(0.244 0.054 27.071);
--chart-2: oklch(0.244 0.061 356.595);
--chart-3: oklch(0.284 0.041 74.15);
--chart-4: oklch(0.273 0.072 356.992);
--chart-5: oklch(0.244 0.057 27.336);
}