Icky for shadcn/ui

Icky is a shadcn/ui theme built around a light red primary color (#dfb9b3) with light orange accents (#dfcfb3). The light mode uses a neutral background (#fdf7f6). Dark mode keeps the light red primary (#dfb9b3) on a red-tinted background (#0f0605).

Color palette

TokenLightDark
Background
#fdf7f6snow
#0f0605black
Foreground
#040101black
#fdfcfcsnow
Card
#fdf3f2lavenderblush
#130807black
Card foreground
#000000black
#ffffffwhite
Popover
#fdf3f2lavenderblush
#130807black
Popover foreground
#000000black
#ffffffwhite
Primary
#dfb9b3silver
#dfb9b3silver
Primary foreground
#44211ddarkslategray
#44211ddarkslategray
Secondary
#dfb3c4thistle
#dfb3c4thistle
Secondary foreground
#441d2cdarkslategray
#441d2cdarkslategray
Muted
#f6eef1whitesmoke
#11090cblack
Muted foreground
#4d4c4cdarkslategray
#b3b2b2darkgray
Accent
#dfcfb3wheat
#dfcfb3wheat
Accent foreground
#44351ddarkolivegreen
#44351ddarkolivegreen
Destructive
#890c01darkred
#ef1501red
Destructive foreground
#ffc3bdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dfb9b3silver
#dfb9b3silver

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.30:1AAA
Primary button7.90:1AAA
Secondary button7.84:1AAA
Muted text7.52:1AAA
Accent7.72:1AAA
Destructive6.51:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.71:1AAA
Primary button7.90:1AAA
Secondary button7.84:1AAA
Muted text9.30:1AAA
Accent7.72:1AAA
Destructive4.41: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.981 0.007 26.486);
  --foreground: oklch(0.085 0.014 32.983);
  --muted: oklch(0.957 0.01 351.879);
  --muted-foreground: oklch(0.417 0.002 351.744);
  --popover: oklch(0.972 0.01 26.511);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.972 0.01 26.511);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.817 0.046 26.911);
  --primary-foreground: oklch(0.296 0.055 28.675);
  --secondary: oklch(0.812 0.055 353.448);
  --secondary-foreground: oklch(0.292 0.064 357.635);
  --accent: oklch(0.86 0.041 79.747);
  --accent-foreground: oklch(0.34 0.044 78.342);
  --destructive: oklch(0.401 0.157 30.573);
  --destructive-foreground: oklch(0.868 0.07 24.549);
  --ring: oklch(0.817 0.046 26.911);
  --chart-1: oklch(0.817 0.046 26.911);
  --chart-2: oklch(0.812 0.055 353.448);
  --chart-3: oklch(0.86 0.041 79.747);
  --chart-4: oklch(0.839 0.047 353.125);
  --chart-5: oklch(0.816 0.049 26.956);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.018 30.228);
  --foreground: oklch(0.992 0.001 26.446);
  --muted: oklch(0.151 0.016 354.168);
  --muted-foreground: oklch(0.764 0.002 351.663);
  --popover: oklch(0.15 0.021 29.478);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.021 29.478);
  --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.817 0.046 26.911);
  --primary-foreground: oklch(0.296 0.055 28.675);
  --secondary: oklch(0.812 0.055 353.448);
  --secondary-foreground: oklch(0.292 0.064 357.635);
  --accent: oklch(0.86 0.041 79.747);
  --accent-foreground: oklch(0.34 0.044 78.342);
  --destructive: oklch(0.602 0.24 30.034);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.046 26.911);
  --chart-1: oklch(0.817 0.046 26.911);
  --chart-2: oklch(0.812 0.055 353.448);
  --chart-3: oklch(0.86 0.041 79.747);
  --chart-4: oklch(0.839 0.047 353.125);
  --chart-5: oklch(0.816 0.049 26.956);
}