Irresponsible is a shadcn/ui theme built around a blue primary color (#184ca0) with orange accents (#a06c18). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#184ca0) on a neutral background (#020408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020408black |
| Foreground | #010204black | #f8f9fcghostwhite |
| Card | #ffffffwhite | #020408black |
| Card foreground | #010204black | #f8f9fcghostwhite |
| Popover | #ffffffwhite | #020408black |
| Popover foreground | #010204black | #f8f9fcghostwhite |
| Primary | #184ca0darkslateblue | #184ca0darkslateblue |
| Primary foreground | #edf3fcaliceblue | #edf3fcaliceblue |
| Secondary | #a06c18sienna | #a06c18sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2eee8linen | #17130dblack |
| Muted foreground | #504d49darkslategray | #b6b3afdarkgray |
| Accent | #a06c18sienna | #a06c18sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8a0e0adarkred | #ef211acrimson |
| Destructive foreground | #fbcccbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #184ca0darkslateblue | #184ca0darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 4.53:1 | AA |
| Muted text | 7.28:1 | AAA |
| Accent | 4.53:1 | AA |
| Destructive | 6.78:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 4.53:1 | AA |
| Muted text | 8.85:1 | AAA |
| Accent | 4.53:1 | AA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Irresponsible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.087 0.01 252.599);
--muted: oklch(0.951 0.009 79.916);
--muted-foreground: oklch(0.423 0.009 79.886);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.087 0.01 252.599);
--card: oklch(1 0 180);
--card-foreground: oklch(0.087 0.01 252.599);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.434 0.147 259.849);
--primary-foreground: oklch(0.963 0.014 259.945);
--secondary: oklch(0.571 0.113 73.035);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.113 73.035);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.405 0.157 28.929);
--destructive-foreground: oklch(0.886 0.054 20.529);
--ring: oklch(0.434 0.147 259.849);
--chart-1: oklch(0.434 0.147 259.849);
--chart-2: oklch(0.571 0.113 73.035);
--chart-3: oklch(0.571 0.113 73.035);
--chart-4: oklch(0.605 0.121 72.888);
--chart-5: oklch(0.434 0.152 259.957);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.013 252.114);
--foreground: oklch(0.983 0.003 259.938);
--muted: oklch(0.189 0.013 79.533);
--muted-foreground: oklch(0.769 0.007 79.916);
--popover: oklch(0.109 0.013 252.114);
--popover-foreground: oklch(0.983 0.003 259.938);
--card: oklch(0.109 0.013 252.114);
--card-foreground: oklch(0.983 0.003 259.938);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.434 0.147 259.849);
--primary-foreground: oklch(0.963 0.014 259.945);
--secondary: oklch(0.571 0.113 73.035);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.113 73.035);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.609 0.235 28.899);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.434 0.147 259.849);
--chart-1: oklch(0.434 0.147 259.849);
--chart-2: oklch(0.571 0.113 73.035);
--chart-3: oklch(0.571 0.113 73.035);
--chart-4: oklch(0.605 0.121 72.888);
--chart-5: oklch(0.434 0.152 259.957);
}