Alpenglow is a shadcn/ui theme built around a light red primary color (#e8d1ce) with muted light red accents (#e3dad9). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the light red primary (#e8d1ce) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #040101black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fdf7f7snow | #040101black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf7f7snow | #040101black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #e8d1cegainsboro | #e8d1cegainsboro |
| Primary foreground | #5a2e2asaddlebrown | #5a2e2asaddlebrown |
| Secondary | #e3dad9gainsboro | #241f1eblack |
| Secondary foreground | #4f3c3bdarkslategray | #c0b5b4silver |
| Muted | #f7eeeelinen | #110908black |
| Muted foreground | #745a58dimgray | #a78d8brosybrown |
| Accent | #e3dad9gainsboro | #241f1eblack |
| Accent foreground | #4f3c3bdarkslategray | #c0b5b4silver |
| Destructive | #b80505firebrick | #fa3838tomato |
| Destructive foreground | #fff0f0lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8d1cegainsboro | #e8d1cegainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 5.51:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 8.16:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Alpenglow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 23.642);
--foreground: oklch(0 0 0);
--muted: oklch(0.957 0.009 23.675);
--muted-foreground: oklch(0.494 0.035 24.41);
--popover: oklch(0.981 0.006 23.642);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 23.642);
--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.878 0.027 23.899);
--primary-foreground: oklch(0.359 0.065 26.229);
--secondary: oklch(0.894 0.01 23.693);
--secondary-foreground: oklch(0.377 0.027 24.423);
--accent: oklch(0.894 0.01 23.693);
--accent-foreground: oklch(0.377 0.027 24.423);
--destructive: oklch(0.493 0.2 28.992);
--destructive-foreground: oklch(0.967 0.016 17.429);
--ring: oklch(0.878 0.027 23.899);
--chart-1: oklch(0.878 0.027 23.899);
--chart-2: oklch(0.894 0.01 23.693);
--chart-3: oklch(0.894 0.01 23.693);
--chart-4: oklch(0.919 0.008 23.663);
--chart-5: oklch(0.877 0.029 23.93);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.012 28.118);
--foreground: oklch(0.991 0.002 23.597);
--muted: oklch(0.151 0.015 25.396);
--muted-foreground: oklch(0.667 0.032 24.112);
--popover: oklch(0.085 0.012 28.118);
--popover-foreground: oklch(0.991 0.002 23.597);
--card: oklch(0.085 0.012 28.118);
--card-foreground: oklch(0.991 0.002 23.597);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.878 0.027 23.899);
--primary-foreground: oklch(0.359 0.065 26.229);
--secondary: oklch(0.244 0.009 23.954);
--secondary-foreground: oklch(0.782 0.013 23.749);
--accent: oklch(0.244 0.009 23.954);
--accent-foreground: oklch(0.782 0.013 23.749);
--destructive: oklch(0.644 0.229 26.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.878 0.027 23.899);
--chart-1: oklch(0.878 0.027 23.899);
--chart-2: oklch(0.244 0.009 23.954);
--chart-3: oklch(0.244 0.009 23.954);
--chart-4: oklch(0.275 0.01 23.979);
--chart-5: oklch(0.877 0.029 23.93);
}