Frozen is a shadcn/ui theme built around a near-white primary color (#f9f9fb) with muted light indigo accents (#c4c6de). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the near-white primary (#f9f9fb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #060713black | #fcfcfdwhite |
| Card | #fbfbfeghostwhite | #000000black |
| Card foreground | #060713black | #fcfcfdwhite |
| Popover | #fbfbfeghostwhite | #000000black |
| Popover foreground | #060713black | #fcfcfdwhite |
| Primary | #f9f9fbghostwhite | #f9f9fbghostwhite |
| Primary foreground | #515470dimgray | #515470dimgray |
| Secondary | #e4e4eclavender | #171821black |
| Secondary foreground | #40435edarkslategray | #a8abc2darkgray |
| Muted | #e9eaf1lavender | #0e0e16black |
| Muted foreground | #4d4f60darkslategray | #9fa0b2darkgray |
| Accent | #c4c6delightsteelblue | #24263ddarkslategray |
| Accent foreground | #282b48darkslategray | #bcbed7lightsteelblue |
| Destructive | #c94208chocolate | #f5510aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9f9fbghostwhite | #f9f9fbghostwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 4.92:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Frozen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.003 282.155);
--foreground: oklch(0.137 0.026 277.542);
--muted: oklch(0.937 0.011 282.024);
--muted-foreground: oklch(0.432 0.029 281.027);
--popover: oklch(0.989 0.003 282.155);
--popover-foreground: oklch(0.137 0.026 277.542);
--card: oklch(0.989 0.003 282.155);
--card-foreground: oklch(0.137 0.026 277.542);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.983 0.002 282.179);
--primary-foreground: oklch(0.455 0.046 280.336);
--secondary: oklch(0.922 0.011 282.016);
--secondary-foreground: oklch(0.391 0.047 279.975);
--accent: oklch(0.833 0.033 281.532);
--accent-foreground: oklch(0.301 0.052 278.815);
--destructive: oklch(0.566 0.18 38.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.983 0.002 282.179);
--chart-1: oklch(0.983 0.002 282.179);
--chart-2: oklch(0.922 0.011 282.016);
--chart-3: oklch(0.833 0.033 281.532);
--chart-4: oklch(0.948 0.007 282.087);
--chart-5: oklch(0.983 0.002 282.172);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 282.182);
--muted: oklch(0.168 0.016 280.423);
--muted-foreground: oklch(0.711 0.025 281.6);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 282.182);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 282.182);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.983 0.002 282.179);
--primary-foreground: oklch(0.455 0.046 280.336);
--secondary: oklch(0.213 0.017 280.751);
--secondary-foreground: oklch(0.746 0.033 281.443);
--accent: oklch(0.279 0.041 279.394);
--accent-foreground: oklch(0.808 0.034 281.473);
--destructive: oklch(0.655 0.211 38.038);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.983 0.002 282.179);
--chart-1: oklch(0.983 0.002 282.179);
--chart-2: oklch(0.213 0.017 280.751);
--chart-3: oklch(0.279 0.041 279.394);
--chart-4: oklch(0.242 0.021 280.618);
--chart-5: oklch(0.983 0.002 282.172);
}