Reservation for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button7.12:1AAA
Secondary button7.96:1AAA
Muted text5.76:1AA
Accent7.96:1AAA
Destructive4.61:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button7.12:1AAA
Secondary button7.96:1AAA
Muted text7.39:1AAA
Accent7.96:1AAA
Destructive3.66:1AA Large

CSS variables

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);
}