Worthless for shadcn/ui

Worthless is a shadcn/ui theme built around a vivid light indigo primary color (#e7e7fe) with muted light indigo accents (#b8b8cc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#e7e7fe) on an indigo-tinted background (#04040c).

Color palette

TokenLightDark
Background
#ffffffwhite
#04040cblack
Foreground
#000000black
#f5f5fawhitesmoke
Card
#fcfcfcsnow
#050510black
Card foreground
#000000black
#f8f8fcghostwhite
Popover
#ffffffwhite
#04040cblack
Popover foreground
#000000black
#f5f5fawhitesmoke
Primary
#e7e7felavender
#e7e7felavender
Primary foreground
#2a26f2blue
#2a26f2blue
Secondary
#d6d6dcgainsboro
#1c1c1cblack
Secondary foreground
#3b3b45darkslategray
#b4b4b6silver
Muted
#dadaecgainsboro
#131325black
Muted foreground
#656567dimgray
#98989adarkgray
Accent
#b8b8ccsilver
#28282edarkslategray
Accent foreground
#22222fdarkslategray
#c0c0c8silver
Destructive
#9b200dfirebrick
#ed4a31tomato
Destructive foreground
#fce2demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e7e7felavender
#e7e7felavender

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button6.49:1AA
Secondary button7.62:1AAA
Muted text4.21:1AA Large
Accent8.05:1AAA
Destructive6.54:1AA
Dark mode
Text on background18.84:1AAA
Text on card19.17:1AAA
Primary button6.49:1AA
Secondary button8.24:1AAA
Muted text6.34:1AA
Accent8.06:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.894 0.024 286.661);
  --muted-foreground: oklch(0.507 0.003 287.054);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.935 0.031 286.558);
  --primary-foreground: oklch(0.466 0.28 268.873);
  --secondary: oklch(0.877 0.008 286.995);
  --secondary-foreground: oklch(0.355 0.018 286.235);
  --accent: oklch(0.789 0.028 286.516);
  --accent-foreground: oklch(0.259 0.024 285.333);
  --destructive: oklch(0.45 0.161 31.589);
  --destructive-foreground: oklch(0.933 0.029 28.122);
  --ring: oklch(0.935 0.031 286.558);
  --chart-1: oklch(0.935 0.031 286.558);
  --chart-2: oklch(0.877 0.008 286.995);
  --chart-3: oklch(0.789 0.028 286.516);
  --chart-4: oklch(0.902 0.007 287.035);
  --chart-5: oklch(0.934 0.032 286.536);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.024 282.914);
  --foreground: oklch(0.97 0.008 287.027);
  --muted: oklch(0.198 0.036 283.391);
  --muted-foreground: oklch(0.68 0.003 287.09);
  --popover: oklch(0.11 0.024 282.914);
  --popover-foreground: oklch(0.97 0.008 287.027);
  --card: oklch(0.121 0.027 282.595);
  --card-foreground: oklch(0.98 0.005 287.076);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.935 0.031 286.558);
  --primary-foreground: oklch(0.466 0.28 268.873);
  --secondary: oklch(0.226 0.001 287.083);
  --secondary-foreground: oklch(0.771 0.002 287.12);
  --accent: oklch(0.281 0.011 286.43);
  --accent-foreground: oklch(0.811 0.011 286.91);
  --destructive: oklch(0.637 0.204 31.596);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.935 0.031 286.558);
  --chart-1: oklch(0.935 0.031 286.558);
  --chart-2: oklch(0.226 0.001 287.083);
  --chart-3: oklch(0.281 0.011 286.43);
  --chart-4: oklch(0.258 0.001 287.076);
  --chart-5: oklch(0.934 0.032 286.536);
}