Thaw is a shadcn/ui theme built around a vivid deep teal primary color (#011819) with muted light teal accents (#dfe7e7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#011819) on a teal-tinted background (#040b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b0bblack |
| Foreground | #020808black | #f8fcfcmintcream |
| Card | #fcfcfcsnow | #060e0eblack |
| Card foreground | #010404black | #fbfdfdwhite |
| Popover | #fcfcfcsnow | #060e0eblack |
| Popover foreground | #010404black | #fbfdfdwhite |
| Primary | #011819black | #011819black |
| Primary foreground | #06d8e0darkturquoise | #06d8e0darkturquoise |
| Secondary | #dfe7e7gainsboro | #272f30darkslategray |
| Secondary foreground | #405454darkslategray | #becacasilver |
| Muted | #dbeff0lavender | #0f2324black |
| Muted foreground | #464e4edarkslategray | #b1b9b9silver |
| Accent | #dfe7e7gainsboro | #272f30darkslategray |
| Accent foreground | #405454darkslategray | #becacasilver |
| Destructive | #9a1809darkred | #f4503etomato |
| Destructive foreground | #fddcd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #011819black | #011819black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 10.39:1 | AAA |
| Secondary button | 6.37:1 | AA |
| Muted text | 7.16:1 | AAA |
| Accent | 6.37:1 | AA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 10.39:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Thaw in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.015 197.455);
--muted: oklch(0.938 0.021 199.311);
--muted-foreground: oklch(0.417 0.011 199.257);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.1 0.012 197.455);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.1 0.012 197.455);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.19 0.031 197.828);
--primary-foreground: oklch(0.803 0.136 199.127);
--secondary: oklch(0.921 0.008 199.485);
--secondary-foreground: oklch(0.428 0.025 198.896);
--accent: oklch(0.921 0.008 199.485);
--accent-foreground: oklch(0.428 0.025 198.896);
--destructive: oklch(0.442 0.167 30.513);
--destructive-foreground: oklch(0.921 0.037 25.364);
--ring: oklch(0.19 0.031 197.828);
--chart-1: oklch(0.19 0.031 197.828);
--chart-2: oklch(0.921 0.008 199.485);
--chart-3: oklch(0.921 0.008 199.485);
--chart-4: oklch(0.943 0.006 199.52);
--chart-5: oklch(0.192 0.032 197.806);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 198.153);
--foreground: oklch(0.987 0.004 199.551);
--muted: oklch(0.24 0.026 198.468);
--muted-foreground: oklch(0.78 0.01 199.44);
--popover: oklch(0.156 0.014 198.422);
--popover-foreground: oklch(0.994 0.002 199.578);
--card: oklch(0.156 0.014 198.422);
--card-foreground: oklch(0.994 0.002 199.578);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.19 0.031 197.828);
--primary-foreground: oklch(0.803 0.136 199.127);
--secondary: oklch(0.299 0.012 199.109);
--secondary-foreground: oklch(0.83 0.012 199.404);
--accent: oklch(0.299 0.012 199.109);
--accent-foreground: oklch(0.83 0.012 199.404);
--destructive: oklch(0.656 0.203 29.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.19 0.031 197.828);
--chart-1: oklch(0.19 0.031 197.828);
--chart-2: oklch(0.299 0.012 199.109);
--chart-3: oklch(0.299 0.012 199.109);
--chart-4: oklch(0.331 0.013 199.093);
--chart-5: oklch(0.192 0.032 197.806);
}