Inconsequential for shadcn/ui

Inconsequential is a shadcn/ui theme built around a deep green primary color (#2e310c) with deep purple accents (#310c2e). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the deep green primary (#2e310c) on a green-tinted background (#0b0c03).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#0b0c03black
Foreground
#040401black
#ffffffwhite
Card
#fbfcf8snow
#0f1004black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfdfcwhite
#0b0c03black
Popover foreground
#040401black
#ffffffwhite
Primary
#2e310cblack
#2e310cblack
Primary foreground
#c3cf3ayellowgreen
#c3cf3ayellowgreen
Secondary
#0c2e31darkslategray
#0c2e31darkslategray
Secondary foreground
#3ac3cfmediumturquoise
#3ac3cfmediumturquoise
Muted
#e4f0f2lavender
#0d1a1bblack
Muted foreground
#4b5253darkslategray
#acb3b4darkgray
Accent
#310c2eblack
#310c2eblack
Accent foreground
#e38cdcplum
#e38cdcplum
Destructive
#be1913firebrick
#ea302acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2e310cblack
#2e310cblack

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.33:1AAA
Primary button7.85:1AAA
Secondary button6.80:1AA
Muted text6.86:1AA
Accent7.39:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.12:1AAA
Primary button7.85:1AAA
Secondary button6.80:1AA
Muted text8.33:1AAA
Accent7.39:1AAA
Destructive4.24:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 110.287);
  --foreground: oklch(0.104 0.015 111.818);
  --muted: oklch(0.947 0.014 203.453);
  --muted-foreground: oklch(0.434 0.009 203.395);
  --popover: oklch(0.994 0.002 110.287);
  --popover-foreground: oklch(0.104 0.015 111.818);
  --card: oklch(0.989 0.004 110.328);
  --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.302 0.056 113.79);
  --primary-foreground: oklch(0.82 0.166 114.244);
  --secondary: oklch(0.279 0.039 203.617);
  --secondary-foreground: oklch(0.751 0.114 204.033);
  --accent: oklch(0.234 0.078 331.202);
  --accent-foreground: oklch(0.757 0.146 329.913);
  --destructive: oklch(0.513 0.198 28.88);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.302 0.056 113.79);
  --chart-1: oklch(0.302 0.056 113.79);
  --chart-2: oklch(0.279 0.039 203.617);
  --chart-3: oklch(0.234 0.078 331.202);
  --chart-4: oklch(0.32 0.046 203.735);
  --chart-5: oklch(0.305 0.058 113.898);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.022 112.078);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.207 0.018 203.122);
  --muted-foreground: oklch(0.762 0.008 203.484);
  --popover: oklch(0.151 0.022 112.078);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.169 0.025 112.547);
  --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.302 0.056 113.79);
  --primary-foreground: oklch(0.82 0.166 114.244);
  --secondary: oklch(0.279 0.039 203.617);
  --secondary-foreground: oklch(0.751 0.114 204.033);
  --accent: oklch(0.234 0.078 331.202);
  --accent-foreground: oklch(0.757 0.146 329.913);
  --destructive: oklch(0.609 0.221 28.154);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.302 0.056 113.79);
  --chart-1: oklch(0.302 0.056 113.79);
  --chart-2: oklch(0.279 0.039 203.617);
  --chart-3: oklch(0.234 0.078 331.202);
  --chart-4: oklch(0.32 0.046 203.735);
  --chart-5: oklch(0.305 0.058 113.898);
}