Striped Pretentious Peacock for shadcn/ui

Striped Pretentious Peacock is a shadcn/ui theme built around a vivid indigo primary color (#4548f7) with vivid green accents (#48f745). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#4548f7) on a neutral background (#030308).

Color palette

TokenLightDark
Background
#ffffffwhite
#030308black
Foreground
#060713black
#f7f7f8whitesmoke
Card
#ffffffwhite
#030308black
Card foreground
#060713black
#f7f7f8whitesmoke
Popover
#ffffffwhite
#030308black
Popover foreground
#060713black
#f7f7f8whitesmoke
Primary
#4548f7royalblue
#4548f7royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f74560tomato
#f74548tomato
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3dedegainsboro
#211c1cblack
Muted foreground
#433d3ddarkslategray
#c2bcbcsilver
Accent
#48f745limegreen
#48f745limegreen
Accent foreground
#010a00black
#010a00black
Destructive
#d64b0achocolate
#ef530borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e5e7gainsboro
#222225black
Input
#e4e5e7gainsboro
#222225black
Ring
#4548f7royalblue
#4548f7royalblue

Contrast

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

Light mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button5.95:1AA
Secondary button3.51:1AA Large
Muted text7.98:1AAA
Accent14.06:1AAA
Destructive4.30:1AA Large
Dark mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button5.95:1AA
Secondary button3.55:1AA Large
Muted text8.97:1AAA
Accent14.06:1AAA
Destructive3.55:1AA Large

CSS variables

Paste this into your globals.css to use Striped Pretentious Peacock in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.134 0.028 280.944);
  --muted: oklch(0.904 0.005 16.078);
  --muted-foreground: oklch(0.365 0.009 16.407);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.134 0.028 280.944);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.134 0.028 280.944);
  --border: oklch(0.921 0.003 285.565);
  --input: oklch(0.921 0.003 285.565);
  --primary: oklch(0.524 0.252 272.81);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.656 0.213 17.105);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.857 0.257 142.726);
  --accent-foreground: oklch(0.126 0.039 142.276);
  --destructive: oklch(0.598 0.186 39.425);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.524 0.252 272.81);
  --chart-1: oklch(0.524 0.252 272.81);
  --chart-2: oklch(0.656 0.213 17.105);
  --chart-3: oklch(0.857 0.257 142.726);
  --chart-4: oklch(0.674 0.199 15.558);
  --chart-5: oklch(0.522 0.259 272.228);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.017 281.652);
  --foreground: oklch(0.975 0.002 285.577);
  --muted: oklch(0.233 0.008 16.565);
  --muted-foreground: oklch(0.801 0.007 16.133);
  --popover: oklch(0.099 0.017 281.652);
  --popover-foreground: oklch(0.975 0.002 285.577);
  --card: oklch(0.099 0.017 281.652);
  --card-foreground: oklch(0.975 0.002 285.577);
  --border: oklch(0.254 0.005 285.244);
  --input: oklch(0.254 0.005 285.244);
  --primary: oklch(0.524 0.252 272.81);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.652 0.215 24.64);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.857 0.257 142.726);
  --accent-foreground: oklch(0.126 0.039 142.276);
  --destructive: oklch(0.648 0.203 39.249);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.524 0.252 272.81);
  --chart-1: oklch(0.524 0.252 272.81);
  --chart-2: oklch(0.652 0.215 24.64);
  --chart-3: oklch(0.857 0.257 142.726);
  --chart-4: oklch(0.67 0.2 23.435);
  --chart-5: oklch(0.522 0.259 272.228);
}