Vintner Ostrich is a shadcn/ui theme built around a muted purple primary color (#6a5367) with muted pink accents (#6a535c). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the muted purple primary (#6a5367) on a purple-tinted background (#0e060d).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0e060dblack |
| Foreground | #080307black | #ffffffwhite |
| Card | #fdfcfdwhite | #0e060dblack |
| Card foreground | #080307black | #ffffffwhite |
| Popover | #fdfcfdwhite | #0e060dblack |
| Popover foreground | #080307black | #ffffffwhite |
| Primary | #6a5367dimgray | #6a5367dimgray |
| Primary foreground | #f8f6f8whitesmoke | #f8f6f8whitesmoke |
| Secondary | #61536adimgray | #61536adimgray |
| Secondary foreground | #f8f6f8whitesmoke | #f8f6f8whitesmoke |
| Muted | #e1dce5gainsboro | #1f1a23black |
| Muted foreground | #605766dimgray | #a299a8darkgray |
| Accent | #6a535cdimgray | #6a535cdimgray |
| Accent foreground | #f8f6f7whitesmoke | #f8f6f7whitesmoke |
| Destructive | #672209maroon | #e64c14orangered |
| Destructive foreground | #f8bfablightpink | #ffffffwhite |
| Border | #efeceewhitesmoke | #1f1a1eblack |
| Input | #efeceewhitesmoke | #1f1a1eblack |
| Ring | #6a5367dimgray | #6a5367dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 6.62:1 | AA |
| Muted text | 5.10:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 7.18:1 | AAA |
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 6.62:1 | AA |
| Muted text | 6.20:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Vintner Ostrich in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 328.623);
--foreground: oklch(0.109 0.022 329.717);
--muted: oklch(0.901 0.013 312.252);
--muted-foreground: oklch(0.47 0.026 311.941);
--popover: oklch(0.992 0.003 328.623);
--popover-foreground: oklch(0.109 0.022 329.717);
--card: oklch(0.992 0.003 328.623);
--card-foreground: oklch(0.109 0.022 329.717);
--border: oklch(0.945 0.005 328.653);
--input: oklch(0.945 0.005 328.653);
--primary: oklch(0.473 0.043 329.554);
--primary-foreground: oklch(0.976 0.003 328.626);
--secondary: oklch(0.464 0.04 311.723);
--secondary-foreground: oklch(0.976 0.003 312.338);
--accent: oklch(0.469 0.033 352.523);
--accent-foreground: oklch(0.976 0.002 350.687);
--destructive: oklch(0.355 0.105 38.425);
--destructive-foreground: oklch(0.851 0.071 40.892);
--ring: oklch(0.473 0.043 329.554);
--chart-1: oklch(0.473 0.043 329.554);
--chart-2: oklch(0.464 0.04 311.723);
--chart-3: oklch(0.469 0.033 352.523);
--chart-4: oklch(0.49 0.042 311.717);
--chart-5: oklch(0.471 0.054 329.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.021 329.921);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.018 311.777);
--muted-foreground: oklch(0.696 0.024 312.102);
--popover: oklch(0.14 0.021 329.921);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.021 329.921);
--card-foreground: oklch(1 0 180);
--border: oklch(0.224 0.012 329.151);
--input: oklch(0.224 0.012 329.151);
--primary: oklch(0.473 0.043 329.554);
--primary-foreground: oklch(0.976 0.003 328.626);
--secondary: oklch(0.464 0.04 311.723);
--secondary-foreground: oklch(0.976 0.003 312.338);
--accent: oklch(0.469 0.033 352.523);
--accent-foreground: oklch(0.976 0.002 350.687);
--destructive: oklch(0.626 0.199 37.314);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.473 0.043 329.554);
--chart-1: oklch(0.473 0.043 329.554);
--chart-2: oklch(0.464 0.04 311.723);
--chart-3: oklch(0.469 0.033 352.523);
--chart-4: oklch(0.49 0.042 311.717);
--chart-5: oklch(0.471 0.054 329.785);
}