Frozen is a shadcn/ui theme built around a vivid deep green primary color (#06381c) with muted light green accents (#dce5e0). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the vivid deep green primary (#06381c) on a green-tinted background (#040b07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #040b07black |
| Foreground | #04110ablack | #ffffffwhite |
| Card | #f2fcf7mintcream | #060f0ablack |
| Card foreground | #030c07black | #ffffffwhite |
| Popover | #f7fdfamintcream | #040b07black |
| Popover foreground | #04110ablack | #ffffffwhite |
| Primary | #06381cdarkgreen | #06381cdarkgreen |
| Primary foreground | #20e97bspringgreen | #20e97bspringgreen |
| Secondary | #dce5e0gainsboro | #232e28darkslategray |
| Secondary foreground | #3d5146darkslategray | #bacac1silver |
| Muted | #d8e4ddgainsboro | #1b2721black |
| Muted foreground | #4a5951darkslategray | #a6b5addarkgray |
| Accent | #dce5e0gainsboro | #232e28darkslategray |
| Accent foreground | #3d5146darkslategray | #bacac1silver |
| Destructive | #c93413firebrick | #d73814firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #06381cdarkgreen | #06381cdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 6.61:1 | AA |
| Muted text | 5.65:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 5.28:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 7.21:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 4.72:1 | AA |
Paste this into your globals.css to use Frozen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 162.409);
--foreground: oklch(0.16 0.025 160.545);
--muted: oklch(0.908 0.016 162.167);
--muted-foreground: oklch(0.449 0.022 161.317);
--popover: oklch(0.989 0.008 162.409);
--popover-foreground: oklch(0.16 0.025 160.545);
--card: oklch(0.983 0.012 162.302);
--card-foreground: oklch(0.143 0.021 162.253);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.3 0.071 153.586);
--primary-foreground: oklch(0.82 0.211 151.746);
--secondary: oklch(0.913 0.011 162.315);
--secondary-foreground: oklch(0.416 0.031 160.634);
--accent: oklch(0.913 0.011 162.315);
--accent-foreground: oklch(0.416 0.031 160.634);
--destructive: oklch(0.552 0.19 33.43);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.3 0.071 153.586);
--chart-1: oklch(0.3 0.071 153.586);
--chart-2: oklch(0.913 0.011 162.315);
--chart-3: oklch(0.913 0.011 162.315);
--chart-4: oklch(0.935 0.008 162.398);
--chart-5: oklch(0.303 0.073 153.347);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.015 162.562);
--foreground: oklch(1 0 180);
--muted: oklch(0.26 0.022 160.353);
--muted-foreground: oklch(0.758 0.02 161.955);
--popover: oklch(0.139 0.015 162.562);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.155 0.018 161.141);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.3 0.071 153.586);
--primary-foreground: oklch(0.82 0.211 151.746);
--secondary: oklch(0.29 0.018 160.978);
--secondary-foreground: oklch(0.824 0.021 161.971);
--accent: oklch(0.29 0.018 160.978);
--accent-foreground: oklch(0.824 0.021 161.971);
--destructive: oklch(0.58 0.201 33.391);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.3 0.071 153.586);
--chart-1: oklch(0.3 0.071 153.586);
--chart-2: oklch(0.29 0.018 160.978);
--chart-3: oklch(0.29 0.018 160.978);
--chart-4: oklch(0.322 0.021 160.909);
--chart-5: oklch(0.303 0.073 153.347);
}