Irresponsible is a shadcn/ui theme built around a deep orange primary color (#311d11) with muted light orange accents (#d0beb3). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#311d11) on an orange-tinted background (#0f0905).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0905black |
| Foreground | #090401black | #faf7f5whitesmoke |
| Card | #fcfcfcsnow | #130b06black |
| Card foreground | #040201black | #fcf9f8snow |
| Popover | #fcfcfcsnow | #130b06black |
| Popover foreground | #040201black | #fcf9f8snow |
| Primary | #311d11black | #311d11black |
| Primary foreground | #dcb198tan | #dcb198tan |
| Secondary | #d8cfcblightgrey | #302a27darkslategray |
| Secondary foreground | #403630darkslategray | #cbc3besilver |
| Muted | #f4efeclinen | #130e0bblack |
| Muted foreground | #6a5f58dimgray | #a79c95darkgray |
| Accent | #d0beb3silver | #42352edarkslategray |
| Accent foreground | #33261fdarkslategray | #d9cfc9lightgrey |
| Destructive | #721b08maroon | #f0512dtomato |
| Destructive foreground | #fac0b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #311d11black | #311d11black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 18.54:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.53: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.115 0.017 63.824);
--muted: oklch(0.954 0.007 52.484);
--muted-foreground: oklch(0.493 0.017 52.119);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.091 0.013 63.824);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.091 0.013 63.824);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.254 0.039 50.374);
--primary-foreground: oklch(0.793 0.06 51.61);
--secondary: oklch(0.861 0.011 52.406);
--secondary-foreground: oklch(0.342 0.017 51.932);
--accent: oklch(0.814 0.026 52.164);
--accent-foreground: oklch(0.282 0.023 51.551);
--destructive: oklch(0.368 0.124 33.653);
--destructive-foreground: oklch(0.856 0.07 32.915);
--ring: oklch(0.254 0.039 50.374);
--chart-1: oklch(0.254 0.039 50.374);
--chart-2: oklch(0.861 0.011 52.406);
--chart-3: oklch(0.814 0.026 52.164);
--chart-4: oklch(0.884 0.009 52.439);
--chart-5: oklch(0.254 0.041 50.183);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.015 57.071);
--foreground: oklch(0.977 0.004 52.519);
--muted: oklch(0.17 0.01 51.798);
--muted-foreground: oklch(0.7 0.016 52.279);
--popover: oklch(0.159 0.018 53.747);
--popover-foreground: oklch(0.985 0.003 52.54);
--card: oklch(0.159 0.018 53.747);
--card-foreground: oklch(0.985 0.003 52.54);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.254 0.039 50.374);
--primary-foreground: oklch(0.793 0.06 51.61);
--secondary: oklch(0.291 0.011 52.094);
--secondary-foreground: oklch(0.821 0.011 52.395);
--accent: oklch(0.342 0.022 51.751);
--accent-foreground: oklch(0.861 0.014 52.358);
--destructive: oklch(0.65 0.202 34.016);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.254 0.039 50.374);
--chart-1: oklch(0.254 0.039 50.374);
--chart-2: oklch(0.291 0.011 52.094);
--chart-3: oklch(0.342 0.022 51.751);
--chart-4: oklch(0.321 0.013 52.076);
--chart-5: oklch(0.254 0.041 50.183);
}