Irresponsible for shadcn/ui

Irresponsible is a shadcn/ui theme built around a neutral gray primary color (#a0aba1) with muted light green accents (#e6eae6). The light mode uses a neutral background (#fbfefb). Dark mode keeps the neutral gray primary (#a0aba1) on a green-tinted background (#041005).

Color palette

TokenLightDark
Background
#fbfefbwhite
#041005black
Foreground
#031104black
#fcfdfcwhite
Card
#f7fdf7mintcream
#051406black
Card foreground
#030d03black
#ffffffwhite
Popover
#fbfefbwhite
#041005black
Popover foreground
#031104black
#fcfdfcwhite
Primary
#a0aba1darkgray
#a0aba1darkgray
Primary foreground
#0c0e0cblack
#0c0e0cblack
Secondary
#e6eae6gainsboro
#282928darkslategray
Secondary foreground
#49554adarkslategray
#c1c2c1silver
Muted
#eaecealinen
#131514black
Muted foreground
#444644darkslategray
#b9bbbasilver
Accent
#e6eae6gainsboro
#282928darkslategray
Accent foreground
#49554adarkslategray
#c1c2c1silver
Destructive
#c40e0efirebrick
#ef1a1acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a0aba1darkgray
#a0aba1darkgray

Contrast

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

Light mode
Text on background19.03:1AAA
Text on card19.13:1AAA
Primary button8.16:1AAA
Secondary button6.44:1AA
Muted text7.99:1AAA
Accent6.44:1AA
Destructive6.17:1AA
Dark mode
Text on background19.02:1AAA
Text on card18.90:1AAA
Primary button8.16:1AAA
Secondary button8.14:1AAA
Muted text9.47:1AAA
Accent8.14:1AAA
Destructive4.34:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 147.497);
  --foreground: oklch(0.159 0.036 145.611);
  --muted: oklch(0.94 0.003 147.511);
  --muted-foreground: oklch(0.391 0.003 147.475);
  --popover: oklch(0.994 0.005 147.497);
  --popover-foreground: oklch(0.159 0.036 145.611);
  --card: oklch(0.988 0.01 147.447);
  --card-foreground: oklch(0.142 0.031 145.838);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.73 0.019 147.291);
  --primary-foreground: oklch(0.159 0.004 147.301);
  --secondary: oklch(0.933 0.006 147.482);
  --secondary-foreground: oklch(0.436 0.025 146.963);
  --accent: oklch(0.933 0.006 147.482);
  --accent-foreground: oklch(0.436 0.025 146.963);
  --destructive: oklch(0.518 0.207 28.627);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.019 147.291);
  --chart-1: oklch(0.73 0.019 147.291);
  --chart-2: oklch(0.933 0.006 147.482);
  --chart-3: oklch(0.933 0.006 147.482);
  --chart-4: oklch(0.955 0.004 147.505);
  --chart-5: oklch(0.733 0.028 147.163);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.031 145.847);
  --foreground: oklch(0.993 0.002 147.529);
  --muted: oklch(0.195 0.005 147.292);
  --muted-foreground: oklch(0.79 0.002 147.517);
  --popover: oklch(0.157 0.031 145.847);
  --popover-foreground: oklch(0.993 0.002 147.529);
  --card: oklch(0.173 0.036 145.577);
  --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.73 0.019 147.291);
  --primary-foreground: oklch(0.159 0.004 147.301);
  --secondary: oklch(0.281 0.002 147.482);
  --secondary-foreground: oklch(0.814 0.002 147.521);
  --accent: oklch(0.281 0.002 147.482);
  --accent-foreground: oklch(0.814 0.002 147.521);
  --destructive: oklch(0.605 0.238 28.311);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.019 147.291);
  --chart-1: oklch(0.73 0.019 147.291);
  --chart-2: oklch(0.281 0.002 147.482);
  --chart-3: oklch(0.281 0.002 147.482);
  --chart-4: oklch(0.312 0.002 147.48);
  --chart-5: oklch(0.733 0.028 147.163);
}