Black Elder Reindeer is a shadcn/ui theme built around a muted red primary color (#aa6e7a) with muted orange accents (#aa806e). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted red primary (#aa6e7a) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #040102black |
| Foreground | #0c0305black | #ffffffwhite |
| Card | #fdf7f8snow | #080203black |
| Card foreground | #080203black | #ffffffwhite |
| Popover | #fdf7f8snow | #080203black |
| Popover foreground | #080203black | #ffffffwhite |
| Primary | #aa6e7arosybrown | #aa6e7arosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #aa6e98rosybrown | #aa6e98rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #f3edf1whitesmoke | #120c11black |
| Muted foreground | #50444cdarkslategray | #bbafb7silver |
| Accent | #aa806erosybrown | #aa806erosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #d14d10chocolate | #f17941coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #eee8e9linen | #261c1eblack |
| Input | #eee8e9linen | #261c1eblack |
| Ring | #aa6e7arosybrown | #aa6e7arosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 5.24:1 | AA |
| Secondary button | 5.41:1 | AA |
| Muted text | 7.98:1 | AAA |
| Accent | 6.04:1 | AA |
| Destructive | 4.40:1 | AA Large |
| Text on background | 20.78:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 5.24:1 | AA |
| Secondary button | 5.41:1 | AA |
| Muted text | 9.12:1 | AAA |
| Accent | 6.04:1 | AA |
| Destructive | 7.53:1 | AAA |
Paste this into your globals.css to use Black Elder Reindeer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 3.268);
--foreground: oklch(0.119 0.024 3.754);
--muted: oklch(0.951 0.009 336.039);
--muted-foreground: oklch(0.402 0.021 336.815);
--popover: oklch(0.981 0.006 3.354);
--popover-foreground: oklch(0.103 0.021 3.489);
--card: oklch(0.981 0.006 3.354);
--card-foreground: oklch(0.103 0.021 3.489);
--border: oklch(0.935 0.007 3.381);
--input: oklch(0.935 0.007 3.381);
--primary: oklch(0.606 0.077 6.564);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.616 0.094 338.535);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.637 0.058 44.268);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.592 0.178 40.249);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.606 0.077 6.564);
--chart-1: oklch(0.606 0.077 6.564);
--chart-2: oklch(0.616 0.094 338.535);
--chart-3: oklch(0.637 0.058 44.268);
--chart-4: oklch(0.642 0.087 338.249);
--chart-5: oklch(0.604 0.086 7.001);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.015 3.462);
--foreground: oklch(1 0 180);
--muted: oklch(0.166 0.013 337.329);
--muted-foreground: oklch(0.767 0.018 336.297);
--popover: oklch(0.104 0.019 3.462);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.104 0.019 3.462);
--card-foreground: oklch(1 0 180);
--border: oklch(0.24 0.016 4.943);
--input: oklch(0.24 0.016 4.943);
--primary: oklch(0.606 0.077 6.564);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.616 0.094 338.535);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.637 0.058 44.268);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.705 0.163 43.826);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.606 0.077 6.564);
--chart-1: oklch(0.606 0.077 6.564);
--chart-2: oklch(0.616 0.094 338.535);
--chart-3: oklch(0.637 0.058 44.268);
--chart-4: oklch(0.642 0.087 338.249);
--chart-5: oklch(0.604 0.086 7.001);
}