Aggravating for shadcn/ui

Aggravating is a shadcn/ui theme built around a light green primary color (#f0f7ed) with light pink accents (#f7edf0). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the light green primary (#f0f7ed) on a neutral background (#020402).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#020402black
Foreground
#020501black
#ffffffwhite
Card
#f9fcf8mintcream
#020402black
Card foreground
#020501black
#ffffffwhite
Popover
#f9fcf8mintcream
#020402black
Popover foreground
#020501black
#ffffffwhite
Primary
#f0f7edhoneydew
#f0f7edhoneydew
Primary foreground
#203517darkgreen
#203517darkgreen
Secondary
#edf0f7whitesmoke
#edf0f7whitesmoke
Secondary foreground
#364b7cdarkslateblue
#364b7cdarkslateblue
Muted
#e1e2e5gainsboro
#1a1b1eblack
Muted foreground
#53575fdimgray
#a0a3acdarkgray
Accent
#f7edf0whitesmoke
#f7edf0whitesmoke
Accent foreground
#7c364bbrown
#7c364bbrown
Destructive
#b22401firebrick
#fe481borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0f7edhoneydew
#f0f7edhoneydew

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button12.17:1AAA
Secondary button7.51:1AAA
Muted text5.59:1AA
Accent7.38:1AAA
Destructive6.68:1AA
Dark mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button12.17:1AAA
Secondary button7.51:1AAA
Muted text6.82:1AA
Accent7.38:1AAA
Destructive3.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 136.048);
  --foreground: oklch(0.102 0.023 133.76);
  --muted: oklch(0.913 0.004 267.391);
  --muted-foreground: oklch(0.456 0.015 267.198);
  --popover: oklch(0.988 0.007 136.048);
  --popover-foreground: oklch(0.102 0.023 133.76);
  --card: oklch(0.988 0.007 136.048);
  --card-foreground: oklch(0.102 0.023 133.76);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.969 0.015 136.078);
  --primary-foreground: oklch(0.303 0.057 136.986);
  --secondary: oklch(0.956 0.01 267.358);
  --secondary-foreground: oklch(0.421 0.086 265.361);
  --accent: oklch(0.956 0.011 357);
  --accent-foreground: oklch(0.434 0.099 3.225);
  --destructive: oklch(0.496 0.181 33.254);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.969 0.015 136.078);
  --chart-1: oklch(0.969 0.015 136.078);
  --chart-2: oklch(0.956 0.01 267.358);
  --chart-3: oklch(0.956 0.011 357);
  --chart-4: oklch(0.982 0.004 267.397);
  --chart-5: oklch(0.969 0.016 136.083);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.011 134.891);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.223 0.006 267.229);
  --muted-foreground: oklch(0.716 0.013 267.303);
  --popover: oklch(0.097 0.011 134.891);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.097 0.011 134.891);
  --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.969 0.015 136.078);
  --primary-foreground: oklch(0.303 0.057 136.986);
  --secondary: oklch(0.956 0.01 267.358);
  --secondary-foreground: oklch(0.421 0.086 265.361);
  --accent: oklch(0.956 0.011 357);
  --accent-foreground: oklch(0.434 0.099 3.225);
  --destructive: oklch(0.662 0.224 34.151);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.969 0.015 136.078);
  --chart-1: oklch(0.969 0.015 136.078);
  --chart-2: oklch(0.956 0.01 267.358);
  --chart-3: oklch(0.956 0.011 357);
  --chart-4: oklch(0.982 0.004 267.397);
  --chart-5: oklch(0.969 0.016 136.083);
}