Reservation is a shadcn/ui theme built around a deep teal primary color (#234845) with deep red accents (#482327). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#234845) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #000000black |
| Foreground | #020807black | #f9fbfamintcream |
| Card | #fbfefewhite | #000000black |
| Card foreground | #020807black | #f9fbfamintcream |
| Popover | #fbfefewhite | #000000black |
| Popover foreground | #020807black | #f9fbfamintcream |
| Primary | #234845darkslategray | #234845darkslategray |
| Primary foreground | #bee0dcpowderblue | #bee0dcpowderblue |
| Secondary | #482327darkslategray | #482327darkslategray |
| Secondary foreground | #e0bec1thistle | #e0bec1thistle |
| Muted | #f1eaealinen | #150e0fblack |
| Muted foreground | #5f595adimgray | #a6a0a1darkgray |
| Accent | #482327darkslategray | #482327darkslategray |
| Accent foreground | #e0bec1thistle | #e0bec1thistle |
| Destructive | #c55016chocolate | #e15c19chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #234845darkslategray | #234845darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.61:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Reservation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 190.011);
--foreground: oklch(0.125 0.014 189.3);
--muted: oklch(0.942 0.007 10.256);
--muted-foreground: oklch(0.47 0.007 10.425);
--popover: oklch(0.994 0.003 190.011);
--popover-foreground: oklch(0.125 0.014 189.3);
--card: oklch(0.994 0.003 190.011);
--card-foreground: oklch(0.125 0.014 189.3);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.374 0.044 187.054);
--primary-foreground: oklch(0.88 0.036 189.127);
--secondary: oklch(0.308 0.057 14.66);
--secondary-foreground: oklch(0.83 0.039 11.149);
--accent: oklch(0.308 0.057 14.66);
--accent-foreground: oklch(0.83 0.039 11.149);
--destructive: oklch(0.579 0.163 42.431);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.374 0.044 187.054);
--chart-1: oklch(0.374 0.044 187.054);
--chart-2: oklch(0.308 0.057 14.66);
--chart-3: oklch(0.308 0.057 14.66);
--chart-4: oklch(0.335 0.064 14.811);
--chart-5: oklch(0.378 0.046 186.835);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.001 190.047);
--muted: oklch(0.175 0.012 11.597);
--muted-foreground: oklch(0.712 0.006 10.283);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.001 190.047);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.001 190.047);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.374 0.044 187.054);
--primary-foreground: oklch(0.88 0.036 189.127);
--secondary: oklch(0.308 0.057 14.66);
--secondary-foreground: oklch(0.83 0.039 11.149);
--accent: oklch(0.308 0.057 14.66);
--accent-foreground: oklch(0.83 0.039 11.149);
--destructive: oklch(0.637 0.181 42.249);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.374 0.044 187.054);
--chart-1: oklch(0.374 0.044 187.054);
--chart-2: oklch(0.308 0.057 14.66);
--chart-3: oklch(0.308 0.057 14.66);
--chart-4: oklch(0.335 0.064 14.811);
--chart-5: oklch(0.378 0.046 186.835);
}