Album is a shadcn/ui theme built around an orange primary color (#d5a962) with blue accents (#628ed5). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the orange primary (#d5a962) on an orange-tinted background (#0c0904).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #0c0904black |
| Foreground | #090601black | #faf8f5whitesmoke |
| Card | #faf8f4whitesmoke | #100b05black |
| Card foreground | #040301black | #fcfaf8snow |
| Popover | #faf8f4whitesmoke | #100b05black |
| Popover foreground | #040301black | #fcfaf8snow |
| Primary | #d5a962darkkhaki | #d5a962darkkhaki |
| Primary foreground | #040301black | #040301black |
| Secondary | #628ed5cornflowerblue | #628ed5cornflowerblue |
| Secondary foreground | #010204black | #010204black |
| Muted | #e6e8ealavender | #151619black |
| Muted foreground | #434c5bdarkslategray | #a4adbcdarkgray |
| Accent | #628ed5cornflowerblue | #628ed5cornflowerblue |
| Accent foreground | #010204black | #010204black |
| Destructive | #7c2a04saddlebrown | #f97639tomato |
| Destructive foreground | #fdccb5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5a962darkkhaki | #d5a962darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 6.28:1 | AA |
| Muted text | 7.03:1 | AAA |
| Accent | 6.28:1 | AA |
| Destructive | 6.63:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 6.28:1 | AA |
| Muted text | 7.97:1 | AAA |
| Accent | 6.28:1 | AA |
| Destructive | 7.66:1 | AAA |
Paste this into your globals.css to use Album in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 79.927);
--foreground: oklch(0.124 0.019 88.649);
--muted: oklch(0.929 0.004 259.938);
--muted-foreground: oklch(0.415 0.027 259.887);
--popover: oklch(0.98 0.006 79.924);
--popover-foreground: oklch(0.098 0.015 88.649);
--card: oklch(0.98 0.006 79.924);
--card-foreground: oklch(0.098 0.015 88.649);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.76 0.103 78.104);
--primary-foreground: oklch(0.097 0.011 86.811);
--secondary: oklch(0.646 0.118 259.558);
--secondary-foreground: oklch(0.086 0.011 251.455);
--accent: oklch(0.646 0.118 259.558);
--accent-foreground: oklch(0.086 0.011 251.455);
--destructive: oklch(0.402 0.122 40.418);
--destructive-foreground: oklch(0.881 0.064 46.169);
--ring: oklch(0.76 0.103 78.104);
--chart-1: oklch(0.76 0.103 78.104);
--chart-2: oklch(0.646 0.118 259.558);
--chart-3: oklch(0.646 0.118 259.558);
--chart-4: oklch(0.673 0.108 259.614);
--chart-5: oklch(0.764 0.108 77.903);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.015 85.773);
--foreground: oklch(0.979 0.004 79.926);
--muted: oklch(0.202 0.006 259.943);
--muted-foreground: oklch(0.746 0.023 259.941);
--popover: oklch(0.155 0.017 82.656);
--popover-foreground: oklch(0.986 0.003 79.929);
--card: oklch(0.155 0.017 82.656);
--card-foreground: oklch(0.986 0.003 79.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.76 0.103 78.104);
--primary-foreground: oklch(0.097 0.011 86.811);
--secondary: oklch(0.646 0.118 259.558);
--secondary-foreground: oklch(0.086 0.011 251.455);
--accent: oklch(0.646 0.118 259.558);
--accent-foreground: oklch(0.086 0.011 251.455);
--destructive: oklch(0.711 0.176 43.243);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.76 0.103 78.104);
--chart-1: oklch(0.76 0.103 78.104);
--chart-2: oklch(0.646 0.118 259.558);
--chart-3: oklch(0.646 0.118 259.558);
--chart-4: oklch(0.673 0.108 259.614);
--chart-5: oklch(0.764 0.108 77.903);
}