Killing for shadcn/ui

Killing is a shadcn/ui theme built around a vivid green primary color (#b6fb56) with vivid pink accents (#fb56b6). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid green primary (#b6fb56) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fdfefbwhite
#030401black
Foreground
#0b1103black
#fcfdfcwhite
Card
#fafdf7mintcream
#060802black
Card foreground
#080d03black
#ffffffwhite
Popover
#fdfefbwhite
#030401black
Popover foreground
#0b1103black
#fcfdfcwhite
Primary
#b6fb56greenyellow
#b6fb56greenyellow
Primary foreground
#121e01black
#121e01black
Secondary
#56b6fbcornflowerblue
#56b6fbcornflowerblue
Secondary foreground
#01121eblack
#01121eblack
Muted
#eff3f5whitesmoke
#0a0d10black
Muted foreground
#404c54darkslategray
#abb7bfsilver
Accent
#fb56b6hotpink
#fb56b6hotpink
Accent foreground
#1e0112black
#1e0112black
Destructive
#d03816firebrick
#e7421dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6fb56greenyellow
#b6fb56greenyellow

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card19.16:1AAA
Primary button13.92:1AAA
Secondary button8.56:1AAA
Muted text7.89:1AAA
Accent6.64:1AA
Destructive4.94:1AA
Dark mode
Text on background20.17:1AAA
Text on card20.15:1AAA
Primary button13.92:1AAA
Secondary button8.56:1AAA
Muted text9.50:1AAA
Accent6.64:1AA
Destructive4.03:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 125.108);
  --foreground: oklch(0.166 0.03 126.036);
  --muted: oklch(0.961 0.005 238.435);
  --muted-foreground: oklch(0.408 0.02 239.09);
  --popover: oklch(0.995 0.005 125.108);
  --popover-foreground: oklch(0.166 0.03 126.036);
  --card: oklch(0.991 0.009 125.171);
  --card-foreground: oklch(0.149 0.026 124.573);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.911 0.204 129.232);
  --primary-foreground: oklch(0.215 0.055 128.316);
  --secondary: oklch(0.747 0.134 242.627);
  --secondary-foreground: oklch(0.172 0.036 238.482);
  --accent: oklch(0.702 0.22 348.278);
  --accent-foreground: oklch(0.158 0.063 347.175);
  --destructive: oklch(0.568 0.194 33.527);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.911 0.204 129.232);
  --chart-1: oklch(0.911 0.204 129.232);
  --chart-2: oklch(0.747 0.134 242.627);
  --chart-3: oklch(0.702 0.22 348.278);
  --chart-4: oklch(0.767 0.124 241.875);
  --chart-5: oklch(0.917 0.208 129.362);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.014 124.303);
  --foreground: oklch(0.993 0.001 125.055);
  --muted: oklch(0.158 0.008 239.102);
  --muted-foreground: oklch(0.772 0.017 238.678);
  --popover: oklch(0.101 0.014 124.303);
  --popover-foreground: oklch(0.993 0.001 125.055);
  --card: oklch(0.127 0.018 124.303);
  --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.911 0.204 129.232);
  --primary-foreground: oklch(0.215 0.055 128.316);
  --secondary: oklch(0.747 0.134 242.627);
  --secondary-foreground: oklch(0.172 0.036 238.482);
  --accent: oklch(0.702 0.22 348.278);
  --accent-foreground: oklch(0.158 0.063 347.175);
  --destructive: oklch(0.618 0.207 33.649);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.911 0.204 129.232);
  --chart-1: oklch(0.911 0.204 129.232);
  --chart-2: oklch(0.747 0.134 242.627);
  --chart-3: oklch(0.702 0.22 348.278);
  --chart-4: oklch(0.767 0.124 241.875);
  --chart-5: oklch(0.917 0.208 129.362);
}