Implement for shadcn/ui

Implement is a shadcn/ui theme built around a vivid light green primary color (#bff5a8) with vivid light violet accents (#dea8f5). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid light green primary (#bff5a8) on a green-tinted background (#090e06).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#090e06black
Foreground
#081104black
#fcfdfcwhite
Card
#f9fcf8mintcream
#0b1108black
Card foreground
#060c03black
#ffffffwhite
Popover
#f9fcf8mintcream
#0b1108black
Popover foreground
#060c03black
#ffffffwhite
Primary
#bff5a8palegreen
#bff5a8palegreen
Primary foreground
#24600bdarkgreen
#24600bdarkgreen
Secondary
#dea8f5plum
#dea8f5plum
Secondary foreground
#470b60indigo
#470b60indigo
Muted
#e9dceflavender
#1d1023black
Muted foreground
#504554darkslategray
#b6abbadarkgray
Accent
#dea8f5plum
#dea8f5plum
Accent foreground
#470b60indigo
#470b60indigo
Destructive
#731f0cmaroon
#e9512ftomato
Destructive foreground
#f8c5balightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bff5a8palegreen
#bff5a8palegreen

Contrast

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

Light mode
Text on background18.88:1AAA
Text on card19.08:1AAA
Primary button6.13:1AA
Secondary button7.41:1AAA
Muted text6.86:1AA
Accent7.41:1AAA
Destructive7.06:1AAA
Dark mode
Text on background19.12:1AAA
Text on card19.07:1AAA
Primary button6.13:1AA
Secondary button7.41:1AAA
Muted text8.28:1AAA
Accent7.41:1AAA
Destructive3.68:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 136.031);
  --foreground: oklch(0.162 0.031 135.081);
  --muted: oklch(0.91 0.031 315.902);
  --muted-foreground: oklch(0.406 0.029 315.77);
  --popover: oklch(0.987 0.005 136.04);
  --popover-foreground: oklch(0.144 0.027 134.382);
  --card: oklch(0.987 0.005 136.04);
  --card-foreground: oklch(0.144 0.027 134.382);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.915 0.116 136.568);
  --primary-foreground: oklch(0.434 0.129 138.796);
  --secondary: oklch(0.807 0.121 315.465);
  --secondary-foreground: oklch(0.307 0.14 312.425);
  --accent: oklch(0.807 0.121 315.465);
  --accent-foreground: oklch(0.307 0.14 312.425);
  --destructive: oklch(0.374 0.121 33.855);
  --destructive-foreground: oklch(0.865 0.06 32.85);
  --ring: oklch(0.915 0.116 136.568);
  --chart-1: oklch(0.915 0.116 136.568);
  --chart-2: oklch(0.807 0.121 315.465);
  --chart-3: oklch(0.807 0.121 315.465);
  --chart-4: oklch(0.837 0.101 315.581);
  --chart-5: oklch(0.918 0.12 136.591);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.019 135.476);
  --foreground: oklch(0.993 0.002 136.028);
  --muted: oklch(0.201 0.043 315.16);
  --muted-foreground: oklch(0.754 0.025 315.905);
  --popover: oklch(0.169 0.022 136.299);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.169 0.022 136.299);
  --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.915 0.116 136.568);
  --primary-foreground: oklch(0.434 0.129 138.796);
  --secondary: oklch(0.807 0.121 315.465);
  --secondary-foreground: oklch(0.307 0.14 312.425);
  --accent: oklch(0.807 0.121 315.465);
  --accent-foreground: oklch(0.307 0.14 312.425);
  --destructive: oklch(0.639 0.194 34.072);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.116 136.568);
  --chart-1: oklch(0.915 0.116 136.568);
  --chart-2: oklch(0.807 0.121 315.465);
  --chart-3: oklch(0.807 0.121 315.465);
  --chart-4: oklch(0.837 0.101 315.581);
  --chart-5: oklch(0.918 0.12 136.591);
}