Vacation is a shadcn/ui theme built around a muted violet primary color (#9c94ad) with muted green accents (#94ad9c). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the muted violet primary (#9c94ad) on a violet-tinted background (#07050a).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #07050ablack |
| Foreground | #06020dblack | #fcfcfdwhite |
| Card | #f6f4fawhitesmoke | #09070eblack |
| Card foreground | #040109black | #ffffffwhite |
| Popover | #f9f8fcghostwhite | #07050ablack |
| Popover foreground | #06020dblack | #fcfcfdwhite |
| Primary | #9c94addarkgray | #9c94addarkgray |
| Primary foreground | #070709black | #070709black |
| Secondary | #ad9c94rosybrown | #ad9c94rosybrown |
| Secondary foreground | #090707black | #090707black |
| Muted | #f2efeewhitesmoke | #110f0dblack |
| Muted foreground | #5b4e48darkolivegreen | #b7aaa4darkgray |
| Accent | #94ad9cdarkseagreen | #94ad9cdarkseagreen |
| Accent foreground | #070907black | #070907black |
| Destructive | #7d2708saddlebrown | #f26431tomato |
| Destructive foreground | #fbcdbcpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9c94addarkgray | #9c94addarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.78:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Vacation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 300.674);
--foreground: oklch(0.107 0.034 300.851);
--muted: oklch(0.954 0.003 46.819);
--muted-foreground: oklch(0.435 0.021 46.382);
--popover: oklch(0.981 0.006 300.674);
--popover-foreground: oklch(0.107 0.034 300.851);
--card: oklch(0.971 0.008 300.626);
--card-foreground: oklch(0.093 0.029 301.35);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.683 0.037 299.881);
--primary-foreground: oklch(0.129 0.005 300.838);
--secondary: oklch(0.706 0.023 46.519);
--secondary-foreground: oklch(0.132 0.003 48.486);
--accent: oklch(0.724 0.036 155.532);
--accent-foreground: oklch(0.134 0.005 156.461);
--destructive: oklch(0.401 0.125 37.748);
--destructive-foreground: oklch(0.883 0.057 40.951);
--ring: oklch(0.683 0.037 299.881);
--chart-1: oklch(0.683 0.037 299.881);
--chart-2: oklch(0.706 0.023 46.519);
--chart-3: oklch(0.724 0.036 155.532);
--chart-4: oklch(0.73 0.021 46.556);
--chart-5: oklch(0.677 0.045 299.662);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.014 300.973);
--foreground: oklch(0.991 0.002 300.734);
--muted: oklch(0.169 0.005 46.552);
--muted-foreground: oklch(0.747 0.018 46.599);
--popover: oklch(0.122 0.014 300.973);
--popover-foreground: oklch(0.991 0.002 300.734);
--card: oklch(0.134 0.016 300.146);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.683 0.037 299.881);
--primary-foreground: oklch(0.129 0.005 300.838);
--secondary: oklch(0.706 0.023 46.519);
--secondary-foreground: oklch(0.132 0.003 48.486);
--accent: oklch(0.724 0.036 155.532);
--accent-foreground: oklch(0.134 0.005 156.461);
--destructive: oklch(0.676 0.186 39.143);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.683 0.037 299.881);
--chart-1: oklch(0.683 0.037 299.881);
--chart-2: oklch(0.706 0.023 46.519);
--chart-3: oklch(0.724 0.036 155.532);
--chart-4: oklch(0.73 0.021 46.556);
--chart-5: oklch(0.677 0.045 299.662);
}