Zapier for shadcn/ui

Zapier is a shadcn/ui theme built around a vivid orange primary color (#ff4f01) with near-white accents (#fdfdfd). The light mode uses a neutral background (#ffffff). Dark mode switches to a purple primary (#b72490) on a purple-tinted background (#0e060c).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e060cblack
Foreground
#0c030ablack
#fbf9fasnow
Card
#ffffffwhite
#12070fblack
Card foreground
#080206black
#fdfcfdwhite
Popover
#ffffffwhite
#0e060cblack
Popover foreground
#0c030ablack
#fbf9fasnow
Primary
#ff4f01orangered
#b72490mediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#90b724yellowgreen
#90b724yellowgreen
Secondary foreground
#0a0d03black
#0a0d03black
Muted
#f5f7edwhitesmoke
#0f1208black
Muted foreground
#45483cdarkslategray
#bfc3b7silver
Accent
#fdfdfdwhite
#2490b7lightseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#861309darkred
#f02614orangered
Destructive foreground
#fbcac5pink
#ffffffwhite
Border
#ece9eblinen
#292427darkslategray
Input
#ece9eblinen
#292427darkslategray
Ring
#b72490mediumvioletred
#b72490mediumvioletred

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card20.55:1AAA
Primary button3.29:1AA Large
Secondary button8.39:1AAA
Muted text8.65:1AAA
Accent1.01:1Fail
Destructive6.78:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.26:1AAA
Primary button5.71:1AA
Secondary button8.39:1AAA
Muted text10.55:1AAA
Accent3.65:1AA Large
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.026 335.475);
  --muted: oklch(0.972 0.014 118.813);
  --muted-foreground: oklch(0.396 0.02 119.452);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.026 335.475);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.108 0.022 335.174);
  --border: oklch(0.938 0.004 334.594);
  --input: oklch(0.938 0.004 334.594);
  --primary: oklch(0.67 0.222 37.37);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.726 0.169 124.265);
  --secondary-foreground: oklch(0.151 0.025 119.232);
  --accent: oklch(0.994 0 192.529);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.4 0.15 30.082);
  --destructive-foreground: oklch(0.881 0.057 24.326);
  --ring: oklch(0.539 0.208 341.65);
  --chart-1: oklch(0.539 0.208 341.65);
  --chart-2: oklch(0.726 0.169 124.265);
  --chart-3: oklch(0.612 0.109 227.981);
  --chart-4: oklch(0.763 0.179 124.302);
  --chart-5: oklch(0.543 0.213 341.938);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.022 336.237);
  --foreground: oklch(0.984 0.002 334.572);
  --muted: oklch(0.175 0.021 120.511);
  --muted-foreground: oklch(0.81 0.017 118.929);
  --popover: oklch(0.139 0.022 336.237);
  --popover-foreground: oklch(0.984 0.002 334.572);
  --card: oklch(0.151 0.025 336.946);
  --card-foreground: oklch(0.992 0.001 334.549);
  --border: oklch(0.267 0.009 335.115);
  --input: oklch(0.267 0.009 335.115);
  --primary: oklch(0.539 0.208 341.65);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.726 0.169 124.265);
  --secondary-foreground: oklch(0.151 0.025 119.232);
  --accent: oklch(0.612 0.109 227.981);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.613 0.234 30.092);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.539 0.208 341.65);
  --chart-1: oklch(0.539 0.208 341.65);
  --chart-2: oklch(0.726 0.169 124.265);
  --chart-3: oklch(0.612 0.109 227.981);
  --chart-4: oklch(0.763 0.179 124.302);
  --chart-5: oklch(0.543 0.213 341.938);
}