Ill for shadcn/ui

Ill is a shadcn/ui theme built around a cyan primary color (#9aced6) with blue accents (#9ab0d6). The light mode uses a neutral background (#f7fcfc). Dark mode keeps the cyan primary (#9aced6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fcfcmintcream
#000000black
Foreground
#030b0dblack
#fcfdfdwhite
Card
#f7fcfcmintcream
#000000black
Card foreground
#030b0dblack
#fcfdfdwhite
Popover
#f7fcfcmintcream
#000000black
Popover foreground
#030b0dblack
#fcfdfdwhite
Primary
#9aced6lightsteelblue
#9aced6lightsteelblue
Primary foreground
#12282bdarkslategray
#12282bdarkslategray
Secondary
#9ad6c0lightsteelblue
#9ad6c0lightsteelblue
Secondary foreground
#122b22black
#122b22black
Muted
#d3e4ddgainsboro
#1b2c26darkslategray
Muted foreground
#4f5955darkslategray
#a6b0acdarkgray
Accent
#9ab0d6lightsteelblue
#9ab0d6lightsteelblue
Accent foreground
#121b2bblack
#121b2bblack
Destructive
#7f160amaroon
#ec2913orangered
Destructive foreground
#fac7c2pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9aced6lightsteelblue
#9aced6lightsteelblue

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button8.88:1AAA
Secondary button9.10:1AAA
Muted text5.48:1AA
Accent7.81:1AAA
Destructive6.91:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button8.88:1AAA
Secondary button9.10:1AAA
Muted text6.57:1AA
Accent7.81:1AAA
Destructive4.29: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.987 0.005 207.913);
  --foreground: oklch(0.141 0.017 205.361);
  --muted: oklch(0.903 0.019 171.943);
  --muted-foreground: oklch(0.455 0.014 171.653);
  --popover: oklch(0.987 0.005 207.913);
  --popover-foreground: oklch(0.141 0.017 205.361);
  --card: oklch(0.987 0.005 207.913);
  --card-foreground: oklch(0.141 0.017 205.361);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.817 0.055 207.898);
  --primary-foreground: oklch(0.26 0.029 208.378);
  --secondary: oklch(0.828 0.069 169.871);
  --secondary-foreground: oklch(0.267 0.037 167.477);
  --accent: oklch(0.752 0.06 261.31);
  --accent-foreground: oklch(0.223 0.035 260.939);
  --destructive: oklch(0.388 0.141 30.505);
  --destructive-foreground: oklch(0.874 0.059 25.679);
  --ring: oklch(0.817 0.055 207.898);
  --chart-1: oklch(0.817 0.055 207.898);
  --chart-2: oklch(0.828 0.069 169.871);
  --chart-3: oklch(0.752 0.06 261.31);
  --chart-4: oklch(0.846 0.062 170.248);
  --chart-5: oklch(0.82 0.058 207.919);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 207.931);
  --muted: oklch(0.276 0.025 169.634);
  --muted-foreground: oklch(0.748 0.012 172.084);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 207.931);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 207.931);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.817 0.055 207.898);
  --primary-foreground: oklch(0.26 0.029 208.378);
  --secondary: oklch(0.828 0.069 169.871);
  --secondary-foreground: oklch(0.267 0.037 167.477);
  --accent: oklch(0.752 0.06 261.31);
  --accent-foreground: oklch(0.223 0.035 260.939);
  --destructive: oklch(0.606 0.229 30.502);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.055 207.898);
  --chart-1: oklch(0.817 0.055 207.898);
  --chart-2: oklch(0.828 0.069 169.871);
  --chart-3: oklch(0.752 0.06 261.31);
  --chart-4: oklch(0.846 0.062 170.248);
  --chart-5: oklch(0.82 0.058 207.919);
}