Icicle is a shadcn/ui theme built around a near-white primary color (#fdfbfe) with near-white accents (#fefbfe). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the near-white primary (#fdfbfe) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #030104black |
| Foreground | #09030dblack | #faf8fbghostwhite |
| Card | #fbf8fcghostwhite | #060307black |
| Card foreground | #060208black | #fdfcfdwhite |
| Popover | #fbf8fcghostwhite | #060307black |
| Popover foreground | #060208black | #fdfcfdwhite |
| Primary | #fdfbfewhite | #fdfbfewhite |
| Primary foreground | #7b1cabrebeccapurple | #7b1cabrebeccapurple |
| Secondary | #fbfbfeghostwhite | #fbfbfeghostwhite |
| Secondary foreground | #341cabdarkslateblue | #341cabdarkslateblue |
| Muted | #dad8e4gainsboro | #1d1b27black |
| Muted foreground | #5e5d65dimgray | #9c9aa2darkgray |
| Accent | #fefbfewhite | #fefbfewhite |
| Accent foreground | #ab1c93mediumvioletred | #ab1c93mediumvioletred |
| Destructive | #650101maroon | #e30202red |
| Destructive foreground | #fe9a9alightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdfbfewhite | #fdfbfewhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 10.68:1 | AAA |
| Muted text | 4.60:1 | AA |
| Accent | 6.14:1 | AA |
| Destructive | 6.61:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 10.68:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 6.14:1 | AA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Icicle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 314.812);
--foreground: oklch(0.117 0.031 316.646);
--muted: oklch(0.886 0.017 293.701);
--muted-foreground: oklch(0.482 0.012 293.585);
--popover: oklch(0.982 0.006 314.797);
--popover-foreground: oklch(0.102 0.027 317.107);
--card: oklch(0.982 0.006 314.797);
--card-foreground: oklch(0.102 0.027 317.107);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.99 0.005 314.8);
--primary-foreground: oklch(0.459 0.21 310.462);
--secondary: oklch(0.988 0.005 293.974);
--secondary-foreground: oklch(0.379 0.207 277.556);
--accent: oklch(0.991 0.006 330.897);
--accent-foreground: oklch(0.516 0.21 336.479);
--destructive: oklch(0.319 0.13 29.04);
--destructive-foreground: oklch(0.789 0.12 20.109);
--ring: oklch(0.99 0.005 314.8);
--chart-1: oklch(0.99 0.005 314.8);
--chart-2: oklch(0.988 0.005 293.974);
--chart-3: oklch(0.991 0.006 330.897);
--chart-4: oklch(1.023 0.01 114.241);
--chart-5: oklch(0.99 0.006 314.799);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.014 316.331);
--foreground: oklch(0.983 0.004 314.806);
--muted: oklch(0.23 0.024 292.017);
--muted-foreground: oklch(0.69 0.011 293.76);
--popover: oklch(0.107 0.018 316.331);
--popover-foreground: oklch(0.991 0.002 314.817);
--card: oklch(0.107 0.018 316.331);
--card-foreground: oklch(0.991 0.002 314.817);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.99 0.005 314.8);
--primary-foreground: oklch(0.459 0.21 310.462);
--secondary: oklch(0.988 0.005 293.974);
--secondary-foreground: oklch(0.379 0.207 277.556);
--accent: oklch(0.991 0.006 330.897);
--accent-foreground: oklch(0.516 0.21 336.479);
--destructive: oklch(0.576 0.236 29.16);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.99 0.005 314.8);
--chart-1: oklch(0.99 0.005 314.8);
--chart-2: oklch(0.988 0.005 293.974);
--chart-3: oklch(0.991 0.006 330.897);
--chart-4: oklch(1.023 0.01 114.241);
--chart-5: oklch(0.99 0.006 314.799);
}