Strip for shadcn/ui

Strip is a shadcn/ui theme built around a deep purple primary color (#230b1c) with deep red accents (#230b10). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the deep purple primary (#230b1c) on a purple-tinted background (#0c0409).

Color palette

TokenLightDark
Background
#fdf7fbsnow
#0c0409black
Foreground
#12020eblack
#ffffffwhite
Card
#fdf7fbsnow
#0c0409black
Card foreground
#12020eblack
#ffffffwhite
Popover
#fdf7fbsnow
#0c0409black
Popover foreground
#12020eblack
#ffffffwhite
Primary
#230b1cblack
#230b1cblack
Primary foreground
#da86c2orchid
#da86c2orchid
Secondary
#1e0b23black
#1e0b23black
Secondary foreground
#c886daorchid
#c886daorchid
Muted
#ebe9eclavender
#151316black
Muted foreground
#69606cdimgray
#9c939fdarkgray
Accent
#230b10black
#230b10black
Accent foreground
#da8698palevioletred
#da8698palevioletred
Destructive
#7a1b01maroon
#f93701orangered
Destructive foreground
#ffbfaelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#230b1cblack
#230b1cblack

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button7.19:1AAA
Secondary button6.99:1AA
Muted text4.99:1AA
Accent6.96:1AA
Destructive6.72:1AA
Dark mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button7.19:1AAA
Secondary button6.99:1AA
Muted text6.23:1AA
Accent6.96:1AA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.008 335.338);
  --foreground: oklch(0.133 0.044 338.244);
  --muted: oklch(0.937 0.004 318.889);
  --muted-foreground: oklch(0.502 0.022 318.875);
  --popover: oklch(0.982 0.008 335.338);
  --popover-foreground: oklch(0.133 0.044 338.244);
  --card: oklch(0.982 0.008 335.338);
  --card-foreground: oklch(0.133 0.044 338.244);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.196 0.05 339.484);
  --primary-foreground: oklch(0.727 0.127 338.133);
  --secondary: oklch(0.191 0.054 318.559);
  --secondary-foreground: oklch(0.716 0.137 318.758);
  --accent: oklch(0.19 0.042 8.34);
  --accent-foreground: oklch(0.713 0.105 6.029);
  --destructive: oklch(0.381 0.133 34.865);
  --destructive-foreground: oklch(0.859 0.077 36.023);
  --ring: oklch(0.196 0.05 339.484);
  --chart-1: oklch(0.196 0.05 339.484);
  --chart-2: oklch(0.191 0.054 318.559);
  --chart-3: oklch(0.19 0.042 8.34);
  --chart-4: oklch(0.222 0.068 318.466);
  --chart-5: oklch(0.196 0.052 339.71);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.023 335.953);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.007 318.878);
  --muted-foreground: oklch(0.675 0.021 318.88);
  --popover: oklch(0.124 0.023 335.953);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.023 335.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.196 0.05 339.484);
  --primary-foreground: oklch(0.727 0.127 338.133);
  --secondary: oklch(0.191 0.054 318.559);
  --secondary-foreground: oklch(0.716 0.137 318.758);
  --accent: oklch(0.19 0.042 8.34);
  --accent-foreground: oklch(0.713 0.105 6.029);
  --destructive: oklch(0.638 0.233 33.289);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.196 0.05 339.484);
  --chart-1: oklch(0.196 0.05 339.484);
  --chart-2: oklch(0.191 0.054 318.559);
  --chart-3: oklch(0.19 0.042 8.34);
  --chart-4: oklch(0.222 0.068 318.466);
  --chart-5: oklch(0.196 0.052 339.71);
}