Band is a shadcn/ui theme built around a yellow primary color (#eccb79) with violet accents (#cb79ec). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the yellow primary (#eccb79) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #000000black |
| Foreground | #000000black | #f9f8f5whitesmoke |
| Card | #fdfbf7snow | #000000black |
| Card foreground | #000000black | #f9f8f5whitesmoke |
| Popover | #fdfbf7snow | #000000black |
| Popover foreground | #000000black | #f9f8f5whitesmoke |
| Primary | #eccb79burlywood | #eccb79burlywood |
| Primary foreground | #2d2206black | #2d2206black |
| Secondary | #79eccbaquamarine | #79eccbaquamarine |
| Secondary foreground | #062d22black | #062d22black |
| Muted | #cfe2ddgainsboro | #1d302adarkslategray |
| Muted foreground | #5c6663dimgray | #99a3a0darkgray |
| Accent | #cb79ecorchid | #cb79ecorchid |
| Accent foreground | #22062dblack | #22062dblack |
| Destructive | #862204darkred | #f96639tomato |
| Destructive foreground | #fdcdbfpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eccb79burlywood | #eccb79burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 9.98:1 | AAA |
| Secondary button | 10.42:1 | AAA |
| Muted text | 4.41:1 | AA Large |
| Accent | 6.62:1 | AA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 9.98:1 | AAA |
| Secondary button | 10.42:1 | AAA |
| Muted text | 5.38:1 | AA |
| Accent | 6.62:1 | AA |
| Destructive | 6.97:1 | AA |
Paste this into your globals.css to use Band in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 88.832);
--foreground: oklch(0 0 0);
--muted: oklch(0.898 0.022 177);
--muted-foreground: oklch(0.5 0.013 176.962);
--popover: oklch(0.989 0.006 88.832);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.006 88.832);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.854 0.108 88.509);
--primary-foreground: oklch(0.257 0.045 87.104);
--secondary: oklch(0.866 0.116 172.747);
--secondary-foreground: oklch(0.266 0.047 169.907);
--accent: oklch(0.709 0.18 315.694);
--accent-foreground: oklch(0.198 0.077 314.751);
--destructive: oklch(0.412 0.139 35.452);
--destructive-foreground: oklch(0.887 0.058 37.592);
--ring: oklch(0.854 0.108 88.509);
--chart-1: oklch(0.854 0.108 88.509);
--chart-2: oklch(0.866 0.116 172.747);
--chart-3: oklch(0.709 0.18 315.694);
--chart-4: oklch(0.878 0.106 173.398);
--chart-5: oklch(0.857 0.112 88.437);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.004 88.816);
--muted: oklch(0.29 0.027 174.628);
--muted-foreground: oklch(0.707 0.012 177.228);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.004 88.816);
--card: oklch(0 0 0);
--card-foreground: oklch(0.98 0.004 88.816);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.854 0.108 88.509);
--primary-foreground: oklch(0.257 0.045 87.104);
--secondary: oklch(0.866 0.116 172.747);
--secondary-foreground: oklch(0.266 0.047 169.907);
--accent: oklch(0.709 0.18 315.694);
--accent-foreground: oklch(0.198 0.077 314.751);
--destructive: oklch(0.689 0.19 37.159);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.854 0.108 88.509);
--chart-1: oklch(0.854 0.108 88.509);
--chart-2: oklch(0.866 0.116 172.747);
--chart-3: oklch(0.709 0.18 315.694);
--chart-4: oklch(0.878 0.106 173.398);
--chart-5: oklch(0.857 0.112 88.437);
}