Inconsequential for shadcn/ui

Inconsequential is a shadcn/ui theme built around a light purple primary color (#e3c0da) with muted purple accents (#bfabba). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the light purple primary (#e3c0da) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfbfdsnow
#000000black
Foreground
#000000black
#fdfcfdwhite
Card
#fdfbfdsnow
#000000black
Card foreground
#000000black
#fdfcfdwhite
Popover
#fdfbfdsnow
#000000black
Popover foreground
#000000black
#fdfcfdwhite
Primary
#e3c0dathistle
#e3c0dathistle
Primary foreground
#4d2343darkslategray
#4d2343darkslategray
Secondary
#cfc9cdlightgrey
#201e1fblack
Secondary foreground
#363034darkslategray
#bab5b9silver
Muted
#f1eff0whitesmoke
#100e10black
Muted foreground
#5d4c59dimgray
#b3a2afdarkgray
Accent
#bfabbasilver
#392d36darkslategray
Accent foreground
#20181eblack
#d2c6cfthistle
Destructive
#953809saddlebrown
#f27436tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3c0dathistle
#e3c0dathistle

Contrast

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

Light mode
Text on background20.46:1AAA
Text on card20.46:1AAA
Primary button7.80:1AAA
Secondary button7.93:1AAA
Muted text6.92:1AA
Accent8.07:1AAA
Destructive7.40:1AAA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.80:1AAA
Secondary button8.23:1AAA
Muted text7.95:1AAA
Accent7.93:1AAA
Destructive7.35:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 333.287);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.953 0.003 333.286);
  --muted-foreground: oklch(0.437 0.03 334.315);
  --popover: oklch(0.991 0.003 333.287);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.003 333.287);
  --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.845 0.053 334.222);
  --primary-foreground: oklch(0.328 0.079 336.855);
  --secondary: oklch(0.843 0.008 333.389);
  --secondary-foreground: oklch(0.318 0.01 333.736);
  --accent: oklch(0.764 0.03 333.862);
  --accent-foreground: oklch(0.222 0.015 334.327);
  --destructive: oklch(0.465 0.135 41.723);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.845 0.053 334.222);
  --chart-1: oklch(0.845 0.053 334.222);
  --chart-2: oklch(0.843 0.008 333.389);
  --chart-3: oklch(0.764 0.03 333.862);
  --chart-4: oklch(0.867 0.007 333.362);
  --chart-5: oklch(0.844 0.057 334.298);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.002 333.281);
  --muted: oklch(0.168 0.004 333.636);
  --muted-foreground: oklch(0.732 0.027 333.815);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.002 333.281);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.002 333.281);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.845 0.053 334.222);
  --primary-foreground: oklch(0.328 0.079 336.855);
  --secondary: oklch(0.236 0.004 333.501);
  --secondary-foreground: oklch(0.779 0.007 333.378);
  --accent: oklch(0.314 0.024 334.418);
  --accent-foreground: oklch(0.839 0.019 333.596);
  --destructive: oklch(0.699 0.172 44.506);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.845 0.053 334.222);
  --chart-1: oklch(0.845 0.053 334.222);
  --chart-2: oklch(0.236 0.004 333.501);
  --chart-3: oklch(0.314 0.024 334.418);
  --chart-4: oklch(0.268 0.005 333.518);
  --chart-5: oklch(0.844 0.057 334.298);
}