Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Menacing for shadcn/ui

Menacing is a shadcn/ui theme built around a green primary color (#92a545) with indigo accents (#5845a5). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the green primary (#92a545) on a neutral background (#060703).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#060703black
Foreground
#030401black
#fafbf9snow
Card
#fbfcf8snow
#0a0b04black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fbfcf8snow
#0a0b04black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#92a545yellowgreen
#92a545yellowgreen
Primary foreground
#131609black
#131609black
Secondary
#5845a5rebeccapurple
#5845a5rebeccapurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5e4eclavender
#14131bblack
Muted foreground
#5d5c60dimgray
#a09fa3darkgray
Accent
#5845a5rebeccapurple
#5845a5rebeccapurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9d4210saddlebrown
#d05716chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#92a545yellowgreen
#92a545yellowgreen

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.32:1AAA
Primary button6.73:1AA
Secondary button7.44:1AAA
Muted text5.25:1AA
Accent7.44:1AAA
Destructive6.54:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.41:1AAA
Primary button6.73:1AA
Secondary button7.44:1AAA
Muted text7.02:1AAA
Accent7.44:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 115.62);
  --foreground: oklch(0.102 0.014 116.109);
  --muted: oklch(0.922 0.012 295.342);
  --muted-foreground: oklch(0.478 0.006 295.346);
  --popover: oklch(0.988 0.004 115.662);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.004 115.662);
  --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.688 0.124 119.264);
  --primary-foreground: oklch(0.191 0.024 117.923);
  --secondary: oklch(0.464 0.149 288.42);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.464 0.149 288.42);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.493 0.134 43.934);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.688 0.124 119.264);
  --chart-1: oklch(0.688 0.124 119.264);
  --chart-2: oklch(0.464 0.149 288.42);
  --chart-3: oklch(0.464 0.149 288.42);
  --chart-4: oklch(0.485 0.156 288.353);
  --chart-5: oklch(0.697 0.131 119.48);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.015 116.042);
  --foreground: oklch(0.986 0.002 115.614);
  --muted: oklch(0.191 0.018 293.835);
  --muted-foreground: oklch(0.704 0.005 295.435);
  --popover: oklch(0.145 0.017 116.183);
  --popover-foreground: oklch(0.993 0.001 115.596);
  --card: oklch(0.145 0.017 116.183);
  --card-foreground: oklch(0.993 0.001 115.596);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.688 0.124 119.264);
  --primary-foreground: oklch(0.191 0.024 117.923);
  --secondary: oklch(0.464 0.149 288.42);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.464 0.149 288.42);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.604 0.168 43.46);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.688 0.124 119.264);
  --chart-1: oklch(0.688 0.124 119.264);
  --chart-2: oklch(0.464 0.149 288.42);
  --chart-3: oklch(0.464 0.149 288.42);
  --chart-4: oklch(0.485 0.156 288.353);
  --chart-5: oklch(0.697 0.131 119.48);
}