Worrying Cold and Dark is a shadcn/ui theme built around a deep cyan primary color (#114450) with deep green accents (#445011). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the deep cyan primary (#114450) on a cyan-tinted background (#030a0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #030a0cblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfdfewhite | #030a0cblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #030a0cblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #114450darkslategray | #114450darkslategray |
| Primary foreground | #a7dfecpowderblue | #a7dfecpowderblue |
| Secondary | #501144indigo | #501144indigo |
| Secondary foreground | #eca7dfplum | #eca7dfplum |
| Muted | #ede3eblavender | #1c121ablack |
| Muted foreground | #73596edimgray | #a68ca1rosybrown |
| Accent | #445011darkolivegreen | #445011darkolivegreen |
| Accent foreground | #dfeca7palegoldenrod | #dfeca7palegoldenrod |
| Destructive | #d33403orangered | #fb4913orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0e5e6gainsboro | #1e2325black |
| Input | #e0e5e6gainsboro | #1e2325black |
| Ring | #114450darkslategray | #114450darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 4.97:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 4.93:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 3.45:1 | AA Large |
Paste this into your globals.css to use Worrying Cold and Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 212.663);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.014 331.621);
--muted-foreground: oklch(0.498 0.047 332.694);
--popover: oklch(0.994 0.003 212.663);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 212.663);
--card-foreground: oklch(0 0 0);
--border: oklch(0.918 0.006 212.666);
--input: oklch(0.918 0.006 212.666);
--primary: oklch(0.361 0.056 216.082);
--primary-foreground: oklch(0.87 0.061 213.05);
--secondary: oklch(0.308 0.112 336.387);
--secondary-foreground: oklch(0.811 0.11 333.204);
--accent: oklch(0.408 0.086 119.508);
--accent-foreground: oklch(0.918 0.091 116.673);
--destructive: oklch(0.569 0.201 34.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.361 0.056 216.082);
--chart-1: oklch(0.361 0.056 216.082);
--chart-2: oklch(0.308 0.112 336.387);
--chart-3: oklch(0.408 0.086 119.508);
--chart-4: oklch(0.339 0.126 336.516);
--chart-5: oklch(0.363 0.057 216.374);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 209.672);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.021 332.802);
--muted-foreground: oklch(0.67 0.044 332.308);
--popover: oklch(0.138 0.014 209.672);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.014 209.672);
--card-foreground: oklch(1 0 180);
--border: oklch(0.253 0.009 212.758);
--input: oklch(0.253 0.009 212.758);
--primary: oklch(0.361 0.056 216.082);
--primary-foreground: oklch(0.87 0.061 213.05);
--secondary: oklch(0.308 0.112 336.387);
--secondary-foreground: oklch(0.811 0.11 333.204);
--accent: oklch(0.408 0.086 119.508);
--accent-foreground: oklch(0.918 0.091 116.673);
--destructive: oklch(0.658 0.222 35.252);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.361 0.056 216.082);
--chart-1: oklch(0.361 0.056 216.082);
--chart-2: oklch(0.308 0.112 336.387);
--chart-3: oklch(0.408 0.086 119.508);
--chart-4: oklch(0.339 0.126 336.516);
--chart-5: oklch(0.363 0.057 216.374);
}