Freezing is a shadcn/ui theme built around a deep cyan primary color (#2d5053) with deep red accents (#53302d). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep cyan primary (#2d5053) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030707black |
| Foreground | #010405black | #fcfdfdwhite |
| Card | #fbfefewhite | #030707black |
| Card foreground | #010405black | #fcfdfdwhite |
| Popover | #fbfefewhite | #030707black |
| Popover foreground | #010405black | #fcfdfdwhite |
| Primary | #2d5053darkslategray | #2d5053darkslategray |
| Primary foreground | #cde2e4gainsboro | #cde2e4gainsboro |
| Secondary | #53302ddarkslategray | #53302ddarkslategray |
| Secondary foreground | #e4cfcdlightgrey | #e4cfcdlightgrey |
| Muted | #e5cecclightgrey | #331c1ablack |
| Muted foreground | #695e5ddimgray | #a29796darkgray |
| Accent | #53302ddarkslategray | #53302ddarkslategray |
| Accent foreground | #e4cfcdlightgrey | #e4cfcdlightgrey |
| Destructive | #95220ebrown | #eb4a2dtomato |
| Destructive foreground | #fcdfdamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2d5053darkslategray | #2d5053darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 4.18:1 | AA Large |
| Accent | 7.73:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 5.61:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Freezing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 203.557);
--foreground: oklch(0.1 0.014 200.37);
--muted: oklch(0.871 0.026 23.897);
--muted-foreground: oklch(0.494 0.014 23.883);
--popover: oklch(0.994 0.003 203.557);
--popover-foreground: oklch(0.1 0.014 200.37);
--card: oklch(0.994 0.003 203.557);
--card-foreground: oklch(0.1 0.014 200.37);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.405 0.041 203.152);
--primary-foreground: oklch(0.899 0.023 203.368);
--secondary: oklch(0.351 0.052 25.632);
--secondary-foreground: oklch(0.872 0.024 23.864);
--accent: oklch(0.351 0.052 25.632);
--accent-foreground: oklch(0.872 0.024 23.864);
--destructive: oklch(0.442 0.154 32.233);
--destructive-foreground: oklch(0.925 0.033 29.63);
--ring: oklch(0.405 0.041 203.152);
--chart-1: oklch(0.405 0.041 203.152);
--chart-2: oklch(0.351 0.052 25.632);
--chart-3: oklch(0.351 0.052 25.632);
--chart-4: oklch(0.378 0.057 25.687);
--chart-5: oklch(0.409 0.044 203.187);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.009 201.806);
--foreground: oklch(0.993 0.001 203.568);
--muted: oklch(0.256 0.037 25.583);
--muted-foreground: oklch(0.684 0.013 23.774);
--popover: oklch(0.121 0.009 201.806);
--popover-foreground: oklch(0.993 0.001 203.568);
--card: oklch(0.121 0.009 201.806);
--card-foreground: oklch(0.993 0.001 203.568);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.405 0.041 203.152);
--primary-foreground: oklch(0.899 0.023 203.368);
--secondary: oklch(0.351 0.052 25.632);
--secondary-foreground: oklch(0.872 0.024 23.864);
--accent: oklch(0.351 0.052 25.632);
--accent-foreground: oklch(0.872 0.024 23.864);
--destructive: oklch(0.634 0.203 32.383);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.041 203.152);
--chart-1: oklch(0.405 0.041 203.152);
--chart-2: oklch(0.351 0.052 25.632);
--chart-3: oklch(0.351 0.052 25.632);
--chart-4: oklch(0.378 0.057 25.687);
--chart-5: oklch(0.409 0.044 203.187);
}