Angry for shadcn/ui

Angry is a shadcn/ui theme built around a deep green primary color (#417916) with muted light green accents (#cbd5c3). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#417916) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#fcfefbwhite
#020401black
Foreground
#070d03black
#fafaf9snow
Card
#fcfefbwhite
#020401black
Card foreground
#070d03black
#fafaf9snow
Popover
#fcfefbwhite
#020401black
Popover foreground
#070d03black
#fafaf9snow
Primary
#417916darkolivegreen
#417916darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cbd5c3lightgrey
#20271bblack
Secondary foreground
#323c2adarkslategray
#b8c7adsilver
Muted
#e7eee2beige
#161d11black
Muted foreground
#444c3edarkslategray
#b9c1b3silver
Accent
#cbd5c3lightgrey
#20271bblack
Accent foreground
#323c2adarkslategray
#b8c7adsilver
Destructive
#921f02darkred
#fb3909orangered
Destructive foreground
#fed3c8peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#417916darkolivegreen
#417916darkolivegreen

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button5.31:1AA
Secondary button7.63:1AAA
Muted text7.55:1AAA
Accent7.63:1AAA
Destructive6.36:1AA
Dark mode
Text on background19.69:1AAA
Text on card19.69:1AAA
Primary button5.31:1AA
Secondary button8.59:1AAA
Muted text9.31:1AAA
Accent8.59:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 131.123);
  --foreground: oklch(0.146 0.026 129.833);
  --muted: oklch(0.941 0.017 131.248);
  --muted-foreground: oklch(0.404 0.025 131.638);
  --popover: oklch(0.995 0.004 131.123);
  --popover-foreground: oklch(0.146 0.026 129.833);
  --card: oklch(0.995 0.004 131.123);
  --card-foreground: oklch(0.146 0.026 129.833);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.517 0.14 135.218);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.861 0.027 131.367);
  --secondary-foreground: oklch(0.342 0.034 132.022);
  --accent: oklch(0.861 0.027 131.367);
  --accent-foreground: oklch(0.342 0.034 132.022);
  --destructive: oklch(0.431 0.154 33.721);
  --destructive-foreground: oklch(0.9 0.051 34.353);
  --ring: oklch(0.517 0.14 135.218);
  --chart-1: oklch(0.517 0.14 135.218);
  --chart-2: oklch(0.861 0.027 131.367);
  --chart-3: oklch(0.861 0.027 131.367);
  --chart-4: oklch(0.882 0.023 131.317);
  --chart-5: oklch(0.522 0.144 135.418);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.016 129.688);
  --foreground: oklch(0.986 0.002 131.099);
  --muted: oklch(0.219 0.025 132.157);
  --muted-foreground: oklch(0.801 0.021 131.315);
  --popover: oklch(0.1 0.016 129.688);
  --popover-foreground: oklch(0.986 0.002 131.099);
  --card: oklch(0.1 0.016 129.688);
  --card-foreground: oklch(0.986 0.002 131.099);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.517 0.14 135.218);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.263 0.025 131.972);
  --secondary-foreground: oklch(0.812 0.039 131.521);
  --accent: oklch(0.263 0.025 131.972);
  --accent-foreground: oklch(0.812 0.039 131.521);
  --destructive: oklch(0.644 0.233 33.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.517 0.14 135.218);
  --chart-1: oklch(0.517 0.14 135.218);
  --chart-2: oklch(0.263 0.025 131.972);
  --chart-3: oklch(0.263 0.025 131.972);
  --chart-4: oklch(0.298 0.03 132.024);
  --chart-5: oklch(0.522 0.144 135.418);
}