Even for shadcn/ui

Even is a shadcn/ui theme built around a vivid green primary color (#0fae27) with muted light green accents (#d4e2d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#0fae27) on a neutral background (#010402).

Color palette

TokenLightDark
Background
#ffffffwhite
#010402black
Foreground
#040c05black
#fbfdfcwhite
Card
#fcfcfcsnow
#020803black
Card foreground
#020803black
#ffffffwhite
Popover
#ffffffwhite
#010402black
Popover foreground
#040c05black
#fbfdfcwhite
Primary
#0fae27forestgreen
#0fae27forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e8ede9linen
#303130darkslategray
Secondary foreground
#465d4adarkslategray
#c9cac9silver
Muted
#cde5d0lightgrey
#1a321edarkslategray
Muted foreground
#3b443ddarkslategray
#bbc4bcsilver
Accent
#d4e2d6gainsboro
#3c483edarkslategray
Accent foreground
#355039darkslategray
#d8dfd9gainsboro
Destructive
#bb1d11firebrick
#d72114firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0fae27forestgreen
#0fae27forestgreen

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.78:1AAA
Primary button2.96:1Fail
Secondary button6.07:1AA
Muted text7.53:1AAA
Accent6.66:1AA
Destructive6.39:1AA
Dark mode
Text on background20.17:1AAA
Text on card20.22:1AAA
Primary button2.96:1Fail
Secondary button7.95:1AAA
Muted text7.71:1AAA
Accent7.04:1AAA
Destructive5.11:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.14 0.023 149.181);
  --muted: oklch(0.898 0.037 149.695);
  --muted-foreground: oklch(0.377 0.017 149.631);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.14 0.023 149.181);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.122 0.02 149.241);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.652 0.208 143.929);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.942 0.009 150.124);
  --secondary-foreground: oklch(0.454 0.042 148.964);
  --accent: oklch(0.9 0.022 149.919);
  --accent-foreground: oklch(0.401 0.05 148.481);
  --destructive: oklch(0.508 0.193 29.642);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.208 143.929);
  --chart-1: oklch(0.652 0.208 143.929);
  --chart-2: oklch(0.942 0.009 150.124);
  --chart-3: oklch(0.9 0.022 149.919);
  --chart-4: oklch(0.964 0.006 150.172);
  --chart-5: oklch(0.659 0.212 143.798);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.015 149.279);
  --foreground: oklch(0.993 0.003 150.207);
  --muted: oklch(0.291 0.047 147.841);
  --muted-foreground: oklch(0.81 0.014 150.014);
  --popover: oklch(0.097 0.015 149.279);
  --popover-foreground: oklch(0.993 0.003 150.207);
  --card: oklch(0.122 0.019 149.279);
  --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.652 0.208 143.929);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.312 0.002 150.164);
  --secondary-foreground: oklch(0.838 0.002 150.22);
  --accent: oklch(0.389 0.023 149.449);
  --accent-foreground: oklch(0.896 0.01 150.099);
  --destructive: oklch(0.563 0.215 29.674);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.208 143.929);
  --chart-1: oklch(0.652 0.208 143.929);
  --chart-2: oklch(0.312 0.002 150.164);
  --chart-3: oklch(0.389 0.023 149.449);
  --chart-4: oklch(0.342 0.002 150.161);
  --chart-5: oklch(0.659 0.212 143.798);
}