Hypothermia is a shadcn/ui theme built around an indigo primary color (#3c429a) with green accents (#429a3c). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#3c429a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #010209black | #f8f9fbghostwhite |
| Card | #f6f7fdghostwhite | #030303black |
| Card foreground | #010104black | #fcfcfdwhite |
| Popover | #f6f7fdghostwhite | #030303black |
| Popover foreground | #010104black | #fcfcfdwhite |
| Primary | #3c429adarkslateblue | #3c429adarkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9a3c42sienna | #9a3c42sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2e3e4mistyrose | #1c0d0eblack |
| Muted foreground | #674c4edimgray | #b3989arosybrown |
| Accent | #429a3cseagreen | #429a3cseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7a2c0bsaddlebrown | #ee733ftomato |
| Destructive foreground | #f9cfbdpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c429adarkslateblue | #3c429adarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 6.20:1 | AA |
| Accent | 3.53:1 | AA Large |
| Destructive | 6.69:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 7.08:1 | AAA |
| Accent | 3.53:1 | AA Large |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Hypothermia in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 283.034);
--foreground: oklch(0.089 0.027 273.966);
--muted: oklch(0.928 0.017 12.81);
--muted-foreground: oklch(0.445 0.036 14.186);
--popover: oklch(0.977 0.008 282.959);
--popover-foreground: oklch(0.071 0.021 273.966);
--card: oklch(0.977 0.008 282.959);
--card-foreground: oklch(0.071 0.021 273.966);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.426 0.141 275.557);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.487 0.126 19.111);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.612 0.156 142.272);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.403 0.117 40.316);
--destructive-foreground: oklch(0.887 0.054 44.473);
--ring: oklch(0.426 0.141 275.557);
--chart-1: oklch(0.426 0.141 275.557);
--chart-2: oklch(0.487 0.126 19.111);
--chart-3: oklch(0.612 0.156 142.272);
--chart-4: oklch(0.512 0.133 19.178);
--chart-5: oklch(0.422 0.15 274.815);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.004 283.045);
--muted: oklch(0.181 0.027 15.787);
--muted-foreground: oklch(0.705 0.032 13.383);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.002 283.076);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 283.076);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.426 0.141 275.557);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.487 0.126 19.111);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.612 0.156 142.272);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.693 0.166 42.352);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.426 0.141 275.557);
--chart-1: oklch(0.426 0.141 275.557);
--chart-2: oklch(0.487 0.126 19.111);
--chart-3: oklch(0.612 0.156 142.272);
--chart-4: oklch(0.512 0.133 19.178);
--chart-5: oklch(0.422 0.15 274.815);
}