East for shadcn/ui

East is a shadcn/ui theme built around a vivid deep green primary color (#061703) with vivid deep green accents (#03170a). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the vivid deep green primary (#061703) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcf8mintcream
#000000black
Foreground
#061004black
#ffffffwhite
Card
#f5faf4whitesmoke
#030303black
Card foreground
#040c03black
#ffffffwhite
Popover
#f8fcf8mintcream
#000000black
Popover foreground
#061004black
#ffffffwhite
Primary
#061703black
#061703black
Primary foreground
#32cf17limegreen
#32cf17limegreen
Secondary
#101703black
#101703black
Secondary foreground
#8ecf17yellowgreen
#8ecf17yellowgreen
Muted
#e0e5d7gainsboro
#23281ablack
Muted foreground
#606459dimgray
#a2a69bdarkgray
Accent
#03170ablack
#03170ablack
Accent foreground
#17cf57limegreen
#17cf57limegreen
Destructive
#882802saddlebrown
#fc6e36tomato
Destructive foreground
#fed0bepeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#061703black
#061703black

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.82:1AAA
Primary button8.91:1AAA
Secondary button9.68:1AAA
Muted text4.71:1AA
Accent8.93:1AAA
Destructive6.39:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.91:1AAA
Secondary button9.68:1AAA
Muted text6.07:1AA
Accent8.93:1AAA
Destructive7.42:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.007 141.051);
  --foreground: oklch(0.159 0.033 139.537);
  --muted: oklch(0.914 0.019 122.546);
  --muted-foreground: oklch(0.496 0.018 122.795);
  --popover: oklch(0.987 0.007 141.051);
  --popover-foreground: oklch(0.159 0.033 139.537);
  --card: oklch(0.981 0.01 141.043);
  --card-foreground: oklch(0.142 0.028 139.243);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.182 0.049 139.433);
  --primary-foreground: oklch(0.745 0.241 141.428);
  --secondary: oklch(0.191 0.041 124.863);
  --secondary-foreground: oklch(0.78 0.202 128.994);
  --accent: oklch(0.182 0.04 154.217);
  --accent-foreground: oklch(0.746 0.211 148.088);
  --destructive: oklch(0.422 0.137 37.857);
  --destructive-foreground: oklch(0.892 0.058 42.681);
  --ring: oklch(0.182 0.049 139.433);
  --chart-1: oklch(0.182 0.049 139.433);
  --chart-2: oklch(0.191 0.041 124.863);
  --chart-3: oklch(0.182 0.04 154.217);
  --chart-4: oklch(0.244 0.055 126.49);
  --chart-5: oklch(0.183 0.05 139.366);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.268 0.026 123.782);
  --muted-foreground: oklch(0.72 0.017 122.578);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.182 0.049 139.433);
  --primary-foreground: oklch(0.745 0.241 141.428);
  --secondary: oklch(0.191 0.041 124.863);
  --secondary-foreground: oklch(0.78 0.202 128.994);
  --accent: oklch(0.182 0.04 154.217);
  --accent-foreground: oklch(0.746 0.211 148.088);
  --destructive: oklch(0.704 0.187 40.459);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.182 0.049 139.433);
  --chart-1: oklch(0.182 0.049 139.433);
  --chart-2: oklch(0.191 0.041 124.863);
  --chart-3: oklch(0.182 0.04 154.217);
  --chart-4: oklch(0.244 0.055 126.49);
  --chart-5: oklch(0.183 0.05 139.366);
}