Hospitality is a shadcn/ui theme built around a muted orange primary color (#8c715f) with muted violet accents (#715f8c). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted orange primary (#8c715f) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0705black |
| Foreground | #000000black | #f8f7f6whitesmoke |
| Card | #fefcfbsnow | #0a0705black |
| Card foreground | #000000black | #f8f7f6whitesmoke |
| Popover | #fefcfbsnow | #0a0705black |
| Popover foreground | #000000black | #f8f7f6whitesmoke |
| Primary | #8c715fdimgray | #8c715fdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5f8c71dimgray | #5f8c71dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #cbe7d6gainsboro | #183423darkslategray |
| Muted foreground | #494b4adarkslategray | #b4b6b5silver |
| Accent | #715f8cslategray | #715f8cslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9d2e0csaddlebrown | #ee4c1borangered |
| Destructive foreground | #fde5demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c715fdimgray | #8c715fdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 3.85:1 | AA Large |
| Muted text | 6.65:1 | AA |
| Accent | 5.65:1 | AA |
| Destructive | 6.19:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 3.85:1 | AA Large |
| Muted text | 6.61:1 | AA |
| Accent | 5.65:1 | AA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Hospitality in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 56.398);
--foreground: oklch(0 0 0);
--muted: oklch(0.902 0.037 159.268);
--muted-foreground: oklch(0.41 0.002 160.098);
--popover: oklch(0.993 0.003 56.398);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.003 56.398);
--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.569 0.043 55.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.064 157.479);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.52 0.072 302.326);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.466 0.152 35.747);
--destructive-foreground: oklch(0.939 0.028 37.631);
--ring: oklch(0.569 0.043 55.367);
--chart-1: oklch(0.569 0.043 55.367);
--chart-2: oklch(0.598 0.064 157.479);
--chart-3: oklch(0.52 0.072 302.326);
--chart-4: oklch(0.626 0.067 157.461);
--chart-5: oklch(0.57 0.05 55.182);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.009 61.476);
--foreground: oklch(0.977 0.002 56.413);
--muted: oklch(0.298 0.045 155.97);
--muted-foreground: oklch(0.774 0.002 160.172);
--popover: oklch(0.133 0.009 61.476);
--popover-foreground: oklch(0.977 0.002 56.413);
--card: oklch(0.133 0.009 61.476);
--card-foreground: oklch(0.977 0.002 56.413);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.569 0.043 55.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.064 157.479);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.52 0.072 302.326);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.206 35.958);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.569 0.043 55.367);
--chart-1: oklch(0.569 0.043 55.367);
--chart-2: oklch(0.598 0.064 157.479);
--chart-3: oklch(0.52 0.072 302.326);
--chart-4: oklch(0.626 0.067 157.461);
--chart-5: oklch(0.57 0.05 55.182);
}