Even for shadcn/ui

Even is a shadcn/ui theme built around an orange primary color (#844c1a) with yellow accents (#84801a). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the orange primary (#844c1a) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fdfaf7snow
#070503black
Foreground
#110a03black
#f8f7f6whitesmoke
Card
#fcf7f3floralwhite
#0b0704black
Card foreground
#0d0702black
#fbfaf9snow
Popover
#fcf7f3floralwhite
#0b0704black
Popover foreground
#0d0702black
#fbfaf9snow
Primary
#844c1asaddlebrown
#844c1asaddlebrown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#841a1ebrown
#841a1ebrown
Secondary foreground
#f7d9damistyrose
#f7d9damistyrose
Muted
#e1dbdbgainsboro
#241e1fblack
Muted foreground
#5a4445darkolivegreen
#bba5a6darkgray
Accent
#84801aolive
#84801aolive
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#801900maroon
#ff3b0aorangered
Destructive foreground
#ffc2b3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#844c1asaddlebrown
#844c1asaddlebrown

Contrast

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

Light mode
Text on background18.86:1AAA
Text on card18.83:1AAA
Primary button6.96:1AA
Secondary button7.39:1AAA
Muted text6.54:1AA
Accent4.11:1AA Large
Destructive6.63:1AA
Dark mode
Text on background19.01:1AAA
Text on card19.21:1AAA
Primary button6.96:1AA
Secondary button7.39:1AAA
Muted text7.04:1AAA
Accent4.11:1AA Large
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 64.02);
  --foreground: oklch(0.151 0.022 69.88);
  --muted: oklch(0.896 0.006 14.911);
  --muted-foreground: oklch(0.411 0.031 16.255);
  --popover: oklch(0.979 0.008 63.984);
  --popover-foreground: oklch(0.136 0.019 73.5);
  --card: oklch(0.979 0.008 63.984);
  --card-foreground: oklch(0.136 0.019 73.5);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.473 0.098 57.559);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.403 0.141 24.796);
  --secondary-foreground: oklch(0.91 0.034 15.509);
  --accent: oklch(0.586 0.117 107.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.391 0.14 34.054);
  --destructive-foreground: oklch(0.865 0.074 34.457);
  --ring: oklch(0.473 0.098 57.559);
  --chart-1: oklch(0.473 0.098 57.559);
  --chart-2: oklch(0.403 0.141 24.796);
  --chart-3: oklch(0.586 0.117 107.442);
  --chart-4: oklch(0.43 0.151 24.941);
  --chart-5: oklch(0.476 0.102 57.018);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.01 70.311);
  --foreground: oklch(0.978 0.002 64.064);
  --muted: oklch(0.243 0.008 15.432);
  --muted-foreground: oklch(0.741 0.026 15.457);
  --popover: oklch(0.135 0.011 70.151);
  --popover-foreground: oklch(0.985 0.001 64.073);
  --card: oklch(0.135 0.011 70.151);
  --card-foreground: oklch(0.985 0.001 64.073);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.473 0.098 57.559);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.403 0.141 24.796);
  --secondary-foreground: oklch(0.91 0.034 15.509);
  --accent: oklch(0.586 0.117 107.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.652 0.235 33.197);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.473 0.098 57.559);
  --chart-1: oklch(0.473 0.098 57.559);
  --chart-2: oklch(0.403 0.141 24.796);
  --chart-3: oklch(0.586 0.117 107.442);
  --chart-4: oklch(0.43 0.151 24.941);
  --chart-5: oklch(0.476 0.102 57.018);
}