Mindless for shadcn/ui

Mindless is a shadcn/ui theme built around a teal primary color (#5ee4d2) with yellow accents (#e4d25e). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#5ee4d2) on a teal-tinted background (#05100e).

Color palette

TokenLightDark
Background
#ffffffwhite
#05100eblack
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#061312black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#061312black
Popover foreground
#000000black
#ffffffwhite
Primary
#5ee4d2mediumturquoise
#5ee4d2mediumturquoise
Primary foreground
#020d0cblack
#020d0cblack
Secondary
#d25ee4orchid
#d25ee4orchid
Secondary foreground
#0c020dblack
#0c020dblack
Muted
#ddd3degainsboro
#2a212cdarkslategray
Muted foreground
#5b575bdimgray
#a7a4a8darkgray
Accent
#e4d25esandybrown
#e4d25esandybrown
Accent foreground
#0d0c02black
#0d0c02black
Destructive
#a9300ffirebrick
#ee613atomato
Destructive foreground
#fdf0ecseashell
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5ee4d2mediumturquoise
#5ee4d2mediumturquoise

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 button12.63:1AAA
Secondary button6.25:1AA
Muted text4.88:1AA
Accent12.74:1AAA
Destructive6.04:1AA
Dark mode
Text on background19.37:1AAA
Text on card18.88:1AAA
Primary button12.63:1AAA
Secondary button6.25:1AA
Muted text6.31:1AA
Accent12.74:1AAA
Destructive6.39:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.878 0.019 321.652);
  --muted-foreground: oklch(0.463 0.007 321.634);
  --popover: oklch(0.992 0 161.565);
  --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.839 0.12 183.204);
  --primary-foreground: oklch(0.146 0.02 186.206);
  --secondary: oklch(0.675 0.217 322.135);
  --secondary-foreground: oklch(0.12 0.036 323.487);
  --accent: oklch(0.856 0.137 100.633);
  --accent-foreground: oklch(0.151 0.024 102.898);
  --destructive: oklch(0.491 0.162 35.002);
  --destructive-foreground: oklch(0.964 0.015 35.966);
  --ring: oklch(0.839 0.12 183.204);
  --chart-1: oklch(0.839 0.12 183.204);
  --chart-2: oklch(0.675 0.217 322.135);
  --chart-3: oklch(0.856 0.137 100.633);
  --chart-4: oklch(0.697 0.201 322.142);
  --chart-5: oklch(0.846 0.123 183.036);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.017 185.654);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.262 0.025 321.849);
  --muted-foreground: oklch(0.722 0.006 321.616);
  --popover: oklch(0.175 0.02 184.953);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.175 0.02 184.953);
  --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.839 0.12 183.204);
  --primary-foreground: oklch(0.146 0.02 186.206);
  --secondary: oklch(0.675 0.217 322.135);
  --secondary-foreground: oklch(0.12 0.036 323.487);
  --accent: oklch(0.856 0.137 100.633);
  --accent-foreground: oklch(0.151 0.024 102.898);
  --destructive: oklch(0.666 0.183 36.173);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.839 0.12 183.204);
  --chart-1: oklch(0.839 0.12 183.204);
  --chart-2: oklch(0.675 0.217 322.135);
  --chart-3: oklch(0.856 0.137 100.633);
  --chart-4: oklch(0.697 0.201 322.142);
  --chart-5: oklch(0.846 0.123 183.036);
}