Zampone for shadcn/ui

Zampone is a shadcn/ui theme built around a vivid purple primary color (#f47bec) with vivid teal accents (#7becf4). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the vivid purple primary (#f47bec) on a neutral background (#040104).

Color palette

TokenLightDark
Background
#fdf7fcsnow
#040104black
Foreground
#040104black
#ffffffwhite
Card
#fcf3fblavenderblush
#080208black
Card foreground
#000000black
#ffffffwhite
Popover
#fdf7fcsnow
#040104black
Popover foreground
#040104black
#ffffffwhite
Primary
#f47becviolet
#f47becviolet
Primary foreground
#390535midnightblue
#390535midnightblue
Secondary
#ecf47bkhaki
#ecf47bkhaki
Secondary foreground
#353905darkgreen
#353905darkgreen
Muted
#e6e8cfgainsboro
#2f3017darkslategray
Muted foreground
#63654edimgray
#b0b19adarkgray
Accent
#7becf4lightskyblue
#7becf4lightskyblue
Accent foreground
#053539darkslategray
#053539darkslategray
Destructive
#881d07darkred
#f44b2atomato
Destructive foreground
#fccec5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f47becviolet
#f47becviolet

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.35:1AAA
Primary button7.13:1AAA
Secondary button10.25:1AAA
Muted text4.79:1AA
Accent9.63:1AAA
Destructive6.66:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.52:1AAA
Primary button7.13:1AAA
Secondary button10.25:1AAA
Muted text6.16:1AA
Accent9.63:1AAA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.009 327.637);
  --foreground: oklch(0.084 0.027 329.383);
  --muted: oklch(0.922 0.033 110.139);
  --muted-foreground: oklch(0.498 0.035 110.767);
  --popover: oklch(0.982 0.009 327.637);
  --popover-foreground: oklch(0.084 0.027 329.383);
  --card: oklch(0.973 0.014 327.683);
  --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.759 0.2 329.874);
  --primary-foreground: oklch(0.243 0.101 331.209);
  --secondary: oklch(0.938 0.145 112.294);
  --secondary-foreground: oklch(0.329 0.07 113.591);
  --accent: oklch(0.88 0.104 201.598);
  --accent-foreground: oklch(0.301 0.048 202.34);
  --destructive: oklch(0.41 0.145 32.709);
  --destructive-foreground: oklch(0.889 0.054 31.285);
  --ring: oklch(0.759 0.2 329.874);
  --chart-1: oklch(0.759 0.2 329.874);
  --chart-2: oklch(0.938 0.145 112.294);
  --chart-3: oklch(0.88 0.104 201.598);
  --chart-4: oklch(0.943 0.132 112.014);
  --chart-5: oklch(0.76 0.206 329.94);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.021 328.987);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.301 0.041 111.927);
  --muted-foreground: oklch(0.754 0.032 110.264);
  --popover: oklch(0.086 0.021 328.987);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.026 328.987);
  --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.759 0.2 329.874);
  --primary-foreground: oklch(0.243 0.101 331.209);
  --secondary: oklch(0.938 0.145 112.294);
  --secondary-foreground: oklch(0.329 0.07 113.591);
  --accent: oklch(0.88 0.104 201.598);
  --accent-foreground: oklch(0.301 0.048 202.34);
  --destructive: oklch(0.649 0.21 33.132);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.759 0.2 329.874);
  --chart-1: oklch(0.759 0.2 329.874);
  --chart-2: oklch(0.938 0.145 112.294);
  --chart-3: oklch(0.88 0.104 201.598);
  --chart-4: oklch(0.943 0.132 112.014);
  --chart-5: oklch(0.76 0.206 329.94);
}