Stuff for shadcn/ui

Stuff is a shadcn/ui theme built around a vivid deep red primary color (#29050e) with vivid deep orange accents (#290e05). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid deep red primary (#29050e) on a red-tinted background (#0c0406).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0c0406black
Foreground
#110407black
#fbf9f9snow
Card
#fefbfcsnow
#0c0406black
Card foreground
#110407black
#fbf9f9snow
Popover
#fefbfcsnow
#0c0406black
Popover foreground
#110407black
#fbf9f9snow
Primary
#29050eblack
#29050eblack
Primary foreground
#ed7392palevioletred
#ed7392palevioletred
Secondary
#290520black
#290520black
Secondary foreground
#ed73ceorchid
#ed73ceorchid
Muted
#f1e9efwhitesmoke
#160e14black
Muted foreground
#6c6069dimgray
#9f939cdarkgray
Accent
#290e05black
#290e05black
Accent foreground
#ed9273darksalmon
#ed9273darksalmon
Destructive
#671909maroon
#ed4c2ctomato
Destructive foreground
#f8b7ablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#29050eblack
#29050eblack

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button6.65:1AA
Secondary button6.99:1AA
Muted text5.02:1AA
Accent7.73:1AAA
Destructive7.18:1AAA
Dark mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button6.65:1AA
Secondary button6.99:1AA
Muted text6.45:1AA
Accent7.73:1AAA
Destructive3.71:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 359.96);
  --foreground: oklch(0.132 0.028 1.467);
  --muted: oklch(0.942 0.013 334.1);
  --muted-foreground: oklch(0.503 0.021 334.563);
  --popover: oklch(0.99 0.003 359.96);
  --popover-foreground: oklch(0.132 0.028 1.467);
  --card: oklch(0.99 0.003 359.96);
  --card-foreground: oklch(0.132 0.028 1.467);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.19 0.06 9.073);
  --primary-foreground: oklch(0.706 0.152 6.024);
  --secondary: oklch(0.199 0.07 339.382);
  --secondary-foreground: oklch(0.727 0.183 337.803);
  --accent: oklch(0.204 0.048 40.154);
  --accent-foreground: oklch(0.746 0.119 39.169);
  --destructive: oklch(0.343 0.114 33.06);
  --destructive-foreground: oklch(0.837 0.077 31.514);
  --ring: oklch(0.19 0.06 9.073);
  --chart-1: oklch(0.19 0.06 9.073);
  --chart-2: oklch(0.199 0.07 339.382);
  --chart-3: oklch(0.204 0.048 40.154);
  --chart-4: oklch(0.235 0.086 340.004);
  --chart-5: oklch(0.191 0.062 9.353);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.02 359.978);
  --foreground: oklch(0.984 0.002 359.921);
  --muted: oklch(0.176 0.019 335.598);
  --muted-foreground: oklch(0.676 0.019 334.355);
  --popover: oklch(0.121 0.02 359.978);
  --popover-foreground: oklch(0.984 0.002 359.921);
  --card: oklch(0.121 0.02 359.978);
  --card-foreground: oklch(0.984 0.002 359.921);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.19 0.06 9.073);
  --primary-foreground: oklch(0.706 0.152 6.024);
  --secondary: oklch(0.199 0.07 339.382);
  --secondary-foreground: oklch(0.727 0.183 337.803);
  --accent: oklch(0.204 0.048 40.154);
  --accent-foreground: oklch(0.746 0.119 39.169);
  --destructive: oklch(0.638 0.202 33.172);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.19 0.06 9.073);
  --chart-1: oklch(0.19 0.06 9.073);
  --chart-2: oklch(0.199 0.07 339.382);
  --chart-3: oklch(0.204 0.048 40.154);
  --chart-4: oklch(0.235 0.086 340.004);
  --chart-5: oklch(0.191 0.062 9.353);
}