Vengeful for shadcn/ui

Vengeful is a shadcn/ui theme built around a deep green primary color (#157a3f) with deep teal accents (#157a72). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep green primary (#157a3f) on a neutral background (#020402).

Color palette

TokenLightDark
Background
#fbfefcwhite
#020402black
Foreground
#010904black
#f8fcfamintcream
Card
#fbfefcwhite
#020402black
Card foreground
#010904black
#f8fcfamintcream
Popover
#fbfefcwhite
#020402black
Popover foreground
#010904black
#f8fcfamintcream
Primary
#157a3fforestgreen
#157a3fforestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#1d7a15forestgreen
#1d7a15forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7e9e7lavender
#161816black
Muted foreground
#3e423edarkslategray
#bec1bdsilver
Accent
#157a72teal
#157a72teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#920c02darkred
#fc2c1dorangered
Destructive foreground
#fecbc8pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#157a3fforestgreen
#157a3fforestgreen

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button5.39:1AA
Secondary button5.45:1AA
Muted text8.39:1AAA
Accent5.17:1AA
Destructive6.43:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button5.39:1AA
Secondary button5.45:1AA
Muted text9.81:1AAA
Accent5.17:1AA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 160.941);
  --foreground: oklch(0.126 0.023 160.921);
  --muted: oklch(0.932 0.004 143.115);
  --muted-foreground: oklch(0.373 0.008 143.035);
  --popover: oklch(0.994 0.003 160.941);
  --popover-foreground: oklch(0.126 0.023 160.921);
  --card: oklch(0.994 0.003 160.941);
  --card-foreground: oklch(0.126 0.023 160.921);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.511 0.127 151.703);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.507 0.158 141.947);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.087 186.097);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.419 0.165 30.078);
  --destructive-foreground: oklch(0.887 0.058 23.061);
  --ring: oklch(0.511 0.127 151.703);
  --chart-1: oklch(0.511 0.127 151.703);
  --chart-2: oklch(0.507 0.158 141.947);
  --chart-3: oklch(0.524 0.087 186.097);
  --chart-4: oklch(0.546 0.171 141.953);
  --chart-5: oklch(0.516 0.131 151.367);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.01 160.963);
  --foreground: oklch(0.987 0.004 160.911);
  --muted: oklch(0.206 0.006 143.009);
  --muted-foreground: oklch(0.808 0.007 143.097);
  --popover: oklch(0.096 0.01 160.963);
  --popover-foreground: oklch(0.987 0.004 160.911);
  --card: oklch(0.096 0.01 160.963);
  --card-foreground: oklch(0.987 0.004 160.911);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.511 0.127 151.703);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.507 0.158 141.947);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.087 186.097);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.637 0.24 29.616);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.511 0.127 151.703);
  --chart-1: oklch(0.511 0.127 151.703);
  --chart-2: oklch(0.507 0.158 141.947);
  --chart-3: oklch(0.524 0.087 186.097);
  --chart-4: oklch(0.546 0.171 141.953);
  --chart-5: oklch(0.516 0.131 151.367);
}