Frozen is a shadcn/ui theme built around a light green primary color (#a6dda6) with neutral gray accents (#cbc3c3). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the light green primary (#a6dda6) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #010401black |
| Foreground | #000000black | #f9fbf9mintcream |
| Card | #f8fcf8mintcream | #010401black |
| Card foreground | #000000black | #f9fbf9mintcream |
| Popover | #f8fcf8mintcream | #010401black |
| Popover foreground | #000000black | #f9fbf9mintcream |
| Primary | #a6dda6lightgreen | #a6dda6lightgreen |
| Primary foreground | #163b16darkgreen | #163b16darkgreen |
| Secondary | #d6d6d6lightgrey | #253725darkslategray |
| Secondary foreground | #3d3d3ddarkslategray | #bcd2bcsilver |
| Muted | #ecdadagainsboro | #132513black |
| Muted foreground | #624b4bdimgray | #9db49ddarkgray |
| Accent | #cbc3c3silver | #325832darkslategray |
| Accent foreground | #312b2bdarkslategray | #d5e7d5gainsboro |
| Destructive | #9d2801saddlebrown | #fe4001orangered |
| Destructive foreground | #ffddd1blanchedalmond | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6dda6lightgreen | #a6dda6lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 6.28:1 | AA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Frozen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 145.522);
--foreground: oklch(0 0 0);
--muted: oklch(0.903 0.019 17.514);
--muted-foreground: oklch(0.438 0.031 18.391);
--popover: oklch(0.987 0.007 145.522);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.007 145.522);
--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.846 0.095 144.683);
--primary-foreground: oklch(0.316 0.075 143.543);
--secondary: oklch(0.877 0 180);
--secondary-foreground: oklch(0.361 0 180);
--accent: oklch(0.823 0.009 17.335);
--accent-foreground: oklch(0.295 0.009 17.701);
--destructive: oklch(0.461 0.159 35.589);
--destructive-foreground: oklch(0.922 0.041 39.3);
--ring: oklch(0.846 0.095 144.683);
--chart-1: oklch(0.846 0.095 144.683);
--chart-2: oklch(0.877 0 180);
--chart-3: oklch(0.823 0.009 17.335);
--chart-4: oklch(0.9 0 188.746);
--chart-5: oklch(0.849 0.101 144.626);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.018 144.021);
--foreground: oklch(0.986 0.003 145.551);
--muted: oklch(0.242 0.04 144.22);
--muted-foreground: oklch(0.745 0.04 145.155);
--popover: oklch(0.096 0.018 144.021);
--popover-foreground: oklch(0.986 0.003 145.551);
--card: oklch(0.096 0.018 144.021);
--card-foreground: oklch(0.986 0.003 145.551);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.846 0.095 144.683);
--primary-foreground: oklch(0.316 0.075 143.543);
--secondary: oklch(0.314 0.038 144.599);
--secondary-foreground: oklch(0.84 0.037 145.235);
--accent: oklch(0.421 0.076 144.069);
--accent-foreground: oklch(0.909 0.032 145.308);
--destructive: oklch(0.654 0.231 34.582);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.846 0.095 144.683);
--chart-1: oklch(0.846 0.095 144.683);
--chart-2: oklch(0.314 0.038 144.599);
--chart-3: oklch(0.421 0.076 144.069);
--chart-4: oklch(0.347 0.043 144.567);
--chart-5: oklch(0.849 0.101 144.626);
}