Reservation is a shadcn/ui theme built around a neutral gray primary color (#aaaea7) with neutral gray accents (#aca7ae). The light mode uses a neutral background (#f9fdf6). Dark mode keeps the neutral gray primary (#aaaea7) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf6mintcream | #020401black |
| Foreground | #040901black | #ffffffwhite |
| Card | #f6fdf2honeydew | #040802black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #f9fdf6mintcream | #020401black |
| Popover foreground | #040901black | #ffffffwhite |
| Primary | #aaaea7darkgray | #aaaea7darkgray |
| Primary foreground | #121311black | #121311black |
| Secondary | #aca7aedarkgray | #aca7aedarkgray |
| Secondary foreground | #121113black | #121113black |
| Muted | #d9d7dbgainsboro | #272428darkslategray |
| Muted foreground | #443a4bdarkslategray | #bfb4c5silver |
| Accent | #aca7aedarkgray | #aca7aedarkgray |
| Accent foreground | #121113black | #121113black |
| Destructive | #840606maroon | #f63737crimson |
| Destructive foreground | #fcc0c0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aaaea7darkgray | #aaaea7darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Reservation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.01 133.058);
--foreground: oklch(0.128 0.026 131.096);
--muted: oklch(0.882 0.006 312.941);
--muted-foreground: oklch(0.365 0.032 312.386);
--popover: oklch(0.99 0.01 133.058);
--popover-foreground: oklch(0.128 0.026 131.096);
--card: oklch(0.985 0.016 133.095);
--card-foreground: oklch(0.102 0.021 131.096);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.746 0.011 133.083);
--primary-foreground: oklch(0.183 0.003 133.106);
--secondary: oklch(0.735 0.011 312.887);
--secondary-foreground: oklch(0.18 0.003 312.864);
--accent: oklch(0.735 0.011 312.887);
--accent-foreground: oklch(0.18 0.003 312.864);
--destructive: oklch(0.387 0.154 28.59);
--destructive-foreground: oklch(0.861 0.07 18.599);
--ring: oklch(0.746 0.011 133.083);
--chart-1: oklch(0.746 0.011 133.083);
--chart-2: oklch(0.735 0.011 312.887);
--chart-3: oklch(0.735 0.011 312.887);
--chart-4: oklch(0.76 0.01 312.899);
--chart-5: oklch(0.75 0.018 133.156);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.015 131.625);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.008 312.786);
--muted-foreground: oklch(0.784 0.027 312.754);
--popover: oklch(0.099 0.015 131.625);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.019 131.625);
--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.746 0.011 133.083);
--primary-foreground: oklch(0.183 0.003 133.106);
--secondary: oklch(0.735 0.011 312.887);
--secondary-foreground: oklch(0.18 0.003 312.864);
--accent: oklch(0.735 0.011 312.887);
--accent-foreground: oklch(0.18 0.003 312.864);
--destructive: oklch(0.636 0.225 26.487);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.746 0.011 133.083);
--chart-1: oklch(0.746 0.011 133.083);
--chart-2: oklch(0.735 0.011 312.887);
--chart-3: oklch(0.735 0.011 312.887);
--chart-4: oklch(0.76 0.01 312.899);
--chart-5: oklch(0.75 0.018 133.156);
}