Lunge for shadcn/ui

Lunge is a shadcn/ui theme built around a muted light red primary color (#d2cbcd) with muted light blue accents (#cbcdd2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light red primary (#d2cbcd) on a red-tinted background (#0b0406).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0406black
Foreground
#110307black
#faf5f6whitesmoke
Card
#ffffffwhite
#0b0406black
Card foreground
#110307black
#faf5f6whitesmoke
Popover
#ffffffwhite
#0b0406black
Popover foreground
#110307black
#faf5f6whitesmoke
Primary
#d2cbcdlightgrey
#d2cbcdlightgrey
Primary foreground
#3a3133darkslategray
#3a3133darkslategray
Secondary
#cdd2cblightgrey
#cdd2cblightgrey
Secondary foreground
#333a31darkslategray
#333a31darkslategray
Muted
#eef3ecwhitesmoke
#0e130cblack
Muted foreground
#4a5a44darkolivegreen
#aabba5darkgray
Accent
#cbcdd2lightgrey
#cbcdd2lightgrey
Accent foreground
#31333adarkslategray
#31333adarkslategray
Destructive
#b52303firebrick
#fb4218orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d2cbcdlightgrey
#d2cbcdlightgrey

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button7.88:1AAA
Secondary button7.65:1AAA
Muted text6.58:1AA
Accent7.90:1AAA
Destructive6.54:1AA
Dark mode
Text on background18.79:1AAA
Text on card18.79:1AAA
Primary button7.88:1AAA
Secondary button7.65:1AAA
Muted text9.29:1AAA
Accent7.90:1AAA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.131 0.031 1.599);
  --muted: oklch(0.959 0.01 137.781);
  --muted-foreground: oklch(0.447 0.041 137.941);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.131 0.031 1.599);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.131 0.031 1.599);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.848 0.009 0.164);
  --primary-foreground: oklch(0.324 0.013 0.958);
  --secondary: oklch(0.858 0.012 137.787);
  --secondary-foreground: oklch(0.339 0.017 137.853);
  --accent: oklch(0.847 0.008 271.317);
  --accent-foreground: oklch(0.323 0.012 271.036);
  --destructive: oklch(0.501 0.184 32.712);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.009 0.164);
  --chart-1: oklch(0.848 0.009 0.164);
  --chart-2: oklch(0.858 0.012 137.787);
  --chart-3: oklch(0.847 0.008 271.317);
  --chart-4: oklch(0.881 0.01 137.783);
  --chart-5: oklch(0.846 0.012 0.277);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.016 359.876);
  --foreground: oklch(0.974 0.005 0.015);
  --muted: oklch(0.177 0.016 137.934);
  --muted-foreground: oklch(0.773 0.036 137.845);
  --popover: oklch(0.123 0.016 359.876);
  --popover-foreground: oklch(0.974 0.005 0.015);
  --card: oklch(0.123 0.016 359.876);
  --card-foreground: oklch(0.974 0.005 0.015);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.848 0.009 0.164);
  --primary-foreground: oklch(0.324 0.013 0.958);
  --secondary: oklch(0.858 0.012 137.787);
  --secondary-foreground: oklch(0.339 0.017 137.853);
  --accent: oklch(0.847 0.008 271.317);
  --accent-foreground: oklch(0.323 0.012 271.036);
  --destructive: oklch(0.652 0.227 33.328);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.009 0.164);
  --chart-1: oklch(0.848 0.009 0.164);
  --chart-2: oklch(0.858 0.012 137.787);
  --chart-3: oklch(0.847 0.008 271.317);
  --chart-4: oklch(0.881 0.01 137.783);
  --chart-5: oklch(0.846 0.012 0.277);
}