Lumpy for shadcn/ui

Lumpy is a shadcn/ui theme built around a muted light purple primary color (#ede8ed) with muted light teal accents (#e8eded). The light mode uses a neutral background (#fcf7fc). Dark mode keeps the muted light purple primary (#ede8ed) on a neutral background (#080308).

Color palette

TokenLightDark
Background
#fcf7fcsnow
#080308black
Foreground
#0b040bblack
#ffffffwhite
Card
#fbf4fbghostwhite
#0b040bblack
Card foreground
#080308black
#ffffffwhite
Popover
#fbf4fbghostwhite
#0b040bblack
Popover foreground
#080308black
#ffffffwhite
Primary
#ede8edlavender
#ede8edlavender
Primary foreground
#5b495bdimgray
#5b495bdimgray
Secondary
#edede8linen
#edede8linen
Secondary foreground
#22221bblack
#22221bblack
Muted
#e9e9ddbeige
#222216black
Muted foreground
#5a5a44darkolivegreen
#bbbba5darkgray
Accent
#e8ededlavender
#e8ededlavender
Accent foreground
#495b5bdarkslategray
#495b5bdarkslategray
Destructive
#9d2801saddlebrown
#fe5016orangered
Destructive foreground
#ffddd1blanchedalmond
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ede8edlavender
#ede8edlavender

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card18.88:1AAA
Primary button6.82:1AA
Secondary button13.60:1AAA
Muted text5.75:1AA
Accent6.05:1AA
Destructive6.02:1AA
Dark mode
Text on background20.49:1AAA
Text on card20.25:1AAA
Primary button6.82:1AA
Secondary button13.60:1AAA
Muted text8.23:1AAA
Accent6.05:1AA
Destructive3.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.008 325.641);
  --foreground: oklch(0.125 0.026 326.977);
  --muted: oklch(0.93 0.016 106.701);
  --muted-foreground: oklch(0.462 0.034 107.667);
  --popover: oklch(0.974 0.013 325.674);
  --popover-foreground: oklch(0.109 0.022 326.972);
  --card: oklch(0.974 0.013 325.674);
  --card-foreground: oklch(0.109 0.022 326.972);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.937 0.008 325.638);
  --primary-foreground: oklch(0.429 0.037 326.201);
  --secondary: oklch(0.944 0.006 106.513);
  --secondary-foreground: oklch(0.249 0.012 107.259);
  --accent: oklch(0.942 0.005 197.075);
  --accent-foreground: oklch(0.455 0.022 196.402);
  --destructive: oklch(0.461 0.159 35.589);
  --destructive-foreground: oklch(0.922 0.041 39.3);
  --ring: oklch(0.937 0.008 325.638);
  --chart-1: oklch(0.937 0.008 325.638);
  --chart-2: oklch(0.944 0.006 106.513);
  --chart-3: oklch(0.942 0.005 197.075);
  --chart-4: oklch(0.965 0.004 106.469);
  --chart-5: oklch(0.936 0.01 325.654);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.022 326.944);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.248 0.021 107.844);
  --muted-foreground: oklch(0.786 0.03 107.081);
  --popover: oklch(0.126 0.025 326.949);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.025 326.949);
  --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.937 0.008 325.638);
  --primary-foreground: oklch(0.429 0.037 326.201);
  --secondary: oklch(0.944 0.006 106.513);
  --secondary-foreground: oklch(0.249 0.012 107.259);
  --accent: oklch(0.942 0.005 197.075);
  --accent-foreground: oklch(0.455 0.022 196.402);
  --destructive: oklch(0.669 0.219 36.266);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.937 0.008 325.638);
  --chart-1: oklch(0.937 0.008 325.638);
  --chart-2: oklch(0.944 0.006 106.513);
  --chart-3: oklch(0.942 0.005 197.075);
  --chart-4: oklch(0.965 0.004 106.469);
  --chart-5: oklch(0.936 0.01 325.654);
}