Wisteria is a shadcn/ui theme built around a yellow primary color (#d6ce99) with blue accents (#99a1d6). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the yellow primary (#d6ce99) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #070603black |
| Foreground | #0d0b03black | #fbfaf9snow |
| Card | #fbfbf8snow | #070603black |
| Card foreground | #0d0b03black | #fbfaf9snow |
| Popover | #fbfbf8snow | #070603black |
| Popover foreground | #0d0b03black | #fbfaf9snow |
| Primary | #d6ce99tan | #d6ce99tan |
| Primary foreground | #2c2811black | #2c2811black |
| Secondary | #99a1d6lightsteelblue | #99a1d6lightsteelblue |
| Secondary foreground | #11152cblack | #11152cblack |
| Muted | #cbcfe7lightgrey | #181c34midnightblue |
| Muted foreground | #44454bdarkslategray | #b4b5bbsilver |
| Accent | #99a1d6lightsteelblue | #99a1d6lightsteelblue |
| Accent foreground | #11152cblack | #11152cblack |
| Destructive | #d12705firebrick | #f9330borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6ce99tan | #d6ce99tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 9.28:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 9.28:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 7.22:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Wisteria in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 99.394);
--foreground: oklch(0.15 0.022 102.775);
--muted: oklch(0.858 0.033 278.728);
--muted-foreground: oklch(0.391 0.01 278.925);
--popover: oklch(0.988 0.004 99.394);
--popover-foreground: oklch(0.15 0.022 102.775);
--card: oklch(0.988 0.004 99.394);
--card-foreground: oklch(0.15 0.022 102.775);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.845 0.07 100.375);
--primary-foreground: oklch(0.275 0.038 100.689);
--secondary: oklch(0.722 0.078 277.479);
--secondary-foreground: oklch(0.205 0.045 275.072);
--accent: oklch(0.722 0.078 277.479);
--accent-foreground: oklch(0.205 0.045 275.072);
--destructive: oklch(0.556 0.207 32.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.845 0.07 100.375);
--chart-1: oklch(0.845 0.07 100.375);
--chart-2: oklch(0.722 0.078 277.479);
--chart-3: oklch(0.722 0.078 277.479);
--chart-4: oklch(0.753 0.069 277.793);
--chart-5: oklch(0.85 0.075 100.419);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.011 101.828);
--foreground: oklch(0.986 0.002 99.366);
--muted: oklch(0.237 0.046 275.672);
--muted-foreground: oklch(0.774 0.009 279.168);
--popover: oklch(0.124 0.011 101.828);
--popover-foreground: oklch(0.986 0.002 99.366);
--card: oklch(0.124 0.011 101.828);
--card-foreground: oklch(0.986 0.002 99.366);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.845 0.07 100.375);
--primary-foreground: oklch(0.275 0.038 100.689);
--secondary: oklch(0.722 0.078 277.479);
--secondary-foreground: oklch(0.205 0.045 275.072);
--accent: oklch(0.722 0.078 277.479);
--accent-foreground: oklch(0.205 0.045 275.072);
--destructive: oklch(0.636 0.235 32.146);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.845 0.07 100.375);
--chart-1: oklch(0.845 0.07 100.375);
--chart-2: oklch(0.722 0.078 277.479);
--chart-3: oklch(0.722 0.078 277.479);
--chart-4: oklch(0.753 0.069 277.793);
--chart-5: oklch(0.85 0.075 100.419);
}