Ingrate is a shadcn/ui theme built around a muted deep red primary color (#342928) with muted light red accents (#d6cdcc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#342928) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080302black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080302black | #ffffffwhite |
| Primary | #342928darkslategray | #342928darkslategray |
| Primary foreground | #cec1c0silver | #cec1c0silver |
| Secondary | #d6cdcclightgrey | #181616black |
| Secondary foreground | #3e3332darkslategray | #b3aeaddarkgray |
| Muted | #f5f0efwhitesmoke | #100b0ablack |
| Muted foreground | #755a57dimgray | #a88d8arosybrown |
| Accent | #d6cdcclightgrey | #181616black |
| Accent foreground | #3e3332darkslategray | #b3aeaddarkgray |
| Destructive | #9d1307darkred | #f5220fred |
| Destructive foreground | #fddbd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #342928darkslategray | #342928darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.50:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 5.54:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Ingrate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.107 0.017 32.67);
--muted: oklch(0.959 0.005 26.478);
--muted-foreground: oklch(0.495 0.036 27.102);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.107 0.017 32.67);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.085 0.014 32.67);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.294 0.016 26.897);
--primary-foreground: oklch(0.822 0.015 26.567);
--secondary: oklch(0.856 0.01 26.521);
--secondary-foreground: oklch(0.334 0.016 26.831);
--accent: oklch(0.856 0.01 26.521);
--accent-foreground: oklch(0.334 0.016 26.831);
--destructive: oklch(0.444 0.171 30.145);
--destructive-foreground: oklch(0.919 0.039 24.039);
--ring: oklch(0.294 0.016 26.897);
--chart-1: oklch(0.294 0.016 26.897);
--chart-2: oklch(0.856 0.01 26.521);
--chart-3: oklch(0.856 0.01 26.521);
--chart-4: oklch(0.88 0.008 26.504);
--chart-5: oklch(0.292 0.02 27.04);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.154 0.009 26.898);
--muted-foreground: oklch(0.668 0.033 26.851);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.294 0.016 26.897);
--primary-foreground: oklch(0.822 0.015 26.567);
--secondary: oklch(0.203 0.003 26.529);
--secondary-foreground: oklch(0.754 0.006 26.498);
--accent: oklch(0.203 0.003 26.529);
--accent-foreground: oklch(0.754 0.006 26.498);
--destructive: oklch(0.619 0.24 30.081);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.294 0.016 26.897);
--chart-1: oklch(0.294 0.016 26.897);
--chart-2: oklch(0.203 0.003 26.529);
--chart-3: oklch(0.203 0.003 26.529);
--chart-4: oklch(0.236 0.003 26.539);
--chart-5: oklch(0.292 0.02 27.04);
}