Drinking is a shadcn/ui theme built around an orange primary color (#e1ac6b) with muted light orange accents (#d5cfc8). The light mode uses a neutral background (#fefdfb). Dark mode keeps the orange primary (#e1ac6b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #090502black | #fdfcfcsnow |
| Card | #fdfaf7snow | #030303black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #fdfaf7snow | #030303black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #e1ac6bsandybrown | #e1ac6bsandybrown |
| Primary foreground | #150e04black | #150e04black |
| Secondary | #e2e1dfgainsboro | #161513black |
| Secondary foreground | #4b4844darkslategray | #b2aea9darkgray |
| Muted | #f2f0eewhitesmoke | #110f0dblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #d5cfc8lightgrey | #322c25darkslategray |
| Accent foreground | #3d362fdarkslategray | #cdc5bcsilver |
| Destructive | #7a2005maroon | #f54c19orangered |
| Destructive foreground | #fcc6b6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1ac6bsandybrown | #e1ac6bsandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 6.93:1 | AA |
| Muted text | 5.69:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 7.38:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Drinking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 73.201);
--foreground: oklch(0.121 0.016 82.106);
--muted: oklch(0.955 0.003 73.194);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.987 0.005 73.183);
--popover-foreground: oklch(0.096 0.013 82.106);
--card: oklch(0.987 0.005 73.183);
--card-foreground: oklch(0.096 0.013 82.106);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.778 0.103 70.917);
--primary-foreground: oklch(0.169 0.023 74.493);
--secondary: oklch(0.909 0.003 73.197);
--secondary-foreground: oklch(0.403 0.008 73.067);
--accent: oklch(0.858 0.011 73.118);
--accent-foreground: oklch(0.338 0.016 72.79);
--destructive: oklch(0.389 0.129 35.737);
--destructive-foreground: oklch(0.87 0.066 37.594);
--ring: oklch(0.778 0.103 70.917);
--chart-1: oklch(0.778 0.103 70.917);
--chart-2: oklch(0.909 0.003 73.197);
--chart-3: oklch(0.858 0.011 73.118);
--chart-4: oklch(0.932 0.002 73.203);
--chart-5: oklch(0.781 0.107 70.733);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 73.214);
--muted: oklch(0.172 0.005 72.981);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.092 0 180);
--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.778 0.103 70.917);
--primary-foreground: oklch(0.169 0.023 74.493);
--secondary: oklch(0.194 0.003 73.092);
--secondary-foreground: oklch(0.753 0.009 73.127);
--accent: oklch(0.297 0.015 72.736);
--accent-foreground: oklch(0.828 0.016 73.067);
--destructive: oklch(0.652 0.213 35.725);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.778 0.103 70.917);
--chart-1: oklch(0.778 0.103 70.917);
--chart-2: oklch(0.194 0.003 73.092);
--chart-3: oklch(0.297 0.015 72.736);
--chart-4: oklch(0.228 0.004 73.074);
--chart-5: oklch(0.781 0.107 70.733);
}