Vintner is a shadcn/ui theme built around a light pink primary color (#f0dbe0) with light blue accents (#dbe0f0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#f0dbe0) on a pink-tinted background (#0e0709).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0709black |
| Foreground | #080204black | #fdfcfcsnow |
| Card | #ffffffwhite | #0e0709black |
| Card foreground | #080204black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0e0709black |
| Popover foreground | #080204black | #fdfcfcsnow |
| Primary | #f0dbe0mistyrose | #f0dbe0mistyrose |
| Primary foreground | #6d2c3dsaddlebrown | #6d2c3dsaddlebrown |
| Secondary | #e0f0dbgainsboro | #e0f0dbgainsboro |
| Secondary foreground | #14240fblack | #14240fblack |
| Muted | #ecf0ealinen | #10150fblack |
| Muted foreground | #51624bdarkolivegreen | #a3b49ddarkgray |
| Accent | #dbe0f0lavender | #dbe0f0lavender |
| Accent foreground | #2c3d6ddarkslategray | #2c3d6ddarkslategray |
| Destructive | #ad2010firebrick | #e52a15orangered |
| Destructive foreground | #fef2f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0dbe0mistyrose | #f0dbe0mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 13.74:1 | AAA |
| Muted text | 5.70:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 13.74:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use Vintner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.105 0.019 358.62);
--muted: oklch(0.951 0.009 137.212);
--muted-foreground: oklch(0.475 0.041 137.413);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.105 0.019 358.62);
--card: oklch(1 0 180);
--card-foreground: oklch(0.105 0.019 358.62);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.909 0.025 359.565);
--primary-foreground: oklch(0.39 0.095 5.939);
--secondary: oklch(0.939 0.034 137.275);
--secondary-foreground: oklch(0.241 0.045 137.856);
--accent: oklch(0.908 0.023 269.899);
--accent-foreground: oklch(0.371 0.086 267.125);
--destructive: oklch(0.484 0.178 30.517);
--destructive-foreground: oklch(0.971 0.012 25.098);
--ring: oklch(0.909 0.025 359.565);
--chart-1: oklch(0.909 0.025 359.565);
--chart-2: oklch(0.939 0.034 137.275);
--chart-3: oklch(0.908 0.023 269.899);
--chart-4: oklch(0.957 0.024 137.248);
--chart-5: oklch(0.909 0.027 359.62);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.014 359.635);
--foreground: oklch(0.991 0.002 358.836);
--muted: oklch(0.188 0.014 137.377);
--muted-foreground: oklch(0.749 0.037 137.309);
--popover: oklch(0.139 0.014 359.635);
--popover-foreground: oklch(0.991 0.002 358.836);
--card: oklch(0.139 0.014 359.635);
--card-foreground: oklch(0.991 0.002 358.836);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.909 0.025 359.565);
--primary-foreground: oklch(0.39 0.095 5.939);
--secondary: oklch(0.939 0.034 137.275);
--secondary-foreground: oklch(0.241 0.045 137.856);
--accent: oklch(0.908 0.023 269.899);
--accent-foreground: oklch(0.371 0.086 267.125);
--destructive: oklch(0.594 0.222 30.517);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.025 359.565);
--chart-1: oklch(0.909 0.025 359.565);
--chart-2: oklch(0.939 0.034 137.275);
--chart-3: oklch(0.908 0.023 269.899);
--chart-4: oklch(0.957 0.024 137.248);
--chart-5: oklch(0.909 0.027 359.62);
}