Useless for shadcn/ui

Useless is a shadcn/ui theme built around a vivid teal primary color (#75f0cf) with vivid yellow accents (#f0cf75). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the vivid teal primary (#75f0cf) on a teal-tinted background (#050a09).

Color palette

TokenLightDark
Background
#f7fdfbmintcream
#050a09black
Foreground
#010403black
#f6f8f8whitesmoke
Card
#f7fdfbmintcream
#050a09black
Card foreground
#010403black
#f6f8f8whitesmoke
Popover
#f7fdfbmintcream
#050a09black
Popover foreground
#010403black
#f6f8f8whitesmoke
Primary
#75f0cfaquamarine
#75f0cfaquamarine
Primary foreground
#052e23black
#052e23black
Secondary
#cf75f0orchid
#cf75f0orchid
Secondary foreground
#23052eblack
#23052eblack
Muted
#efe9f2lavender
#140d16black
Muted foreground
#454545darkslategray
#bababasilver
Accent
#f0cf75khaki
#f0cf75khaki
Accent foreground
#2e2305black
#2e2305black
Destructive
#671804maroon
#f63c0eorangered
Destructive foreground
#fcb4a1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#75f0cfaquamarine
#75f0cfaquamarine

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button10.67:1AAA
Secondary button6.57:1AA
Muted text8.02:1AAA
Accent10.26:1AAA
Destructive7.12:1AAA
Dark mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button10.67:1AAA
Secondary button6.57:1AA
Muted text9.82:1AAA
Accent10.26:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 178.569);
  --foreground: oklch(0.1 0.014 178.903);
  --muted: oklch(0.941 0.014 317.156);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(0.989 0.007 178.569);
  --popover-foreground: oklch(0.1 0.014 178.903);
  --card: oklch(0.989 0.007 178.569);
  --card-foreground: oklch(0.1 0.014 178.903);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.876 0.122 173.539);
  --primary-foreground: oklch(0.271 0.049 170.656);
  --secondary: oklch(0.709 0.194 316.344);
  --secondary-foreground: oklch(0.199 0.082 315.452);
  --accent: oklch(0.865 0.117 89.901);
  --accent-foreground: oklch(0.263 0.048 88.526);
  --destructive: oklch(0.342 0.116 34.571);
  --destructive-foreground: oklch(0.832 0.089 34.557);
  --ring: oklch(0.876 0.122 173.539);
  --chart-1: oklch(0.876 0.122 173.539);
  --chart-2: oklch(0.709 0.194 316.344);
  --chart-3: oklch(0.865 0.117 89.901);
  --chart-4: oklch(0.735 0.175 316.511);
  --chart-5: oklch(0.881 0.125 173.351);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 178.845);
  --foreground: oklch(0.979 0.002 178.718);
  --muted: oklch(0.174 0.021 316.908);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0.138 0.01 178.845);
  --popover-foreground: oklch(0.979 0.002 178.718);
  --card: oklch(0.138 0.01 178.845);
  --card-foreground: oklch(0.979 0.002 178.718);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.876 0.122 173.539);
  --primary-foreground: oklch(0.271 0.049 170.656);
  --secondary: oklch(0.709 0.194 316.344);
  --secondary-foreground: oklch(0.199 0.082 315.452);
  --accent: oklch(0.865 0.117 89.901);
  --accent-foreground: oklch(0.263 0.048 88.526);
  --destructive: oklch(0.638 0.227 33.492);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.876 0.122 173.539);
  --chart-1: oklch(0.876 0.122 173.539);
  --chart-2: oklch(0.709 0.194 316.344);
  --chart-3: oklch(0.865 0.117 89.901);
  --chart-4: oklch(0.735 0.175 316.511);
  --chart-5: oklch(0.881 0.125 173.351);
}