Blizzard is a shadcn/ui theme built around a muted deep orange primary color (#544036) with neutral gray accents (#dcdbda). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the muted deep orange primary (#544036) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #030202black |
| Foreground | #040201black | #f9f7f5whitesmoke |
| Card | #faf7f5whitesmoke | #070503black |
| Card foreground | #000000black | #fbf9f9snow |
| Popover | #faf7f5whitesmoke | #070503black |
| Popover foreground | #000000black | #fbf9f9snow |
| Primary | #544036darkolivegreen | #544036darkolivegreen |
| Primary foreground | #e5dcd7gainsboro | #e5dcd7gainsboro |
| Secondary | #dcdbdagainsboro | #231d1bblack |
| Secondary foreground | #444240darkslategray | #c1b5aesilver |
| Muted | #e4d9d2gainsboro | #2d211bblack |
| Muted foreground | #524b47darkslategray | #b8b1addarkgray |
| Accent | #dcdbdagainsboro | #231d1bblack |
| Accent foreground | #444240darkslategray | #c1b5aesilver |
| Destructive | #c73800firebrick | #ff4800orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #544036darkolivegreen | #544036darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.24:1 | AAA |
| Destructive | 5.25:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Blizzard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 50.62);
--foreground: oklch(0.091 0.01 58.96);
--muted: oklch(0.892 0.015 50.44);
--muted-foreground: oklch(0.418 0.011 50.326);
--popover: oklch(0.977 0.004 50.6);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.977 0.004 50.6);
--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.391 0.033 49.679);
--primary-foreground: oklch(0.9 0.013 50.481);
--secondary: oklch(0.892 0.002 50.633);
--secondary-foreground: oklch(0.38 0.004 50.516);
--accent: oklch(0.892 0.002 50.633);
--accent-foreground: oklch(0.38 0.004 50.516);
--destructive: oklch(0.552 0.187 36.548);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.033 49.679);
--chart-1: oklch(0.391 0.033 49.679);
--chart-2: oklch(0.892 0.002 50.633);
--chart-3: oklch(0.892 0.002 50.633);
--chart-4: oklch(0.916 0.001 50.639);
--chart-5: oklch(0.391 0.037 49.544);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.006 55.391);
--foreground: oklch(0.977 0.003 50.613);
--muted: oklch(0.26 0.021 49.697);
--muted-foreground: oklch(0.765 0.01 50.499);
--popover: oklch(0.115 0.008 55.391);
--popover-foreground: oklch(0.985 0.002 50.629);
--card: oklch(0.115 0.008 55.391);
--card-foreground: oklch(0.985 0.002 50.629);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.391 0.033 49.679);
--primary-foreground: oklch(0.9 0.013 50.481);
--secondary: oklch(0.237 0.01 50.167);
--secondary-foreground: oklch(0.781 0.017 50.392);
--accent: oklch(0.237 0.01 50.167);
--accent-foreground: oklch(0.781 0.017 50.392);
--destructive: oklch(0.663 0.227 36.019);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.033 49.679);
--chart-1: oklch(0.391 0.033 49.679);
--chart-2: oklch(0.237 0.01 50.167);
--chart-3: oklch(0.237 0.01 50.167);
--chart-4: oklch(0.269 0.012 50.135);
--chart-5: oklch(0.391 0.037 49.544);
}