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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 7.99:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.17:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 9.47:1 | AAA |
| Accent | 8.14:1 | AAA |
| Destructive | 4.34:1 | AA Large |
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);
}