Hungry is a shadcn/ui theme built around a red primary color (#d54944) with orange accents (#d59144). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#d54944) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080202black |
| Foreground | #0c0303black | #fcf8f8snow |
| Card | #ffffffwhite | #080202black |
| Card foreground | #0c0303black | #fcf8f8snow |
| Popover | #ffffffwhite | #080202black |
| Popover foreground | #0c0303black | #fcf8f8snow |
| Primary | #d54944indianred | #d54944indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d54487palevioletred | #d54487palevioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8c9d8thistle | #361725black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #d59144peru | #d59144peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #982401darkred | #f43a01orangered |
| Destructive foreground | #ffd8ccbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d54944indianred | #d54944indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 4.20:1 | AA Large |
| Muted text | 4.98:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 4.20:1 | AA Large |
| Muted text | 7.01:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Hungry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.022 24.139);
--muted: oklch(0.867 0.039 348.085);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.022 24.139);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.022 24.139);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.598 0.177 25.941);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.609 0.19 355.618);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.71 0.123 66.933);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.448 0.157 34.926);
--destructive-foreground: oklch(0.912 0.046 37.598);
--ring: oklch(0.598 0.177 25.941);
--chart-1: oklch(0.598 0.177 25.941);
--chart-2: oklch(0.609 0.19 355.618);
--chart-3: oklch(0.71 0.123 66.933);
--chart-4: oklch(0.63 0.18 354.571);
--chart-5: oklch(0.6 0.184 26.289);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.017 23.455);
--foreground: oklch(0.982 0.004 19.665);
--muted: oklch(0.254 0.053 352.184);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.105 0.017 23.455);
--popover-foreground: oklch(0.982 0.004 19.665);
--card: oklch(0.105 0.017 23.455);
--card-foreground: oklch(0.982 0.004 19.665);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.598 0.177 25.941);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.609 0.19 355.618);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.71 0.123 66.933);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.631 0.227 33.956);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.598 0.177 25.941);
--chart-1: oklch(0.598 0.177 25.941);
--chart-2: oklch(0.609 0.19 355.618);
--chart-3: oklch(0.71 0.123 66.933);
--chart-4: oklch(0.63 0.18 354.571);
--chart-5: oklch(0.6 0.184 26.289);
}