Vase is a shadcn/ui theme built around a neutral gray primary color (#413940) with neutral gray accents (#39413a). The light mode uses a neutral background (#fefbfe). Dark mode keeps the neutral gray primary (#413940) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #030203black |
| Foreground | #050104black | #fdfcfdwhite |
| Card | #fefbfewhite | #030203black |
| Card foreground | #050104black | #fdfcfdwhite |
| Popover | #fefbfewhite | #030203black |
| Popover foreground | #050104black | #fdfcfdwhite |
| Primary | #413940darkslategray | #413940darkslategray |
| Primary foreground | #d9d3d8lightgrey | #d9d3d8lightgrey |
| Secondary | #39413adarkslategray | #39413adarkslategray |
| Secondary foreground | #d3d9d4lightgrey | #d3d9d4lightgrey |
| Muted | #d9e3dagainsboro | #1c261eblack |
| Muted foreground | #4c5d4fdarkslategray | #a2b3a6darkgray |
| Accent | #39413adarkslategray | #39413adarkslategray |
| Accent foreground | #d3d9d4lightgrey | #d3d9d4lightgrey |
| Destructive | #bf1903firebrick | #fb2509orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #413940darkslategray | #413940darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 5.34:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 7.31:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Vase in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 331.482);
--foreground: oklch(0.083 0.028 332.821);
--muted: oklch(0.906 0.016 151.148);
--muted-foreground: oklch(0.458 0.03 150.415);
--popover: oklch(0.991 0.005 331.482);
--popover-foreground: oklch(0.083 0.028 332.821);
--card: oklch(0.991 0.005 331.482);
--card-foreground: oklch(0.083 0.028 332.821);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.356 0.017 332.056);
--primary-foreground: oklch(0.874 0.009 331.551);
--secondary: oklch(0.367 0.016 150.749);
--secondary-foreground: oklch(0.88 0.009 151.263);
--accent: oklch(0.367 0.016 150.749);
--accent-foreground: oklch(0.88 0.009 151.263);
--destructive: oklch(0.514 0.199 30.8);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.356 0.017 332.056);
--chart-1: oklch(0.356 0.017 332.056);
--chart-2: oklch(0.367 0.016 150.749);
--chart-3: oklch(0.367 0.016 150.749);
--chart-4: oklch(0.397 0.018 150.735);
--chart-5: oklch(0.354 0.024 332.33);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.012 332.043);
--foreground: oklch(0.992 0.001 331.42);
--muted: oklch(0.257 0.022 150.106);
--muted-foreground: oklch(0.751 0.027 150.881);
--popover: oklch(0.088 0.012 332.043);
--popover-foreground: oklch(0.992 0.001 331.42);
--card: oklch(0.088 0.012 332.043);
--card-foreground: oklch(0.992 0.001 331.42);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.356 0.017 332.056);
--primary-foreground: oklch(0.874 0.009 331.551);
--secondary: oklch(0.367 0.016 150.749);
--secondary-foreground: oklch(0.88 0.009 151.263);
--accent: oklch(0.367 0.016 150.749);
--accent-foreground: oklch(0.88 0.009 151.263);
--destructive: oklch(0.632 0.244 30.682);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.356 0.017 332.056);
--chart-1: oklch(0.356 0.017 332.056);
--chart-2: oklch(0.367 0.016 150.749);
--chart-3: oklch(0.367 0.016 150.749);
--chart-4: oklch(0.397 0.018 150.735);
--chart-5: oklch(0.354 0.024 332.33);
}