Kick for shadcn/ui

Kick is a shadcn/ui theme built around a vivid light green primary color (#ebffed) with vivid light purple accents (#ffebfd). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid light green primary (#ebffed) on a green-tinted background (#060f07).

Color palette

TokenLightDark
Background
#fbfefbwhite
#060f07black
Foreground
#010401black
#f7f8f7whitesmoke
Card
#f7fdf8mintcream
#071208black
Card foreground
#000000black
#f9faf9snow
Popover
#fbfefbwhite
#060f07black
Popover foreground
#010401black
#f7f8f7whitesmoke
Primary
#ebffedhoneydew
#ebffedhoneydew
Primary foreground
#015109darkgreen
#015109darkgreen
Secondary
#ffebfdlavenderblush
#ffebfdlavenderblush
Secondary foreground
#510149indigo
#510149indigo
Muted
#e8d9e7gainsboro
#261725black
Muted foreground
#6d556adimgray
#aa92a7darkgray
Accent
#ffebfdlavenderblush
#ffebfdlavenderblush
Accent foreground
#510149indigo
#510149indigo
Destructive
#913a08saddlebrown
#f37a35coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebffedhoneydew
#ebffedhoneydew

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.32:1AAA
Primary button9.17:1AAA
Secondary button12.76:1AAA
Muted text4.90:1AA
Accent12.76:1AAA
Destructive7.46:1AAA
Dark mode
Text on background18.31:1AAA
Text on card18.20:1AAA
Primary button9.17:1AAA
Secondary button12.76:1AAA
Muted text5.98:1AA
Accent12.76:1AAA
Destructive7.67:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 148.543);
  --foreground: oklch(0.097 0.017 147.355);
  --muted: oklch(0.901 0.025 328.893);
  --muted-foreground: oklch(0.482 0.044 329.558);
  --popover: oklch(0.994 0.004 148.543);
  --popover-foreground: oklch(0.097 0.017 147.355);
  --card: oklch(0.988 0.009 148.493);
  --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.98 0.032 148.228);
  --primary-foreground: oklch(0.377 0.123 143.612);
  --secondary: oklch(0.961 0.032 328.954);
  --secondary-foreground: oklch(0.3 0.133 333.424);
  --accent: oklch(0.961 0.032 328.954);
  --accent-foreground: oklch(0.3 0.133 333.424);
  --destructive: oklch(0.462 0.129 44.157);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.98 0.032 148.228);
  --chart-1: oklch(0.98 0.032 148.228);
  --chart-2: oklch(0.961 0.032 328.954);
  --chart-3: oklch(0.961 0.032 328.954);
  --chart-4: oklch(0.99 0.008 328.681);
  --chart-5: oklch(0.98 0.033 148.217);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.024 147.301);
  --foreground: oklch(0.978 0.003 148.563);
  --muted: oklch(0.231 0.035 330.135);
  --muted-foreground: oklch(0.689 0.04 329.221);
  --popover: oklch(0.154 0.024 147.301);
  --popover-foreground: oklch(0.978 0.003 148.563);
  --card: oklch(0.169 0.027 146.923);
  --card-foreground: oklch(0.985 0.002 148.573);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.98 0.032 148.228);
  --primary-foreground: oklch(0.377 0.123 143.612);
  --secondary: oklch(0.961 0.032 328.954);
  --secondary-foreground: oklch(0.3 0.133 333.424);
  --accent: oklch(0.961 0.032 328.954);
  --accent-foreground: oklch(0.3 0.133 333.424);
  --destructive: oklch(0.709 0.169 47.29);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.98 0.032 148.228);
  --chart-1: oklch(0.98 0.032 148.228);
  --chart-2: oklch(0.961 0.032 328.954);
  --chart-3: oklch(0.961 0.032 328.954);
  --chart-4: oklch(0.99 0.008 328.681);
  --chart-5: oklch(0.98 0.033 148.217);
}