Pricey for shadcn/ui

Pricey is a shadcn/ui theme built around a light violet primary color (#f3edf8) with light teal accents (#edf8f3). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light violet primary (#f3edf8) on a neutral background (#030104).

Color palette

TokenLightDark
Background
#fdfbfewhite
#030104black
Foreground
#030104black
#f8f5fawhitesmoke
Card
#fdfbfewhite
#030104black
Card foreground
#030104black
#f8f5fawhitesmoke
Popover
#fdfbfewhite
#030104black
Popover foreground
#030104black
#f8f5fawhitesmoke
Primary
#f3edf8whitesmoke
#f3edf8whitesmoke
Primary foreground
#61347frebeccapurple
#61347frebeccapurple
Secondary
#f8f3edseashell
#f8f3edseashell
Secondary foreground
#362916darkslategray
#362916darkslategray
Muted
#ede7deantiquewhite
#211b12black
Muted foreground
#5f584fdimgray
#b0aaa0darkgray
Accent
#edf8f3honeydew
#edf8f3honeydew
Accent foreground
#163629darkslategray
#163629darkslategray
Destructive
#b95013sienna
#e86a21chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3edf8whitesmoke
#f3edf8whitesmoke

Contrast

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

Light mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button7.92:1AAA
Secondary button12.82:1AAA
Muted text5.70:1AA
Accent12.09:1AAA
Destructive4.98:1AA
Dark mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button7.92:1AAA
Secondary button12.82:1AAA
Muted text7.40:1AAA
Accent12.09:1AAA
Destructive6.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 312.325);
  --foreground: oklch(0.083 0.017 314.129);
  --muted: oklch(0.93 0.014 78.261);
  --muted-foreground: oklch(0.464 0.017 78.144);
  --popover: oklch(0.99 0.004 312.325);
  --popover-foreground: oklch(0.083 0.017 314.129);
  --card: oklch(0.99 0.004 312.325);
  --card-foreground: oklch(0.083 0.017 314.129);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.954 0.016 312.235);
  --primary-foreground: oklch(0.417 0.127 309.682);
  --secondary: oklch(0.967 0.01 78.279);
  --secondary-foreground: oklch(0.292 0.037 76.662);
  --accent: oklch(0.969 0.013 170.247);
  --accent-foreground: oklch(0.305 0.045 165.145);
  --destructive: oklch(0.558 0.151 44.98);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.954 0.016 312.235);
  --chart-1: oklch(0.954 0.016 312.235);
  --chart-2: oklch(0.967 0.01 78.279);
  --chart-3: oklch(0.969 0.013 170.247);
  --chart-4: oklch(0.987 0.004 78.3);
  --chart-5: oklch(0.953 0.017 312.226);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.019 314.284);
  --foreground: oklch(0.974 0.006 312.308);
  --muted: oklch(0.226 0.019 77.647);
  --muted-foreground: oklch(0.74 0.015 78.235);
  --popover: oklch(0.082 0.019 314.284);
  --popover-foreground: oklch(0.974 0.006 312.308);
  --card: oklch(0.082 0.019 314.284);
  --card-foreground: oklch(0.974 0.006 312.308);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.954 0.016 312.235);
  --primary-foreground: oklch(0.417 0.127 309.682);
  --secondary: oklch(0.967 0.01 78.279);
  --secondary-foreground: oklch(0.292 0.037 76.662);
  --accent: oklch(0.969 0.013 170.247);
  --accent-foreground: oklch(0.305 0.045 165.145);
  --destructive: oklch(0.668 0.175 45.698);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.954 0.016 312.235);
  --chart-1: oklch(0.954 0.016 312.235);
  --chart-2: oklch(0.967 0.01 78.279);
  --chart-3: oklch(0.969 0.013 170.247);
  --chart-4: oklch(0.987 0.004 78.3);
  --chart-5: oklch(0.953 0.017 312.226);
}