Cummerbund is a shadcn/ui theme built around a vivid indigo primary color (#2114d7) with vivid yellow accents (#cad714). The light mode uses a neutral background (#fcfbfd). Dark mode keeps the vivid indigo primary (#2114d7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfdsnow | #000000black |
| Foreground | #020209black | #f6f6f9whitesmoke |
| Card | #fcfbfdsnow | #000000black |
| Card foreground | #020209black | #f6f6f9whitesmoke |
| Popover | #fcfbfdsnow | #000000black |
| Popover foreground | #020209black | #f6f6f9whitesmoke |
| Primary | #2114d7mediumblue | #2114d7mediumblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cad714goldenrod | #cad714goldenrod |
| Secondary foreground | #1a1c03black | #1a1c03black |
| Muted | #f2f3e7linen | #17180cblack |
| Muted foreground | #6b6c60dimgray | #9e9f93darkgray |
| Accent | #cad714goldenrod | #cad714goldenrod |
| Accent foreground | #1a1c03black | #1a1c03black |
| Destructive | #980d01darkred | #f91601red |
| Destructive foreground | #ffd0ccpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2114d7mediumblue | #2114d7mediumblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.09:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 9.80:1 | AAA |
| Secondary button | 10.89:1 | AAA |
| Muted text | 4.75:1 | AA |
| Accent | 10.89:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 9.80:1 | AAA |
| Secondary button | 10.89:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 10.89:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Cummerbund in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 289.427);
--foreground: oklch(0.089 0.027 284.618);
--muted: oklch(0.96 0.015 109.77);
--muted-foreground: oklch(0.527 0.019 110.13);
--popover: oklch(0.99 0.003 289.427);
--popover-foreground: oklch(0.089 0.027 284.618);
--card: oklch(0.99 0.003 289.427);
--card-foreground: oklch(0.089 0.027 284.618);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.415 0.263 268.537);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.84 0.186 114.136);
--secondary-foreground: oklch(0.218 0.044 112.921);
--accent: oklch(0.84 0.186 114.136);
--accent-foreground: oklch(0.218 0.044 112.921);
--destructive: oklch(0.432 0.17 30.434);
--destructive-foreground: oklch(0.898 0.053 24.251);
--ring: oklch(0.415 0.263 268.537);
--chart-1: oklch(0.415 0.263 268.537);
--chart-2: oklch(0.84 0.186 114.136);
--chart-3: oklch(0.84 0.186 114.136);
--chart-4: oklch(0.881 0.195 114.151);
--chart-5: oklch(0.416 0.269 267.815);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.004 289.4);
--muted: oklch(0.202 0.021 111.375);
--muted-foreground: oklch(0.699 0.017 109.941);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.004 289.4);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.004 289.4);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.415 0.263 268.537);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.84 0.186 114.136);
--secondary-foreground: oklch(0.218 0.044 112.921);
--accent: oklch(0.84 0.186 114.136);
--accent-foreground: oklch(0.218 0.044 112.921);
--destructive: oklch(0.621 0.248 30.008);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.415 0.263 268.537);
--chart-1: oklch(0.415 0.263 268.537);
--chart-2: oklch(0.84 0.186 114.136);
--chart-3: oklch(0.84 0.186 114.136);
--chart-4: oklch(0.881 0.195 114.151);
--chart-5: oklch(0.416 0.269 267.815);
}