Ice is a shadcn/ui theme built around a light purple primary color (#eccbe1) with neutral gray accents (#d7d6d6). The light mode uses a neutral background (#fefbfd). Dark mode keeps the light purple primary (#eccbe1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #000000black |
| Foreground | #11030dblack | #faf5f8whitesmoke |
| Card | #fcf8fbsnow | #030303black |
| Card foreground | #0d030ablack | #fbf8fasnow |
| Popover | #fefbfdsnow | #000000black |
| Popover foreground | #11030dblack | #faf5f8whitesmoke |
| Primary | #eccbe1gainsboro | #eccbe1gainsboro |
| Primary foreground | #61244ddarkslategray | #61244ddarkslategray |
| Secondary | #d7d6d6lightgrey | #313031darkslategray |
| Secondary foreground | #3e3d3ddarkslategray | #cac9calightgrey |
| Muted | #ded8dcgainsboro | #272125darkslategray |
| Muted foreground | #585056dimgray | #afa7acdarkgray |
| Accent | #d7d6d6lightgrey | #313031darkslategray |
| Accent foreground | #3e3d3ddarkslategray | #cac9calightgrey |
| Destructive | #642507maroon | #e45411chocolate |
| Destructive foreground | #f8bfa5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eccbe1gainsboro | #eccbe1gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.61:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.56:1 | AA |
| Accent | 7.44:1 | AAA |
| Destructive | 7.21:1 | AAA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Ice in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 336.624);
--foreground: oklch(0.135 0.035 339.145);
--muted: oklch(0.889 0.008 336.737);
--muted-foreground: oklch(0.441 0.014 337.18);
--popover: oklch(0.991 0.003 336.624);
--popover-foreground: oklch(0.135 0.035 339.145);
--card: oklch(0.982 0.007 336.689);
--card-foreground: oklch(0.121 0.031 337.64);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.876 0.047 337.575);
--primary-foreground: oklch(0.364 0.103 341.778);
--secondary: oklch(0.876 0.001 336.586);
--secondary-foreground: oklch(0.36 0.002 336.678);
--accent: oklch(0.876 0.001 336.586);
--accent-foreground: oklch(0.36 0.002 336.678);
--destructive: oklch(0.352 0.099 41.752);
--destructive-foreground: oklch(0.85 0.075 46.04);
--ring: oklch(0.876 0.047 337.575);
--chart-1: oklch(0.876 0.047 337.575);
--chart-2: oklch(0.876 0.001 336.586);
--chart-3: oklch(0.876 0.001 336.586);
--chart-4: oklch(0.9 0.001 336.58);
--chart-5: oklch(0.875 0.05 337.64);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.006 336.687);
--muted: oklch(0.255 0.011 337.39);
--muted-foreground: oklch(0.736 0.013 336.89);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.006 336.687);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.004 336.644);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.876 0.047 337.575);
--primary-foreground: oklch(0.364 0.103 341.778);
--secondary: oklch(0.31 0.002 336.672);
--secondary-foreground: oklch(0.837 0.002 336.596);
--accent: oklch(0.31 0.002 336.672);
--accent-foreground: oklch(0.837 0.002 336.596);
--destructive: oklch(0.631 0.191 40.119);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.876 0.047 337.575);
--chart-1: oklch(0.876 0.047 337.575);
--chart-2: oklch(0.31 0.002 336.672);
--chart-3: oklch(0.31 0.002 336.672);
--chart-4: oklch(0.34 0.002 336.676);
--chart-5: oklch(0.875 0.05 337.64);
}