Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Icky for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.49:1AAA
Text on card19.30:1AAA
Primary button6.30:1AA
Secondary button6.18:1AA
Muted text4.98:1AA
Accent6.40:1AA
Destructive6.76:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.30:1AA
Secondary button6.18:1AA
Muted text6.97:1AA
Accent6.40:1AA
Destructive3.42:1AA Large

CSS variables

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);
}