Bulk for shadcn/ui

Bulk is a shadcn/ui theme built around a vivid pink primary color (#a6036d) with vivid green accents (#03a63c). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid pink primary (#a6036d) on a pink-tinted background (#0b0409).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0b0409black
Foreground
#000000black
#faf5f8whitesmoke
Card
#fcf8fbsnow
#0e060bblack
Card foreground
#000000black
#fbf8fasnow
Popover
#fefbfdsnow
#0b0409black
Popover foreground
#000000black
#faf5f8whitesmoke
Primary
#a6036ddarkmagenta
#a6036ddarkmagenta
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#03a63cforestgreen
#03a63cforestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dceae1gainsboro
#15231ablack
Muted foreground
#535f57dimgray
#a0aca4darkgray
Accent
#03a63cforestgreen
#03a63cforestgreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7d1908maroon
#dd2d0eorangered
Destructive foreground
#fbc5bclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a6036ddarkmagenta
#a6036ddarkmagenta

Contrast

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

Light mode
Text on background20.45:1AAA
Text on card19.91:1AAA
Primary button7.37:1AAA
Secondary button3.22:1AA Large
Muted text5.36:1AA
Accent3.22:1AA Large
Destructive6.86:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.95:1AAA
Primary button7.37:1AAA
Secondary button3.22:1AA Large
Muted text6.94:1AA
Accent3.22:1AA Large
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 338.05);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.924 0.018 157.559);
  --muted-foreground: oklch(0.474 0.02 157.06);
  --popover: oklch(0.991 0.003 338.05);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.006 338.117);
  --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.478 0.198 349.919);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.631 0.187 146.949);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.631 0.187 146.949);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.386 0.136 32.198);
  --destructive-foreground: oklch(0.869 0.063 29.901);
  --ring: oklch(0.478 0.198 349.919);
  --chart-1: oklch(0.478 0.198 349.919);
  --chart-2: oklch(0.631 0.187 146.949);
  --chart-3: oklch(0.631 0.187 146.949);
  --chart-4: oklch(0.673 0.2 146.849);
  --chart-5: oklch(0.483 0.201 350.261);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.018 338.305);
  --foreground: oklch(0.975 0.006 338.123);
  --muted: oklch(0.24 0.025 155.532);
  --muted-foreground: oklch(0.732 0.018 157.455);
  --popover: oklch(0.125 0.018 338.305);
  --popover-foreground: oklch(0.975 0.006 338.123);
  --card: oklch(0.139 0.021 339.712);
  --card-foreground: oklch(0.983 0.004 338.076);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.478 0.198 349.919);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.631 0.187 146.949);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.631 0.187 146.949);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.581 0.214 31.874);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.478 0.198 349.919);
  --chart-1: oklch(0.478 0.198 349.919);
  --chart-2: oklch(0.631 0.187 146.949);
  --chart-3: oklch(0.631 0.187 146.949);
  --chart-4: oklch(0.673 0.2 146.849);
  --chart-5: oklch(0.483 0.201 350.261);
}