Worthless for shadcn/ui

Worthless is a shadcn/ui theme built around a vivid light orange primary color (#fef5e7) with muted orange accents (#cfc0aa). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid light orange primary (#fef5e7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfaf8snow
#000000black
Foreground
#110c03black
#ffffffwhite
Card
#fbfaf8snow
#000000black
Card foreground
#110c03black
#ffffffwhite
Popover
#fbfaf8snow
#000000black
Popover foreground
#110c03black
#ffffffwhite
Primary
#fef5e7oldlace
#fef5e7oldlace
Primary foreground
#492d04maroon
#492d04maroon
Secondary
#dcd5cblightgrey
#29251eblack
Secondary foreground
#463d2fdarkslategray
#c7bfb3silver
Muted
#e1dfdbgainsboro
#24221eblack
Muted foreground
#6a6762dimgray
#9d9a95darkgray
Accent
#cfc0aasilver
#4b402fdarkolivegreen
Accent foreground
#2e261ablack
#e0d8cdlightgrey
Destructive
#630803maroon
#e41207red
Destructive foreground
#fca19clightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fef5e7oldlace
#fef5e7oldlace

Contrast

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

Light mode
Text on background18.72:1AAA
Text on card18.72:1AAA
Primary button11.66:1AAA
Secondary button7.34:1AAA
Muted text4.21:1AA Large
Accent8.39:1AAA
Destructive6.84:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button11.66:1AAA
Secondary button8.38:1AAA
Muted text5.66:1AA
Accent7.16:1AAA
Destructive4.80:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 78.304);
  --foreground: oklch(0.156 0.021 82.013);
  --muted: oklch(0.903 0.006 78.291);
  --muted-foreground: oklch(0.515 0.009 78.252);
  --popover: oklch(0.986 0.003 78.304);
  --popover-foreground: oklch(0.156 0.021 82.013);
  --card: oklch(0.986 0.003 78.304);
  --card-foreground: oklch(0.156 0.021 82.013);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.972 0.021 78.231);
  --primary-foreground: oklch(0.324 0.066 71.206);
  --secondary: oklch(0.877 0.016 78.245);
  --secondary-foreground: oklch(0.365 0.026 77.795);
  --accent: oklch(0.815 0.035 78.098);
  --accent-foreground: oklch(0.273 0.024 77.558);
  --destructive: oklch(0.319 0.123 29.837);
  --destructive-foreground: oklch(0.799 0.109 23.075);
  --ring: oklch(0.972 0.021 78.231);
  --chart-1: oklch(0.972 0.021 78.231);
  --chart-2: oklch(0.877 0.016 78.245);
  --chart-3: oklch(0.815 0.035 78.098);
  --chart-4: oklch(0.899 0.013 78.261);
  --chart-5: oklch(0.973 0.021 78.227);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.253 0.008 78.165);
  --muted-foreground: oklch(0.687 0.008 78.273);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.972 0.021 78.231);
  --primary-foreground: oklch(0.324 0.066 71.206);
  --secondary: oklch(0.266 0.013 78.04);
  --secondary-foreground: oklch(0.807 0.019 78.221);
  --accent: oklch(0.378 0.031 77.647);
  --accent-foreground: oklch(0.885 0.017 78.239);
  --destructive: oklch(0.58 0.232 29.524);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.972 0.021 78.231);
  --chart-1: oklch(0.972 0.021 78.231);
  --chart-2: oklch(0.266 0.013 78.04);
  --chart-3: oklch(0.378 0.031 77.647);
  --chart-4: oklch(0.299 0.016 78.018);
  --chart-5: oklch(0.973 0.021 78.227);
}