Cluttered for shadcn/ui

Cluttered is a shadcn/ui theme built around an indigo primary color (#1c1fc4) with violet accents (#6d1cc4). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the indigo primary (#1c1fc4) on an indigo-tinted background (#05050b).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#05050bblack
Foreground
#020208black
#f6f6f9whitesmoke
Card
#f8f8fcghostwhite
#05050bblack
Card foreground
#020208black
#f6f6f9whitesmoke
Popover
#f8f8fcghostwhite
#05050bblack
Popover foreground
#020208black
#f6f6f9whitesmoke
Primary
#1c1fc4mediumblue
#1c1fc4mediumblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#1c73c4steelblue
#1c73c4steelblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dee6edlavender
#121a21black
Muted foreground
#4e5a65dimgray
#9aa6b1darkgray
Accent
#6d1cc4blueviolet
#6d1cc4blueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6f1b06maroon
#f5623dtomato
Destructive foreground
#fbbcadlightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1c1fc4mediumblue
#1c1fc4mediumblue

Contrast

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

Light mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button10.27:1AAA
Secondary button4.88:1AA
Muted text5.58:1AA
Accent8.00:1AAA
Destructive7.00:1AAA
Dark mode
Text on background18.88:1AAA
Text on card18.88:1AAA
Primary button10.27:1AAA
Secondary button4.88:1AA
Muted text7.09:1AAA
Accent8.00:1AAA
Destructive6.68:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.005 285.525);
  --foreground: oklch(0.094 0.022 280.097);
  --muted: oklch(0.921 0.012 246.12);
  --muted-foreground: oklch(0.46 0.024 246.552);
  --popover: oklch(0.98 0.005 285.525);
  --popover-foreground: oklch(0.094 0.022 280.097);
  --card: oklch(0.98 0.005 285.525);
  --card-foreground: oklch(0.094 0.022 280.097);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.398 0.239 268.038);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.549 0.149 251.725);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.463 0.23 297.898);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.361 0.122 34.395);
  --destructive-foreground: oklch(0.849 0.076 34.474);
  --ring: oklch(0.398 0.239 268.038);
  --chart-1: oklch(0.398 0.239 268.038);
  --chart-2: oklch(0.549 0.149 251.725);
  --chart-3: oklch(0.463 0.23 297.898);
  --chart-4: oklch(0.576 0.157 251.793);
  --chart-5: oklch(0.398 0.245 267.332);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.016 282.561);
  --foreground: oklch(0.974 0.004 285.547);
  --muted: oklch(0.213 0.018 246.931);
  --muted-foreground: oklch(0.72 0.021 246.302);
  --popover: oklch(0.117 0.016 282.561);
  --popover-foreground: oklch(0.974 0.004 285.547);
  --card: oklch(0.117 0.016 282.561);
  --card-foreground: oklch(0.974 0.004 285.547);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.398 0.239 268.038);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.549 0.149 251.725);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.463 0.23 297.898);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.678 0.188 35.148);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.398 0.239 268.038);
  --chart-1: oklch(0.398 0.239 268.038);
  --chart-2: oklch(0.549 0.149 251.725);
  --chart-3: oklch(0.463 0.23 297.898);
  --chart-4: oklch(0.576 0.157 251.793);
  --chart-5: oklch(0.398 0.245 267.332);
}