Lumpy for shadcn/ui

Lumpy is a shadcn/ui theme built around a light yellow primary color (#e4e5a9) with light indigo accents (#aaa9e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#e4e5a9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0c0d03black
#fcfcf8snow
Card
#fcfcfcsnow
#030303black
Card foreground
#080802black
#fdfdfcwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#080802black
#fdfdfcwhite
Primary
#e4e5a9palegoldenrod
#e4e5a9palegoldenrod
Primary foreground
#464715darkolivegreen
#464715darkolivegreen
Secondary
#aaa9e5lightsteelblue
#aaa9e5lightsteelblue
Secondary foreground
#161547midnightblue
#161547midnightblue
Muted
#cccbe6lightgrey
#191934midnightblue
Muted foreground
#4c4b62darkslategray
#9d9db4darkgray
Accent
#aaa9e5lightsteelblue
#aaa9e5lightsteelblue
Accent foreground
#161547midnightblue
#161547midnightblue
Destructive
#8a240fsaddlebrown
#eb6347tomato
Destructive foreground
#fad8d1bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4e5a9palegoldenrod
#e4e5a9palegoldenrod

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.64:1AAA
Primary button7.41:1AAA
Secondary button7.69:1AAA
Muted text5.33:1AA
Accent7.69:1AAA
Destructive6.78:1AA
Dark mode
Text on background20.41:1AAA
Text on card20.31:1AAA
Primary button7.41:1AAA
Secondary button7.69:1AAA
Muted text6.44:1AA
Accent7.69:1AAA
Destructive6.38:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.153 0.023 109.552);
  --muted: oklch(0.852 0.037 286.352);
  --muted-foreground: oklch(0.424 0.037 285.462);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.133 0.02 109.466);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.133 0.02 109.466);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.907 0.078 108.664);
  --primary-foreground: oklch(0.385 0.069 110.172);
  --secondary: oklch(0.756 0.086 284.899);
  --secondary-foreground: oklch(0.234 0.09 277.596);
  --accent: oklch(0.756 0.086 284.899);
  --accent-foreground: oklch(0.234 0.09 277.596);
  --destructive: oklch(0.421 0.141 33.035);
  --destructive-foreground: oklch(0.908 0.039 31.187);
  --ring: oklch(0.907 0.078 108.664);
  --chart-1: oklch(0.907 0.078 108.664);
  --chart-2: oklch(0.756 0.086 284.899);
  --chart-3: oklch(0.756 0.086 284.899);
  --chart-4: oklch(0.79 0.074 285.342);
  --chart-5: oklch(0.912 0.082 108.73);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.989 0.005 107.259);
  --muted: oklch(0.229 0.051 282.347);
  --muted-foreground: oklch(0.704 0.033 286.294);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.995 0.002 107.214);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.995 0.002 107.214);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.907 0.078 108.664);
  --primary-foreground: oklch(0.385 0.069 110.172);
  --secondary: oklch(0.756 0.086 284.899);
  --secondary-foreground: oklch(0.234 0.09 277.596);
  --accent: oklch(0.756 0.086 284.899);
  --accent-foreground: oklch(0.234 0.09 277.596);
  --destructive: oklch(0.665 0.174 33.074);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.907 0.078 108.664);
  --chart-1: oklch(0.907 0.078 108.664);
  --chart-2: oklch(0.756 0.086 284.899);
  --chart-3: oklch(0.756 0.086 284.899);
  --chart-4: oklch(0.79 0.074 285.342);
  --chart-5: oklch(0.912 0.082 108.73);
}