Ill-informed for shadcn/ui

Ill-informed is a shadcn/ui theme built around a muted light green primary color (#e8edea) with muted light green accents (#d2dad5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted light green primary (#e8edea) on a green-tinted background (#050a07).

Color palette

TokenLightDark
Background
#fbfefcwhite
#050a07black
Foreground
#03160bblack
#f5faf7whitesmoke
Card
#fbfefcwhite
#050a07black
Card foreground
#03160bblack
#f5faf7whitesmoke
Popover
#fbfefcwhite
#050a07black
Popover foreground
#03160bblack
#f5faf7whitesmoke
Primary
#e8edealavender
#e8edealavender
Primary foreground
#485b50darkslategray
#485b50darkslategray
Secondary
#d2dad5lightgrey
#273a2fdarkslategray
Secondary foreground
#37433cdarkslategray
#bfd4c7silver
Muted
#f0f5f2whitesmoke
#0a0f0cblack
Muted foreground
#5a7264dimgray
#8da597darkseagreen
Accent
#d2dad5lightgrey
#273a2fdarkslategray
Accent foreground
#37433cdarkslategray
#bfd4c7silver
Destructive
#d41e11firebrick
#ef4134tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e8edealavender
#e8edealavender

Contrast

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

Light mode
Text on background18.38:1AAA
Text on card18.38:1AAA
Primary button6.14:1AA
Secondary button7.27:1AAA
Muted text4.72:1AA
Accent7.27:1AAA
Destructive5.24:1AA
Dark mode
Text on background18.86:1AAA
Text on card18.86:1AAA
Primary button6.14:1AA
Secondary button7.79:1AAA
Muted text7.30:1AAA
Accent7.79:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 160.155);
  --foreground: oklch(0.18 0.036 156.29);
  --muted: oklch(0.965 0.007 160.065);
  --muted-foreground: oklch(0.529 0.037 158.523);
  --popover: oklch(0.994 0.003 160.155);
  --popover-foreground: oklch(0.18 0.036 156.29);
  --card: oklch(0.994 0.003 160.155);
  --card-foreground: oklch(0.18 0.036 156.29);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.942 0.007 160.074);
  --primary-foreground: oklch(0.452 0.031 158.573);
  --secondary: oklch(0.882 0.011 159.945);
  --secondary-foreground: oklch(0.371 0.02 158.915);
  --accent: oklch(0.882 0.011 159.945);
  --accent-foreground: oklch(0.371 0.02 158.915);
  --destructive: oklch(0.557 0.214 29.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.942 0.007 160.074);
  --chart-1: oklch(0.942 0.007 160.074);
  --chart-2: oklch(0.882 0.011 159.945);
  --chart-3: oklch(0.882 0.011 159.945);
  --chart-4: oklch(0.904 0.009 160.006);
  --chart-5: oklch(0.942 0.008 160.035);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.013 160.148);
  --foreground: oklch(0.98 0.006 160.087);
  --muted: oklch(0.163 0.011 158.601);
  --muted-foreground: oklch(0.7 0.035 159.047);
  --popover: oklch(0.138 0.013 160.148);
  --popover-foreground: oklch(0.98 0.006 160.087);
  --card: oklch(0.138 0.013 160.148);
  --card-foreground: oklch(0.98 0.006 160.087);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.942 0.007 160.074);
  --primary-foreground: oklch(0.452 0.031 158.573);
  --secondary: oklch(0.327 0.031 157.842);
  --secondary-foreground: oklch(0.85 0.028 159.47);
  --accent: oklch(0.327 0.031 157.842);
  --accent-foreground: oklch(0.85 0.028 159.47);
  --destructive: oklch(0.631 0.212 28.759);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.942 0.007 160.074);
  --chart-1: oklch(0.942 0.007 160.074);
  --chart-2: oklch(0.327 0.031 157.842);
  --chart-3: oklch(0.327 0.031 157.842);
  --chart-4: oklch(0.36 0.035 157.767);
  --chart-5: oklch(0.942 0.008 160.035);
}