Vineyard is a shadcn/ui theme built around a red primary color (#ad302e) with orange accents (#ad702e). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#ad302e) on a red-tinted background (#0d0707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0707black |
| Foreground | #040101black | #ffffffwhite |
| Card | #fcfcfcsnow | #110909black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0d0707black |
| Popover foreground | #040101black | #ffffffwhite |
| Primary | #ad302ebrown | #ad302ebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ad2e6cmediumvioletred | #ad2e6cmediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7dae0gainsboro | #25181eblack |
| Muted foreground | #674c59dimgray | #b398a5darkgray |
| Accent | #ad702esienna | #ad702esienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6d0f08maroon | #f0493dtomato |
| Destructive foreground | #f9b3aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ad302ebrown | #ad302ebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.19:1 | AA |
| Muted text | 5.63:1 | AA |
| Accent | 4.09:1 | AA Large |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.96:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.19:1 | AA |
| Muted text | 6.45:1 | AA |
| Accent | 4.09:1 | AA Large |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Vineyard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.08 0.018 23.904);
--muted: oklch(0.901 0.016 346.47);
--muted-foreground: oklch(0.449 0.041 348.303);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.08 0.018 23.904);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.502 0.162 26.003);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.515 0.172 355.5);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.112 64.194);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.346 0.128 29.54);
--destructive-foreground: oklch(0.832 0.082 23.576);
--ring: oklch(0.502 0.162 26.003);
--chart-1: oklch(0.502 0.162 26.003);
--chart-2: oklch(0.515 0.172 355.5);
--chart-3: oklch(0.598 0.112 64.194);
--chart-4: oklch(0.541 0.181 355.579);
--chart-5: oklch(0.504 0.169 26.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.011 19.932);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.022 348.436);
--muted-foreground: oklch(0.709 0.036 347.33);
--popover: oklch(0.139 0.011 19.932);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.014 19.957);
--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.502 0.162 26.003);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.515 0.172 355.5);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.112 64.194);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.643 0.206 28.383);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.502 0.162 26.003);
--chart-1: oklch(0.502 0.162 26.003);
--chart-2: oklch(0.515 0.172 355.5);
--chart-3: oklch(0.598 0.112 64.194);
--chart-4: oklch(0.541 0.181 355.579);
--chart-5: oklch(0.504 0.169 26.427);
}