Ignorant for shadcn/ui

Ignorant is a shadcn/ui theme built around a light green primary color (#c7f1b6) with light green accents (#b6f1c3). The light mode uses a neutral background (#fcfefb). Dark mode keeps the light green primary (#c7f1b6) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#fcfefbwhite
#020401black
Foreground
#071203black
#f7f8f6whitesmoke
Card
#f9fdf7mintcream
#040802black
Card foreground
#050d02black
#fafbf9snow
Popover
#fcfefbwhite
#020401black
Popover foreground
#071203black
#f7f8f6whitesmoke
Primary
#c7f1b6palegoldenrod
#c7f1b6palegoldenrod
Primary foreground
#050d02black
#050d02black
Secondary
#e4f1b6palegoldenrod
#e4f1b6palegoldenrod
Secondary foreground
#0b0d02black
#0b0d02black
Muted
#e7e8e3gainsboro
#1b1c17black
Muted foreground
#4e5143darkslategray
#b9bcaesilver
Accent
#b6f1c3powderblue
#b6f1c3powderblue
Accent foreground
#020d05black
#020d05black
Destructive
#c1330bfirebrick
#f14313orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c7f1b6palegoldenrod
#c7f1b6palegoldenrod

Contrast

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

Light mode
Text on background18.85:1AAA
Text on card19.13:1AAA
Primary button15.68:1AAA
Secondary button16.39:1AAA
Muted text6.59:1AA
Accent15.41:1AAA
Destructive5.62:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.43:1AAA
Primary button15.68:1AAA
Secondary button16.39:1AAA
Muted text8.88:1AAA
Accent15.41:1AAA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 136.622);
  --foreground: oklch(0.164 0.036 135.423);
  --muted: oklch(0.928 0.006 116.452);
  --muted-foreground: oklch(0.427 0.022 117.254);
  --popover: oklch(0.994 0.004 136.622);
  --popover-foreground: oklch(0.164 0.036 135.423);
  --card: oklch(0.989 0.008 136.635);
  --card-foreground: oklch(0.146 0.031 134.732);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.914 0.09 136.94);
  --primary-foreground: oklch(0.145 0.03 134.811);
  --secondary: oklch(0.935 0.078 117.859);
  --secondary-foreground: oklch(0.152 0.026 117.443);
  --accent: oklch(0.906 0.087 150.998);
  --accent-foreground: oklch(0.143 0.028 151.45);
  --destructive: oklch(0.536 0.184 34.446);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.09 136.94);
  --chart-1: oklch(0.914 0.09 136.94);
  --chart-2: oklch(0.935 0.078 117.859);
  --chart-3: oklch(0.906 0.087 150.998);
  --chart-4: oklch(0.946 0.064 117.573);
  --chart-5: oklch(0.916 0.094 136.956);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.018 134.868);
  --foreground: oklch(0.979 0.003 136.619);
  --muted: oklch(0.223 0.009 117.05);
  --muted-foreground: oklch(0.788 0.019 116.762);
  --popover: oklch(0.099 0.018 134.868);
  --popover-foreground: oklch(0.979 0.003 136.619);
  --card: oklch(0.125 0.022 134.868);
  --card-foreground: oklch(0.986 0.002 136.616);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.914 0.09 136.94);
  --primary-foreground: oklch(0.145 0.03 134.811);
  --secondary: oklch(0.935 0.078 117.859);
  --secondary-foreground: oklch(0.152 0.026 117.443);
  --accent: oklch(0.906 0.087 150.998);
  --accent-foreground: oklch(0.143 0.028 151.45);
  --destructive: oklch(0.636 0.217 34.561);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.09 136.94);
  --chart-1: oklch(0.914 0.09 136.94);
  --chart-2: oklch(0.935 0.078 117.859);
  --chart-3: oklch(0.906 0.087 150.998);
  --chart-4: oklch(0.946 0.064 117.573);
  --chart-5: oklch(0.916 0.094 136.956);
}