Pushy for shadcn/ui

Pushy is a shadcn/ui theme built around a vivid deep pink primary color (#54081d) with vivid deep red accents (#541808). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#54081d) on a pink-tinted background (#0c0306).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0306black
Foreground
#080204black
#fbf9f9snow
Card
#ffffffwhite
#0c0306black
Card foreground
#080204black
#fbf9f9snow
Popover
#ffffffwhite
#0c0306black
Popover foreground
#080204black
#fbf9f9snow
Primary
#54081dmaroon
#54081dmaroon
Primary foreground
#f598b3lightpink
#f598b3lightpink
Secondary
#540843indigo
#540843indigo
Secondary foreground
#f598e1plum
#f598e1plum
Muted
#ece4ealavender
#1b1319black
Muted foreground
#585657dimgray
#a9a7a9darkgray
Accent
#541808maroon
#541808maroon
Accent foreground
#f5ad98burlywood
#f5ad98burlywood
Destructive
#902e04saddlebrown
#e54906orangered
Destructive foreground
#fed8c8bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#54081dmaroon
#54081dmaroon

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.57:1AAA
Primary button7.01:1AAA
Secondary button7.00:1AAA
Muted text5.84:1AA
Accent7.47:1AAA
Destructive6.15:1AA
Dark mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button7.01:1AAA
Secondary button7.00:1AAA
Muted text7.62:1AAA
Accent7.47:1AAA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.02 357.47);
  --muted: oklch(0.927 0.012 332.823);
  --muted-foreground: oklch(0.455 0.003 332.722);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.02 357.47);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.105 0.02 357.47);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.292 0.107 11.781);
  --primary-foreground: oklch(0.783 0.115 1.769);
  --secondary: oklch(0.308 0.124 339.241);
  --secondary-foreground: oklch(0.798 0.143 335.189);
  --accent: oklch(0.305 0.093 35.838);
  --accent-foreground: oklch(0.811 0.091 36.093);
  --destructive: oklch(0.444 0.14 38.787);
  --destructive-foreground: oklch(0.91 0.047 44.533);
  --ring: oklch(0.292 0.107 11.781);
  --chart-1: oklch(0.292 0.107 11.781);
  --chart-2: oklch(0.308 0.124 339.241);
  --chart-3: oklch(0.305 0.093 35.838);
  --chart-4: oklch(0.341 0.139 339.438);
  --chart-5: oklch(0.293 0.109 12.346);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.022 357.726);
  --foreground: oklch(0.983 0.003 357.788);
  --muted: oklch(0.199 0.018 333.966);
  --muted-foreground: oklch(0.732 0.003 332.675);
  --popover: oklch(0.12 0.022 357.726);
  --popover-foreground: oklch(0.983 0.003 357.788);
  --card: oklch(0.12 0.022 357.726);
  --card-foreground: oklch(0.983 0.003 357.788);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.292 0.107 11.781);
  --primary-foreground: oklch(0.783 0.115 1.769);
  --secondary: oklch(0.308 0.124 339.241);
  --secondary-foreground: oklch(0.798 0.143 335.189);
  --accent: oklch(0.305 0.093 35.838);
  --accent-foreground: oklch(0.811 0.091 36.093);
  --destructive: oklch(0.62 0.202 37.717);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.292 0.107 11.781);
  --chart-1: oklch(0.292 0.107 11.781);
  --chart-2: oklch(0.308 0.124 339.241);
  --chart-3: oklch(0.305 0.093 35.838);
  --chart-4: oklch(0.341 0.139 339.438);
  --chart-5: oklch(0.293 0.109 12.346);
}