Cold is a shadcn/ui theme built around a muted orange primary color (#6b5343) with muted yellow accents (#6b6743). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#6b5343) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #040201black | #faf7f5whitesmoke |
| Card | #ffffffwhite | #040201black |
| Card foreground | #040201black | #faf7f5whitesmoke |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #040201black | #faf7f5whitesmoke |
| Primary | #6b5343darkolivegreen | #6b5343darkolivegreen |
| Primary foreground | #f3efeclinen | #f3efeclinen |
| Secondary | #6b4346darkolivegreen | #6b4346darkolivegreen |
| Secondary foreground | #f3ecedlinen | #f3ecedlinen |
| Muted | #e5dcddgainsboro | #231a1bblack |
| Muted foreground | #6c5658dimgray | #a99395rosybrown |
| Accent | #6b6743darkolivegreen | #6b6743darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7f300bsaddlebrown | #d34f12chocolate |
| Destructive foreground | #fad4c2peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6b5343darkolivegreen | #6b5343darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.70:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.01:1 | AA |
| Accent | 5.74:1 | AA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 5.74:1 | AA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Cold in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.093 0.013 69.112);
--muted: oklch(0.901 0.01 11.495);
--muted-foreground: oklch(0.476 0.028 12.562);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.093 0.013 69.112);
--card: oklch(1 0 180);
--card-foreground: oklch(0.093 0.013 69.112);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.463 0.04 57.063);
--primary-foreground: oklch(0.955 0.006 58.276);
--secondary: oklch(0.429 0.056 14.22);
--secondary-foreground: oklch(0.949 0.008 11.426);
--accent: oklch(0.508 0.054 103.686);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.416 0.119 41.412);
--destructive-foreground: oklch(0.896 0.049 46.318);
--ring: oklch(0.463 0.04 57.063);
--chart-1: oklch(0.463 0.04 57.063);
--chart-2: oklch(0.429 0.056 14.22);
--chart-3: oklch(0.508 0.054 103.686);
--chart-4: oklch(0.455 0.06 14.261);
--chart-5: oklch(0.464 0.046 56.862);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.01 66.584);
--foreground: oklch(0.978 0.004 58.309);
--muted: oklch(0.229 0.015 12.663);
--muted-foreground: oklch(0.684 0.026 12.069);
--popover: oklch(0.093 0.01 66.584);
--popover-foreground: oklch(0.978 0.004 58.309);
--card: oklch(0.093 0.01 66.584);
--card-foreground: oklch(0.978 0.004 58.309);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.463 0.04 57.063);
--primary-foreground: oklch(0.955 0.006 58.276);
--secondary: oklch(0.429 0.056 14.22);
--secondary-foreground: oklch(0.949 0.008 11.426);
--accent: oklch(0.508 0.054 103.686);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.599 0.178 40.536);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.463 0.04 57.063);
--chart-1: oklch(0.463 0.04 57.063);
--chart-2: oklch(0.429 0.056 14.22);
--chart-3: oklch(0.508 0.054 103.686);
--chart-4: oklch(0.455 0.06 14.261);
--chart-5: oklch(0.464 0.046 56.862);
}