Angry for shadcn/ui

Angry is a shadcn/ui theme built around a light yellow primary color (#faf7f0) with light green accents (#f8faf0). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the light yellow primary (#faf7f0) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fcfbf8snow
#070603black
Foreground
#100c04black
#ffffffwhite
Card
#faf8f4whitesmoke
#0b0905black
Card foreground
#0c0903black
#ffffffwhite
Popover
#faf8f4whitesmoke
#0b0905black
Popover foreground
#0c0903black
#ffffffwhite
Primary
#faf7f0seashell
#faf7f0seashell
Primary foreground
#3e3014darkslategray
#3e3014darkslategray
Secondary
#faf2f0seashell
#faf2f0seashell
Secondary foreground
#8b3e2dsaddlebrown
#8b3e2dsaddlebrown
Muted
#eddcd9gainsboro
#261512black
Muted foreground
#65524edimgray
#b19e9adarkgray
Accent
#f8faf0floralwhite
#f8faf0floralwhite
Accent foreground
#363e14darkolivegreen
#363e14darkolivegreen
Destructive
#d00401red
#fe2320crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#faf7f0seashell
#faf7f0seashell

Contrast

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

Light mode
Text on background18.80:1AAA
Text on card18.82:1AAA
Primary button11.95:1AAA
Secondary button6.71:1AA
Muted text5.53:1AA
Accent10.73:1AAA
Destructive5.67:1AA
Dark mode
Text on background20.26:1AAA
Text on card19.92:1AAA
Primary button11.95:1AAA
Secondary button6.71:1AA
Muted text6.83:1AA
Accent10.73:1AAA
Destructive3.83: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.987 0.004 86.022);
  --foreground: oklch(0.158 0.019 88.627);
  --muted: oklch(0.908 0.019 32.676);
  --muted-foreground: oklch(0.456 0.026 32.792);
  --popover: oklch(0.981 0.006 86.03);
  --popover-foreground: oklch(0.142 0.017 91.26);
  --card: oklch(0.981 0.006 86.03);
  --card-foreground: oklch(0.142 0.017 91.26);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.976 0.01 86.045);
  --primary-foreground: oklch(0.319 0.047 84.635);
  --secondary: oklch(0.966 0.01 32.662);
  --secondary-foreground: oklch(0.462 0.109 34.026);
  --accent: oklch(0.981 0.014 115.084);
  --accent-foreground: oklch(0.345 0.063 118.577);
  --destructive: oklch(0.54 0.22 29.359);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.976 0.01 86.045);
  --chart-1: oklch(0.976 0.01 86.045);
  --chart-2: oklch(0.966 0.01 32.662);
  --chart-3: oklch(0.981 0.014 115.084);
  --chart-4: oklch(0.991 0.002 32.661);
  --chart-5: oklch(0.976 0.011 86.047);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.01 90.37);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.22 0.029 33.262);
  --muted-foreground: oklch(0.716 0.023 32.7);
  --popover: oklch(0.139 0.012 90.254);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.012 90.254);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.976 0.01 86.045);
  --primary-foreground: oklch(0.319 0.047 84.635);
  --secondary: oklch(0.966 0.01 32.662);
  --secondary-foreground: oklch(0.462 0.109 34.026);
  --accent: oklch(0.981 0.014 115.084);
  --accent-foreground: oklch(0.345 0.063 118.577);
  --destructive: oklch(0.637 0.246 28.449);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.976 0.01 86.045);
  --chart-1: oklch(0.976 0.01 86.045);
  --chart-2: oklch(0.966 0.01 32.662);
  --chart-3: oklch(0.981 0.014 115.084);
  --chart-4: oklch(0.991 0.002 32.661);
  --chart-5: oklch(0.976 0.011 86.047);
}