Booking is a shadcn/ui theme built around a yellow primary color (#d4cd9b) with muted light yellow accents (#d3cfb1). The light mode uses a neutral background (#fefefb). Dark mode keeps the yellow primary (#d4cd9b) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0b0b04black |
| Foreground | #040401black | #fbfbf9snow |
| Card | #fdfcf7snow | #0f0e05black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fdfcf7snow | #0f0e05black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #d4cd9btan | #d4cd9btan |
| Primary foreground | #2b2812black | #2b2812black |
| Secondary | #dedccegainsboro | #23231fblack |
| Secondary foreground | #494731darkolivegreen | #bfbeb5silver |
| Muted | #e9e6ceantiquewhite | #312e16darkslategray |
| Muted foreground | #50504edarkslategray | #b1b1afdarkgray |
| Accent | #d3cfb1silver | #413f2fdarkslategray |
| Accent foreground | #34321ddarkslategray | #d8d7calightgrey |
| Destructive | #771303maroon | #f92706orangered |
| Destructive foreground | #fdbaaflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d4cd9btan | #d4cd9btan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 9.22:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 6.40:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 9.22:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Booking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 100.384);
--foreground: oklch(0.104 0.016 104.167);
--muted: oklch(0.92 0.032 100.839);
--muted-foreground: oklch(0.43 0.002 100.412);
--popover: oklch(0.991 0.007 100.437);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.007 100.437);
--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.843 0.067 101.389);
--primary-foreground: oklch(0.274 0.036 101.807);
--secondary: oklch(0.893 0.019 100.656);
--secondary-foreground: oklch(0.393 0.034 101.476);
--accent: oklch(0.85 0.041 101.017);
--accent-foreground: oklch(0.312 0.033 101.652);
--destructive: oklch(0.369 0.137 31.809);
--destructive-foreground: oklch(0.847 0.08 28.707);
--ring: oklch(0.843 0.067 101.389);
--chart-1: oklch(0.843 0.067 101.389);
--chart-2: oklch(0.893 0.019 100.656);
--chart-3: oklch(0.85 0.041 101.017);
--chart-4: oklch(0.914 0.016 100.59);
--chart-5: oklch(0.848 0.072 101.442);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.017 103.088);
--foreground: oklch(0.987 0.002 100.362);
--muted: oklch(0.298 0.039 101.805);
--muted-foreground: oklch(0.759 0.002 100.37);
--popover: oklch(0.162 0.019 102.389);
--popover-foreground: oklch(0.993 0.001 100.346);
--card: oklch(0.162 0.019 102.389);
--card-foreground: oklch(0.993 0.001 100.346);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.843 0.067 101.389);
--primary-foreground: oklch(0.274 0.036 101.807);
--secondary: oklch(0.255 0.008 100.768);
--secondary-foreground: oklch(0.8 0.012 100.555);
--accent: oklch(0.365 0.026 101.302);
--accent-foreground: oklch(0.876 0.018 100.632);
--destructive: oklch(0.628 0.242 31.011);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.843 0.067 101.389);
--chart-1: oklch(0.843 0.067 101.389);
--chart-2: oklch(0.255 0.008 100.768);
--chart-3: oklch(0.365 0.026 101.302);
--chart-4: oklch(0.288 0.009 100.791);
--chart-5: oklch(0.848 0.072 101.442);
}