Ill for shadcn/ui

Ill is a shadcn/ui theme built around a light blue primary color (#9bc8e9) with light indigo accents (#9ba1e9). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light blue primary (#9bc8e9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfewhite
#000000black
Foreground
#010304black
#ffffffwhite
Card
#f7fafcghostwhite
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fafcghostwhite
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#9bc8e9skyblue
#9bc8e9skyblue
Primary foreground
#0f2d43darkslategray
#0f2d43darkslategray
Secondary
#9be9e2powderblue
#9be9e2powderblue
Secondary foreground
#0f433fdarkslategray
#0f433fdarkslategray
Muted
#e9f2f1whitesmoke
#0d1616black
Muted foreground
#577573dimgray
#8aa8a6darkseagreen
Accent
#9ba1e9lightsteelblue
#9ba1e9lightsteelblue
Accent foreground
#0f1343midnightblue
#0f1343midnightblue
Destructive
#5d1209maroon
#e93925orangered
Destructive foreground
#f6aba2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9bc8e9skyblue
#9bc8e9skyblue

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.09:1AAA
Primary button8.02:1AAA
Secondary button7.99:1AAA
Muted text4.37:1AA Large
Accent7.25:1AAA
Destructive7.26:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.02:1AAA
Secondary button7.99:1AAA
Muted text7.18:1AAA
Accent7.25:1AAA
Destructive4.13:1AA Large

CSS variables

Paste this into your globals.css to use Ill in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 238.393);
  --foreground: oklch(0.091 0.009 231.409);
  --muted: oklch(0.953 0.01 191.031);
  --muted-foreground: oklch(0.539 0.035 189.769);
  --popover: oklch(0.984 0.004 238.424);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.004 238.424);
  --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.813 0.067 239.706);
  --primary-foreground: oklch(0.287 0.054 242.975);
  --secondary: oklch(0.881 0.078 189.219);
  --secondary-foreground: oklch(0.348 0.054 186.904);
  --accent: oklch(0.732 0.104 279.494);
  --accent-foreground: oklch(0.22 0.089 272.613);
  --destructive: oklch(0.315 0.109 30.364);
  --destructive-foreground: oklch(0.81 0.09 26.278);
  --ring: oklch(0.813 0.067 239.706);
  --chart-1: oklch(0.813 0.067 239.706);
  --chart-2: oklch(0.881 0.078 189.219);
  --chart-3: oklch(0.732 0.104 279.494);
  --chart-4: oklch(0.895 0.069 189.499);
  --chart-5: oklch(0.813 0.07 239.781);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.192 0.013 189.687);
  --muted-foreground: oklch(0.709 0.034 190.188);
  --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.813 0.067 239.706);
  --primary-foreground: oklch(0.287 0.054 242.975);
  --secondary: oklch(0.881 0.078 189.219);
  --secondary-foreground: oklch(0.348 0.054 186.904);
  --accent: oklch(0.732 0.104 279.494);
  --accent-foreground: oklch(0.22 0.089 272.613);
  --destructive: oklch(0.614 0.215 30.408);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.067 239.706);
  --chart-1: oklch(0.813 0.067 239.706);
  --chart-2: oklch(0.881 0.078 189.219);
  --chart-3: oklch(0.732 0.104 279.494);
  --chart-4: oklch(0.895 0.069 189.499);
  --chart-5: oklch(0.813 0.07 239.781);
}