Debris for shadcn/ui

Debris is a shadcn/ui theme built around a muted pink primary color (#b6919c) with muted red accents (#b69891). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted pink primary (#b6919c) on a pink-tinted background (#100508).

Color palette

TokenLightDark
Background
#fefbfcsnow
#100508black
Foreground
#13060ablack
#faf9fasnow
Card
#fefbfcsnow
#100508black
Card foreground
#13060ablack
#faf9fasnow
Popover
#fefbfcsnow
#100508black
Popover foreground
#13060ablack
#faf9fasnow
Primary
#b6919crosybrown
#b6919crosybrown
Primary foreground
#0c0809black
#0c0809black
Secondary
#b691afdarkgray
#b691afdarkgray
Secondary foreground
#0c080bblack
#0c080bblack
Muted
#f4e6f2lavenderblush
#190b16black
Muted foreground
#594a56dimgray
#b5a6b2darkgray
Accent
#b69891rosybrown
#b69891rosybrown
Accent foreground
#0c0908black
#0c0908black
Destructive
#d30703red
#fb1713red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6919crosybrown
#b6919crosybrown

Contrast

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

Light mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button7.11:1AAA
Secondary button7.23:1AAA
Muted text6.88:1AA
Accent7.41:1AAA
Destructive5.52:1AA
Dark mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button7.11:1AAA
Secondary button7.23:1AAA
Muted text8.23:1AAA
Accent7.41:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 355.733);
  --foreground: oklch(0.147 0.026 358.837);
  --muted: oklch(0.94 0.021 331.725);
  --muted-foreground: oklch(0.429 0.027 332.279);
  --popover: oklch(0.99 0.004 355.733);
  --popover-foreground: oklch(0.147 0.026 358.837);
  --card: oklch(0.99 0.004 355.733);
  --card-foreground: oklch(0.147 0.026 358.837);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.694 0.047 357.489);
  --primary-foreground: oklch(0.142 0.008 356.189);
  --secondary: oklch(0.7 0.06 332.577);
  --secondary-foreground: oklch(0.143 0.01 332.209);
  --accent: oklch(0.703 0.037 32.772);
  --accent-foreground: oklch(0.143 0.006 33.948);
  --destructive: oklch(0.546 0.222 29.274);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.047 357.489);
  --chart-1: oklch(0.694 0.047 357.489);
  --chart-2: oklch(0.7 0.06 332.577);
  --chart-3: oklch(0.703 0.037 32.772);
  --chart-4: oklch(0.725 0.055 332.438);
  --chart-5: oklch(0.691 0.054 357.778);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.024 356.942);
  --foreground: oklch(0.984 0.001 355.65);
  --muted: oklch(0.175 0.032 333.796);
  --muted-foreground: oklch(0.741 0.024 331.855);
  --popover: oklch(0.135 0.024 356.942);
  --popover-foreground: oklch(0.984 0.001 355.65);
  --card: oklch(0.135 0.024 356.942);
  --card-foreground: oklch(0.984 0.001 355.65);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.694 0.047 357.489);
  --primary-foreground: oklch(0.142 0.008 356.189);
  --secondary: oklch(0.7 0.06 332.577);
  --secondary-foreground: oklch(0.143 0.01 332.209);
  --accent: oklch(0.703 0.037 32.772);
  --accent-foreground: oklch(0.143 0.006 33.948);
  --destructive: oklch(0.627 0.249 28.913);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.047 357.489);
  --chart-1: oklch(0.694 0.047 357.489);
  --chart-2: oklch(0.7 0.06 332.577);
  --chart-3: oklch(0.703 0.037 32.772);
  --chart-4: oklch(0.725 0.055 332.438);
  --chart-5: oklch(0.691 0.054 357.778);
}