Irresponsible is a shadcn/ui theme built around a deep teal primary color (#0a1511) with deep yellow accents (#15110a). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#0a1511) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #020806black | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #020806black | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #020806black | #fcfdfdwhite |
| Primary | #0a1511black | #0a1511black |
| Primary foreground | #8ac7b4mediumaquamarine | #8ac7b4mediumaquamarine |
| Secondary | #110a15black | #110a15black |
| Secondary foreground | #b48ac7darkgray | #b48ac7darkgray |
| Muted | #ddd6e0gainsboro | #261f29darkslategray |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #15110ablack | #15110ablack |
| Accent foreground | #c7b48atan | #c7b48atan |
| Destructive | #9d0402darkred | #fd2e2bcrimson |
| Destructive foreground | #ffd2d2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a1511black | #0a1511black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 9.68:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 4.57:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 6.30:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 9.68:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 6.22:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 3.74: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.125 0.016 176.849);
--muted: oklch(0.885 0.015 315.959);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.016 176.849);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.016 176.849);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.183 0.017 173.526);
--primary-foreground: oklch(0.782 0.068 173.802);
--secondary: oklch(0.16 0.025 315.437);
--secondary-foreground: oklch(0.695 0.098 315.499);
--accent: oklch(0.181 0.015 87.461);
--accent-foreground: oklch(0.776 0.061 87.504);
--destructive: oklch(0.438 0.177 29.352);
--destructive-foreground: oklch(0.902 0.05 19.261);
--ring: oklch(0.183 0.017 173.526);
--chart-1: oklch(0.183 0.017 173.526);
--chart-2: oklch(0.16 0.025 315.437);
--chart-3: oklch(0.181 0.015 87.461);
--chart-4: oklch(0.192 0.036 315.305);
--chart-5: oklch(0.184 0.018 173.275);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 176.611);
--muted: oklch(0.25 0.021 315.72);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 176.611);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 176.611);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.183 0.017 173.526);
--primary-foreground: oklch(0.782 0.068 173.802);
--secondary: oklch(0.16 0.025 315.437);
--secondary-foreground: oklch(0.695 0.098 315.499);
--accent: oklch(0.181 0.015 87.461);
--accent-foreground: oklch(0.776 0.061 87.504);
--destructive: oklch(0.642 0.239 27.869);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.183 0.017 173.526);
--chart-1: oklch(0.183 0.017 173.526);
--chart-2: oklch(0.16 0.025 315.437);
--chart-3: oklch(0.181 0.015 87.461);
--chart-4: oklch(0.192 0.036 315.305);
--chart-5: oklch(0.184 0.018 173.275);
}