Immaculate is a shadcn/ui theme built around a light indigo primary color (#f4f3fc) with light green accents (#fafcf3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#f4f3fc) on an indigo-tinted background (#060510).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060510black |
| Foreground | #060411black | #f6f6f9whitesmoke |
| Card | #ffffffwhite | #060510black |
| Card foreground | #060411black | #f6f6f9whitesmoke |
| Popover | #ffffffwhite | #060510black |
| Popover foreground | #060411black | #f6f6f9whitesmoke |
| Primary | #f4f3fcghostwhite | #f4f3fcghostwhite |
| Primary foreground | #3a2895darkslateblue | #3a2895darkslateblue |
| Secondary | #fafcf3floralwhite | #fafcf3floralwhite |
| Secondary foreground | #3c4412darkolivegreen | #3c4412darkolivegreen |
| Muted | #dddfd2gainsboro | #2b2d20darkslategray |
| Muted foreground | #51524cdarkslategray | #b2b3addarkgray |
| Accent | #fafcf3floralwhite | #fafcf3floralwhite |
| Accent foreground | #3c4412darkolivegreen | #3c4412darkolivegreen |
| Destructive | #8e1a0bdarkred | #f15641tomato |
| Destructive foreground | #fbd5d0bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f4f3fcghostwhite | #f4f3fcghostwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.32:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 9.94:1 | AAA |
| Secondary button | 9.99:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 9.99:1 | AAA |
| Destructive | 6.72:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 9.94:1 | AAA |
| Secondary button | 9.99:1 | AAA |
| Muted text | 6.66:1 | AA |
| Accent | 9.99:1 | AAA |
| Destructive | 6.13:1 | AA |
Paste this into your globals.css to use Immaculate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.12 0.032 291.167);
--muted: oklch(0.899 0.018 114.43);
--muted-foreground: oklch(0.436 0.01 114.502);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.12 0.032 291.167);
--card: oklch(1 0 180);
--card-foreground: oklch(0.12 0.032 291.167);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.012 293.836);
--primary-foreground: oklch(0.375 0.168 282.191);
--secondary: oklch(0.987 0.012 114.287);
--secondary-foreground: oklch(0.369 0.072 118.201);
--accent: oklch(0.987 0.012 114.287);
--accent-foreground: oklch(0.369 0.072 118.201);
--destructive: oklch(0.421 0.153 31.024);
--destructive-foreground: oklch(0.903 0.044 26.842);
--ring: oklch(0.968 0.012 293.836);
--chart-1: oklch(0.968 0.012 293.836);
--chart-2: oklch(0.987 0.012 114.287);
--chart-3: oklch(0.987 0.012 114.287);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.967 0.012 293.824);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.028 291.644);
--foreground: oklch(0.974 0.004 293.992);
--muted: oklch(0.29 0.023 115.533);
--muted-foreground: oklch(0.764 0.009 114.283);
--popover: oklch(0.124 0.028 291.644);
--popover-foreground: oklch(0.974 0.004 293.992);
--card: oklch(0.124 0.028 291.644);
--card-foreground: oklch(0.974 0.004 293.992);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.968 0.012 293.836);
--primary-foreground: oklch(0.375 0.168 282.191);
--secondary: oklch(0.987 0.012 114.287);
--secondary-foreground: oklch(0.369 0.072 118.201);
--accent: oklch(0.987 0.012 114.287);
--accent-foreground: oklch(0.369 0.072 118.201);
--destructive: oklch(0.658 0.194 30.465);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.968 0.012 293.836);
--chart-1: oklch(0.968 0.012 293.836);
--chart-2: oklch(0.987 0.012 114.287);
--chart-3: oklch(0.987 0.012 114.287);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.967 0.012 293.824);
}