Album is a shadcn/ui theme built around a muted red primary color (#604348) with muted teal accents (#43605b). The light mode uses a neutral background (#fdf6f8). Dark mode keeps the muted red primary (#604348) on a red-tinted background (#0b0405).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6f8snow | #0b0405black |
| Foreground | #040102black | #fbf9f9snow |
| Card | #fdf2f4lavenderblush | #0f0507black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf6f8snow | #0b0405black |
| Popover foreground | #040102black | #fbf9f9snow |
| Primary | #604348darkolivegreen | #604348darkolivegreen |
| Primary foreground | #eee7e8linen | #eee7e8linen |
| Secondary | #43605bdarkslategray | #43605bdarkslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5ebealavender | #141a19black |
| Muted foreground | #52605edimgray | #9fadaadarkgray |
| Accent | #43605bdarkslategray | #43605bdarkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #650906maroon | #f22d26crimson |
| Destructive foreground | #faa6a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #604348darkolivegreen | #604348darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 5.46:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.83:1 | AA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Album in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.008 4.523);
--foreground: oklch(0.083 0.014 4.725);
--muted: oklch(0.936 0.008 184.096);
--muted-foreground: oklch(0.477 0.018 183.269);
--popover: oklch(0.98 0.008 4.523);
--popover-foreground: oklch(0.083 0.014 4.725);
--card: oklch(0.97 0.012 4.633);
--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.417 0.041 6.893);
--primary-foreground: oklch(0.934 0.008 4.543);
--secondary: oklch(0.465 0.036 182.065);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.465 0.036 182.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.325 0.124 28.951);
--destructive-foreground: oklch(0.807 0.099 21.663);
--ring: oklch(0.417 0.041 6.893);
--chart-1: oklch(0.417 0.041 6.893);
--chart-2: oklch(0.465 0.036 182.065);
--chart-3: oklch(0.465 0.036 182.065);
--chart-4: oklch(0.495 0.038 182.037);
--chart-5: oklch(0.414 0.049 7.369);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.017 4.718);
--foreground: oklch(0.984 0.002 4.366);
--muted: oklch(0.212 0.011 182.921);
--muted-foreground: oklch(0.735 0.016 183.706);
--popover: oklch(0.122 0.017 4.718);
--popover-foreground: oklch(0.984 0.002 4.366);
--card: oklch(0.135 0.02 5.653);
--card-foreground: oklch(0.992 0.001 4.338);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.417 0.041 6.893);
--primary-foreground: oklch(0.934 0.008 4.543);
--secondary: oklch(0.465 0.036 182.065);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.465 0.036 182.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.622 0.231 28.422);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.417 0.041 6.893);
--chart-1: oklch(0.417 0.041 6.893);
--chart-2: oklch(0.465 0.036 182.065);
--chart-3: oklch(0.465 0.036 182.065);
--chart-4: oklch(0.495 0.038 182.037);
--chart-5: oklch(0.414 0.049 7.369);
}