Village is a shadcn/ui theme built around a muted pink primary color (#a8718c) with muted teal accents (#71a88c). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the muted pink primary (#a8718c) on a pink-tinted background (#0b0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0b0508black |
| Foreground | #000000black | #faf5f7whitesmoke |
| Card | #fbf4f7lavenderblush | #0e060ablack |
| Card foreground | #000000black | #fbf8fasnow |
| Popover | #fbf4f7lavenderblush | #0e060ablack |
| Popover foreground | #000000black | #fbf8fasnow |
| Primary | #a8718crosybrown | #a8718crosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #71a88ccadetblue | #71a88ccadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #d4ece0gainsboro | #132b1fblack |
| Muted foreground | #3e4140darkslategray | #bec1bfsilver |
| Accent | #71a88ccadetblue | #71a88ccadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #7a0800maroon | #ff1b0ared |
| Destructive foreground | #ffb3adlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8718crosybrown | #a8718crosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 5.38:1 | AA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 8.31:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 5.38:1 | AA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 8.35:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Village in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 345.286);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.03 164.268);
--muted-foreground: oklch(0.373 0.004 164.857);
--popover: oklch(0.973 0.008 345.359);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.008 345.359);
--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.613 0.079 348.26);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.685 0.071 162.016);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.071 162.016);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.369 0.146 30.509);
--destructive-foreground: oklch(0.837 0.09 23.722);
--ring: oklch(0.613 0.079 348.26);
--chart-1: oklch(0.613 0.079 348.26);
--chart-2: oklch(0.685 0.071 162.016);
--chart-3: oklch(0.685 0.071 162.016);
--chart-4: oklch(0.706 0.066 162.362);
--chart-5: oklch(0.611 0.088 348.652);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.016 345.061);
--foreground: oklch(0.975 0.006 345.292);
--muted: oklch(0.263 0.038 160.467);
--muted-foreground: oklch(0.807 0.003 165.035);
--popover: oklch(0.138 0.018 346.586);
--popover-foreground: oklch(0.983 0.004 345.242);
--card: oklch(0.138 0.018 346.586);
--card-foreground: oklch(0.983 0.004 345.242);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.613 0.079 348.26);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.685 0.071 162.016);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.071 162.016);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.634 0.252 29.747);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.613 0.079 348.26);
--chart-1: oklch(0.613 0.079 348.26);
--chart-2: oklch(0.685 0.071 162.016);
--chart-3: oklch(0.685 0.071 162.016);
--chart-4: oklch(0.706 0.066 162.362);
--chart-5: oklch(0.611 0.088 348.652);
}