Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Icky is a shadcn/ui theme built around a near-white primary color (#f3f2f2) with near-white accents (#f2f2f3). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the near-white primary (#f3f2f2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #000000black |
| Foreground | #090302black | #ffffffwhite |
| Card | #faf5f5whitesmoke | #030303black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #faf5f5whitesmoke | #030303black |
| Popover foreground | #040101black | #ffffffwhite |
| Primary | #f3f2f2whitesmoke | #f3f2f2whitesmoke |
| Primary foreground | #5b5857dimgray | #5b5857dimgray |
| Secondary | #f2f3f2whitesmoke | #f2f3f2whitesmoke |
| Secondary foreground | #575b58dimgray | #575b58dimgray |
| Muted | #eaf0ebwhitesmoke | #0f1510black |
| Muted foreground | #5d695fdimgray | #96a297darkgray |
| Accent | #f2f2f3whitesmoke | #f2f2f3whitesmoke |
| Accent foreground | #58575bdimgray | #58575bdimgray |
| Destructive | #b61702firebrick | #fd4830tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3f2f2whitesmoke | #f3f2f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 6.18:1 | AA |
| Muted text | 4.98:1 | AA |
| Accent | 6.40:1 | AA |
| Destructive | 6.76:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 6.18:1 | AA |
| Muted text | 6.97:1 | AA |
| Accent | 6.40:1 | AA |
| Destructive | 3.42:1 | AA Large |
Paste this into your globals.css to use Icky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.003 29.479);
--foreground: oklch(0.107 0.018 37.353);
--muted: oklch(0.95 0.01 150.11);
--muted-foreground: oklch(0.509 0.021 149.682);
--popover: oklch(0.975 0.005 29.485);
--popover-foreground: oklch(0.085 0.014 37.353);
--card: oklch(0.975 0.005 29.485);
--card-foreground: oklch(0.085 0.014 37.353);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.962 0 29.47);
--primary-foreground: oklch(0.463 0.004 29.498);
--secondary: oklch(0.962 0.001 150.236);
--secondary-foreground: oklch(0.467 0.007 150.062);
--accent: oklch(0.961 0.001 293.293);
--accent-foreground: oklch(0.46 0.006 293.071);
--destructive: oklch(0.495 0.192 30.856);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.962 0 29.47);
--chart-1: oklch(0.962 0 29.47);
--chart-2: oklch(0.962 0.001 150.236);
--chart-3: oklch(0.961 0.001 293.293);
--chart-4: oklch(0.985 0 150.242);
--chart-5: oklch(0.961 0.001 29.472);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.187 0.015 149.164);
--muted-foreground: oklch(0.698 0.02 149.869);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.962 0 29.47);
--primary-foreground: oklch(0.463 0.004 29.498);
--secondary: oklch(0.962 0.001 150.236);
--secondary-foreground: oklch(0.467 0.007 150.062);
--accent: oklch(0.961 0.001 293.293);
--accent-foreground: oklch(0.46 0.006 293.071);
--destructive: oklch(0.661 0.221 30.933);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.962 0 29.47);
--chart-1: oklch(0.962 0 29.47);
--chart-2: oklch(0.962 0.001 150.236);
--chart-3: oklch(0.961 0.001 293.293);
--chart-4: oklch(0.985 0 150.242);
--chart-5: oklch(0.961 0.001 29.472);
}