Winery is a shadcn/ui theme built around a pink primary color (#801e49) with muted light pink accents (#e5e0e3). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#801e49) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #040102black |
| Foreground | #16030bblack | #fdfcfcsnow |
| Card | #fefbfcsnow | #040102black |
| Card foreground | #16030bblack | #fdfcfcsnow |
| Popover | #fefbfcsnow | #040102black |
| Popover foreground | #16030bblack | #fdfcfcsnow |
| Primary | #801e49brown | #801e49brown |
| Primary foreground | #f6dae6mistyrose | #f6dae6mistyrose |
| Secondary | #e5e0e3gainsboro | #332e30darkslategray |
| Secondary foreground | #514349darkslategray | #ccc7c9silver |
| Muted | #e3d4dagainsboro | #2b1c23black |
| Muted foreground | #514349darkslategray | #bcaeb4silver |
| Accent | #e5e0e3gainsboro | #332e30darkslategray |
| Accent foreground | #514349darkslategray | #ccc7c9silver |
| Destructive | #d51601red | #fe4834tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #801e49brown | #801e49brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 5.31:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Winery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 348.821);
--foreground: oklch(0.144 0.042 352.973);
--muted: oklch(0.883 0.019 349.311);
--muted-foreground: oklch(0.4 0.02 350.096);
--popover: oklch(0.991 0.003 348.821);
--popover-foreground: oklch(0.144 0.042 352.973);
--card: oklch(0.991 0.003 348.821);
--card-foreground: oklch(0.144 0.042 352.973);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.409 0.137 358.989);
--primary-foreground: oklch(0.915 0.035 349.774);
--secondary: oklch(0.913 0.006 348.922);
--secondary-foreground: oklch(0.4 0.02 350.096);
--accent: oklch(0.913 0.006 348.922);
--accent-foreground: oklch(0.4 0.02 350.096);
--destructive: oklch(0.555 0.219 30.382);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.409 0.137 358.989);
--chart-1: oklch(0.409 0.137 358.989);
--chart-2: oklch(0.913 0.006 348.922);
--chart-3: oklch(0.913 0.006 348.922);
--chart-4: oklch(0.937 0.004 348.866);
--chart-5: oklch(0.412 0.142 359.563);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.015 348.411);
--foreground: oklch(0.991 0.002 348.79);
--muted: oklch(0.249 0.026 351.462);
--muted-foreground: oklch(0.765 0.017 349.347);
--popover: oklch(0.084 0.015 348.411);
--popover-foreground: oklch(0.991 0.002 348.79);
--card: oklch(0.084 0.015 348.411);
--card-foreground: oklch(0.991 0.002 348.79);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.409 0.137 358.989);
--primary-foreground: oklch(0.915 0.035 349.774);
--secondary: oklch(0.307 0.008 349.431);
--secondary-foreground: oklch(0.834 0.007 348.957);
--accent: oklch(0.307 0.008 349.431);
--accent-foreground: oklch(0.834 0.007 348.957);
--destructive: oklch(0.664 0.221 30.185);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.409 0.137 358.989);
--chart-1: oklch(0.409 0.137 358.989);
--chart-2: oklch(0.307 0.008 349.431);
--chart-3: oklch(0.307 0.008 349.431);
--chart-4: oklch(0.337 0.009 349.453);
--chart-5: oklch(0.412 0.142 359.563);
}