Vengeful for shadcn/ui

Vengeful is a shadcn/ui theme built around a near-white primary color (#eaecea) with muted light green accents (#d3ded8). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#eaecea) on a green-tinted background (#070d0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#070d0ablack
Foreground
#010402black
#f8fbfamintcream
Card
#fcfcfcsnow
#09110cblack
Card foreground
#000000black
#fcfdfcwhite
Popover
#fcfcfcsnow
#09110cblack
Popover foreground
#000000black
#fcfdfcwhite
Primary
#eaecealinen
#eaecealinen
Primary foreground
#4e5651darkslategray
#4e5651darkslategray
Secondary
#e7e9e8lavender
#1c211eblack
Secondary foreground
#4a544edarkslategray
#b3bdb7silver
Muted
#e3ede7lavender
#121c16black
Muted foreground
#434c47darkslategray
#b3bcb7silver
Accent
#d3ded8gainsboro
#29382fdarkslategray
Accent foreground
#37493fdarkslategray
#c1d1c8silver
Destructive
#c82314firebrick
#e92d1ccrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eaecealinen
#eaecealinen

Contrast

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

Light mode
Text on background20.59:1AAA
Text on card20.54:1AAA
Primary button6.35:1AA
Secondary button6.46:1AA
Muted text7.43:1AAA
Accent6.96:1AA
Destructive5.68:1AA
Dark mode
Text on background18.79:1AAA
Text on card18.79:1AAA
Primary button6.35:1AA
Secondary button8.47:1AAA
Muted text8.95:1AAA
Accent7.79:1AAA
Destructive4.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.015 161.787);
  --muted: oklch(0.937 0.014 161.45);
  --muted-foreground: oklch(0.406 0.014 160.971);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.94 0.003 161.739);
  --primary-foreground: oklch(0.443 0.013 161.096);
  --secondary: oklch(0.933 0.004 161.715);
  --secondary-foreground: oklch(0.435 0.015 160.957);
  --accent: oklch(0.891 0.014 161.421);
  --accent-foreground: oklch(0.385 0.028 159.888);
  --destructive: oklch(0.536 0.201 30.056);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.94 0.003 161.739);
  --chart-1: oklch(0.94 0.003 161.739);
  --chart-2: oklch(0.933 0.004 161.715);
  --chart-3: oklch(0.891 0.014 161.421);
  --chart-4: oklch(0.955 0.002 161.748);
  --chart-5: oklch(0.941 0.004 161.698);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.013 160.711);
  --foreground: oklch(0.986 0.004 161.718);
  --muted: oklch(0.215 0.019 159.418);
  --muted-foreground: oklch(0.787 0.012 161.446);
  --popover: oklch(0.167 0.016 159.411);
  --popover-foreground: oklch(0.993 0.002 161.763);
  --card: oklch(0.167 0.016 159.411);
  --card-foreground: oklch(0.993 0.002 161.763);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.94 0.003 161.739);
  --primary-foreground: oklch(0.443 0.013 161.096);
  --secondary: oklch(0.241 0.008 161.007);
  --secondary-foreground: oklch(0.788 0.014 161.386);
  --accent: oklch(0.324 0.024 159.861);
  --accent-foreground: oklch(0.847 0.021 161.186);
  --destructive: oklch(0.603 0.223 30.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.94 0.003 161.739);
  --chart-1: oklch(0.94 0.003 161.739);
  --chart-2: oklch(0.241 0.008 161.007);
  --chart-3: oklch(0.324 0.024 159.861);
  --chart-4: oklch(0.274 0.009 160.953);
  --chart-5: oklch(0.941 0.004 161.698);
}