Bulk for shadcn/ui

Bulk is a shadcn/ui theme built around a vivid light green primary color (#d6f9ae) with vivid light green accents (#b1f9ae). The light mode uses a neutral background (#fafdf7). Dark mode keeps the vivid light green primary (#d6f9ae) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fafdf7mintcream
#030401black
Foreground
#080c03black
#ffffffwhite
Card
#f8fcf3whitesmoke
#050802black
Card foreground
#050802black
#ffffffwhite
Popover
#f8fcf3whitesmoke
#050802black
Popover foreground
#050802black
#ffffffwhite
Primary
#d6f9aepalegoldenrod
#d6f9aepalegoldenrod
Primary foreground
#080e01black
#080e01black
Secondary
#f9f6aepalegoldenrod
#f9f6aepalegoldenrod
Secondary foreground
#0e0e01black
#0e0e01black
Muted
#eaead6antiquewhite
#292815black
Muted foreground
#6c6b51dimgray
#aead93darkgray
Accent
#b1f9aepalegreen
#b1f9aepalegreen
Accent foreground
#020e01black
#020e01black
Destructive
#b62a07firebrick
#f75026tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d6f9aepalegoldenrod
#d6f9aepalegoldenrod

Contrast

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

Light mode
Text on background19.19:1AAA
Text on card19.33:1AAA
Primary button16.78:1AAA
Secondary button17.44:1AAA
Muted text4.46:1AA Large
Accent15.97:1AAA
Destructive6.32:1AA
Dark mode
Text on background20.56:1AAA
Text on card20.14:1AAA
Primary button16.78:1AAA
Secondary button17.44:1AAA
Muted text6.53:1AA
Accent15.97:1AAA
Destructive3.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 127.211);
  --foreground: oklch(0.147 0.024 126.338);
  --muted: oklch(0.932 0.026 105.284);
  --muted-foreground: oklch(0.52 0.038 106.011);
  --popover: oklch(0.985 0.012 127.262);
  --popover-foreground: oklch(0.128 0.021 126.048);
  --card: oklch(0.985 0.012 127.262);
  --card-foreground: oklch(0.128 0.021 126.048);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.939 0.103 128.564);
  --primary-foreground: oklch(0.153 0.034 126.365);
  --secondary: oklch(0.96 0.091 106.327);
  --secondary-foreground: oklch(0.159 0.03 108.041);
  --accent: oklch(0.916 0.123 143.707);
  --accent-foreground: oklch(0.145 0.042 142.002);
  --destructive: oklch(0.509 0.181 33.499);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.939 0.103 128.564);
  --chart-1: oklch(0.939 0.103 128.564);
  --chart-2: oklch(0.96 0.091 106.327);
  --chart-3: oklch(0.916 0.123 143.707);
  --chart-4: oklch(0.966 0.076 106.087);
  --chart-5: oklch(0.942 0.107 128.613);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.016 126.094);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.272 0.033 106.688);
  --muted-foreground: oklch(0.741 0.036 105.613);
  --popover: oklch(0.127 0.02 126.094);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.127 0.02 126.094);
  --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.939 0.103 128.564);
  --primary-foreground: oklch(0.153 0.034 126.365);
  --secondary: oklch(0.96 0.091 106.327);
  --secondary-foreground: oklch(0.159 0.03 108.041);
  --accent: oklch(0.916 0.123 143.707);
  --accent-foreground: oklch(0.145 0.042 142.002);
  --destructive: oklch(0.659 0.21 34.673);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.939 0.103 128.564);
  --chart-1: oklch(0.939 0.103 128.564);
  --chart-2: oklch(0.96 0.091 106.327);
  --chart-3: oklch(0.916 0.123 143.707);
  --chart-4: oklch(0.966 0.076 106.087);
  --chart-5: oklch(0.942 0.107 128.613);
}