Show-stopper for shadcn/ui

Show-stopper is a shadcn/ui theme built around an indigo primary color (#3b35de) with violet accents (#8f35de). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the indigo primary (#3b35de) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7f7fdghostwhite
#000000black
Foreground
#050410black
#ffffffwhite
Card
#f3f3fcaliceblue
#030303black
Card foreground
#04030cblack
#ffffffwhite
Popover
#f3f3fcaliceblue
#030303black
Popover foreground
#04030cblack
#ffffffwhite
Primary
#3b35deroyalblue
#3b35deroyalblue
Primary foreground
#e5e5fblavender
#e5e5fblavender
Secondary
#3584deroyalblue
#3584deroyalblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#edf0f2whitesmoke
#0d0f12black
Muted foreground
#5a5e63dimgray
#9ca0a5darkgray
Accent
#8f35deblueviolet
#8f35deblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#732f0csaddlebrown
#e25b18chocolate
Destructive foreground
#f8cebapeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3b35deroyalblue
#3b35deroyalblue

Contrast

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

Light mode
Text on background19.04:1AAA
Text on card18.55:1AAA
Primary button6.14:1AA
Secondary button3.80:1AA Large
Muted text5.69:1AA
Accent5.60:1AA
Destructive6.79:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.14:1AA
Secondary button3.80:1AA Large
Muted text7.29:1AAA
Accent5.60:1AA
Destructive3.64:1AA Large

CSS variables

Paste this into your globals.css to use Show-stopper in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.977 0.008 287.781);
  --foreground: oklch(0.12 0.029 283.254);
  --muted: oklch(0.953 0.004 251.485);
  --muted-foreground: oklch(0.48 0.01 251.61);
  --popover: oklch(0.966 0.013 287.697);
  --popover-foreground: oklch(0.108 0.025 283.66);
  --card: oklch(0.966 0.013 287.697);
  --card-foreground: oklch(0.108 0.025 283.66);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.468 0.243 273.22);
  --primary-foreground: oklch(0.928 0.03 287.337);
  --secondary: oklch(0.61 0.157 254.176);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.546 0.239 303.365);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.395 0.107 43.227);
  --destructive-foreground: oklch(0.883 0.055 48.081);
  --ring: oklch(0.468 0.243 273.22);
  --chart-1: oklch(0.468 0.243 273.22);
  --chart-2: oklch(0.61 0.157 254.176);
  --chart-3: oklch(0.546 0.239 303.365);
  --chart-4: oklch(0.634 0.147 253.668);
  --chart-5: oklch(0.466 0.251 272.373);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.168 0.006 251.727);
  --muted-foreground: oklch(0.705 0.009 251.551);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.468 0.243 273.22);
  --primary-foreground: oklch(0.928 0.03 287.337);
  --secondary: oklch(0.61 0.157 254.176);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.546 0.239 303.365);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.638 0.183 42.082);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.468 0.243 273.22);
  --chart-1: oklch(0.468 0.243 273.22);
  --chart-2: oklch(0.61 0.157 254.176);
  --chart-3: oklch(0.546 0.239 303.365);
  --chart-4: oklch(0.634 0.147 253.668);
  --chart-5: oklch(0.466 0.251 272.373);
}