Icy is a shadcn/ui theme built around a vivid deep yellow primary color (#3c3301) with vivid deep blue accents (#010a3c). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid deep yellow primary (#3c3301) on a yellow-tinted background (#0d0c07).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #0d0c07black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfcf7snow | #0d0c07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfcf7snow | #0d0c07black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #3c3301darkolivegreen | #3c3301darkolivegreen |
| Primary foreground | #fbd80egold | #fbd80egold |
| Secondary | #010a3cmidnightblue | #010a3cmidnightblue |
| Secondary foreground | #d7ddfelavender | #d7ddfelavender |
| Muted | #cfd2e2lightgrey | #1d2030darkslategray |
| Muted foreground | #4b4c53darkslategray | #acadb4darkgray |
| Accent | #010a3cmidnightblue | #010a3cmidnightblue |
| Accent foreground | #d7ddfelavender | #d7ddfelavender |
| Destructive | #5d1a09maroon | #e94c25chocolate |
| Destructive foreground | #f6b3a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c3301darkolivegreen | #3c3301darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 8.91:1 | AAA |
| Secondary button | 14.11:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 14.11:1 | AAA |
| Destructive | 7.36:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.91:1 | AAA |
| Secondary button | 14.11:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 14.11:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Icy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 98.405);
--foreground: oklch(0 0 0);
--muted: oklch(0.867 0.023 277.928);
--muted-foreground: oklch(0.419 0.011 277.918);
--popover: oklch(0.99 0.006 98.405);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.006 98.405);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.322 0.066 98.405);
--primary-foreground: oklch(0.885 0.181 96.84);
--secondary: oklch(0.184 0.097 264.463);
--secondary-foreground: oklch(0.903 0.046 277.518);
--accent: oklch(0.184 0.097 264.463);
--accent-foreground: oklch(0.903 0.046 277.518);
--destructive: oklch(0.325 0.101 34.81);
--destructive-foreground: oklch(0.825 0.082 34.523);
--ring: oklch(0.322 0.066 98.405);
--chart-1: oklch(0.322 0.066 98.405);
--chart-2: oklch(0.184 0.097 264.463);
--chart-3: oklch(0.184 0.097 264.463);
--chart-4: oklch(0.209 0.115 264.611);
--chart-5: oklch(0.325 0.067 98.335);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.011 99.621);
--foreground: oklch(1 0 180);
--muted: oklch(0.247 0.031 276.154);
--muted-foreground: oklch(0.749 0.01 278.13);
--popover: oklch(0.155 0.011 99.621);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.155 0.011 99.621);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.322 0.066 98.405);
--primary-foreground: oklch(0.885 0.181 96.84);
--secondary: oklch(0.184 0.097 264.463);
--secondary-foreground: oklch(0.903 0.046 277.518);
--accent: oklch(0.184 0.097 264.463);
--accent-foreground: oklch(0.903 0.046 277.518);
--destructive: oklch(0.633 0.2 34.713);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.322 0.066 98.405);
--chart-1: oklch(0.322 0.066 98.405);
--chart-2: oklch(0.184 0.097 264.463);
--chart-3: oklch(0.184 0.097 264.463);
--chart-4: oklch(0.209 0.115 264.611);
--chart-5: oklch(0.325 0.067 98.335);
}