Hungry is a shadcn/ui theme built around a near-black primary color (#040103) with neutral gray accents (#e7e4e6). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the near-black primary (#040103) on a pink-tinted background (#0b0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0b0508black |
| Foreground | #090106black | #fcf8fasnow |
| Card | #fcf8fbsnow | #0b0508black |
| Card foreground | #090106black | #fcf8fasnow |
| Popover | #fcf8fbsnow | #0b0508black |
| Popover foreground | #090106black | #fcf8fasnow |
| Primary | #040103black | #040103black |
| Primary foreground | #de59adpalevioletred | #de59adpalevioletred |
| Secondary | #e7e4e6gainsboro | #2d2a2cdarkslategray |
| Secondary foreground | #50494ddarkslategray | #c7c2c5silver |
| Muted | #f0e0eamistyrose | #1f0f19black |
| Muted foreground | #6a5863dimgray | #a795a0darkgray |
| Accent | #e7e4e6gainsboro | #2d2a2cdarkslategray |
| Accent foreground | #50494ddarkslategray | #c7c2c5silver |
| Destructive | #c42f0efirebrick | #f26140tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040103black | #040103black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.20:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 5.60:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 6.54:1 | AA |
Paste this into your globals.css to use Hungry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 338.857);
--foreground: oklch(0.103 0.031 339.105);
--muted: oklch(0.923 0.021 339.196);
--muted-foreground: oklch(0.482 0.028 339.931);
--popover: oklch(0.982 0.006 338.857);
--popover-foreground: oklch(0.103 0.031 339.105);
--card: oklch(0.982 0.006 338.857);
--card-foreground: oklch(0.103 0.031 339.105);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.083 0.021 339.049);
--primary-foreground: oklch(0.661 0.189 344.584);
--secondary: oklch(0.922 0.003 338.784);
--secondary-foreground: oklch(0.414 0.01 339.243);
--accent: oklch(0.922 0.003 338.784);
--accent-foreground: oklch(0.414 0.01 339.243);
--destructive: oklch(0.538 0.189 33.195);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.083 0.021 339.049);
--chart-1: oklch(0.083 0.021 339.049);
--chart-2: oklch(0.922 0.003 338.784);
--chart-3: oklch(0.922 0.003 338.784);
--chart-4: oklch(0.946 0.002 338.764);
--chart-5: oklch(0.083 0.022 339.065);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.016 338.924);
--foreground: oklch(0.983 0.005 338.836);
--muted: oklch(0.196 0.031 341.831);
--muted-foreground: oklch(0.69 0.026 339.503);
--popover: oklch(0.126 0.016 338.924);
--popover-foreground: oklch(0.983 0.005 338.836);
--card: oklch(0.126 0.016 338.924);
--card-foreground: oklch(0.983 0.005 338.836);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.083 0.021 339.049);
--primary-foreground: oklch(0.661 0.189 344.584);
--secondary: oklch(0.288 0.006 339.188);
--secondary-foreground: oklch(0.819 0.007 338.892);
--accent: oklch(0.288 0.006 339.188);
--accent-foreground: oklch(0.819 0.007 338.892);
--destructive: oklch(0.673 0.185 34.153);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.083 0.021 339.049);
--chart-1: oklch(0.083 0.021 339.049);
--chart-2: oklch(0.288 0.006 339.188);
--chart-3: oklch(0.288 0.006 339.188);
--chart-4: oklch(0.318 0.007 339.205);
--chart-5: oklch(0.083 0.022 339.065);
}