Vengeful for shadcn/ui

Vengeful is a shadcn/ui theme built around a muted blue primary color (#55657c) with muted green accents (#657c55). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the muted blue primary (#55657c) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#010204black
Foreground
#010204black
#f6f7f9whitesmoke
Card
#f2f7fcaliceblue
#020508black
Card foreground
#000000black
#f9fafbghostwhite
Popover
#f7f9fdghostwhite
#010204black
Popover foreground
#010204black
#f6f7f9whitesmoke
Primary
#55657cdimgray
#55657cdimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7c5565dimgray
#7c5565dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8e3e5gainsboro
#1c1719black
Muted foreground
#615158dimgray
#ae9ea4darkgray
Accent
#657c55dimgray
#657c55dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#71180amaroon
#d32c12firebrick
Destructive foreground
#f8bdb4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#55657cdimgray
#55657cdimgray

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.44:1AAA
Primary button5.92:1AA
Secondary button6.28:1AA
Muted text5.85:1AA
Accent4.57:1AA
Destructive7.07:1AAA
Dark mode
Text on background19.33:1AAA
Text on card19.57:1AAA
Primary button5.92:1AA
Secondary button6.28:1AA
Muted text6.93:1AA
Accent4.57:1AA
Destructive5.06:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 256.676);
  --foreground: oklch(0.087 0.01 249.108);
  --muted: oklch(0.92 0.006 349.859);
  --muted-foreground: oklch(0.454 0.024 351.077);
  --popover: oklch(0.982 0.006 256.676);
  --popover-foreground: oklch(0.087 0.01 249.108);
  --card: oklch(0.973 0.009 256.688);
  --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.503 0.042 256.829);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.497 0.058 352.726);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.558 0.065 132.77);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.36 0.125 31.649);
  --destructive-foreground: oklch(0.85 0.07 28.582);
  --ring: oklch(0.503 0.042 256.829);
  --chart-1: oklch(0.503 0.042 256.829);
  --chart-2: oklch(0.497 0.058 352.726);
  --chart-3: oklch(0.558 0.065 132.77);
  --chart-4: oklch(0.522 0.061 352.751);
  --chart-5: oklch(0.501 0.049 256.841);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.01 248.792);
  --foreground: oklch(0.976 0.002 256.662);
  --muted: oklch(0.211 0.009 350.836);
  --muted-foreground: oklch(0.714 0.021 350.477);
  --popover: oklch(0.087 0.01 248.792);
  --popover-foreground: oklch(0.976 0.002 256.662);
  --card: oklch(0.11 0.012 248.792);
  --card-foreground: oklch(0.984 0.002 256.659);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.503 0.042 256.829);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.497 0.058 352.726);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.558 0.065 132.77);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.564 0.205 31.508);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.503 0.042 256.829);
  --chart-1: oklch(0.503 0.042 256.829);
  --chart-2: oklch(0.497 0.058 352.726);
  --chart-3: oklch(0.558 0.065 132.77);
  --chart-4: oklch(0.522 0.061 352.751);
  --chart-5: oklch(0.501 0.049 256.841);
}