Quotation for shadcn/ui

Quotation is a shadcn/ui theme built around an orange primary color (#e3a054) with muted light orange accents (#ded7cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#e3a054) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#ffffffwhite
#040301black
Foreground
#0d0802black
#fdfcfcsnow
Card
#ffffffwhite
#040301black
Card foreground
#0d0802black
#fdfcfcsnow
Popover
#ffffffwhite
#040301black
Popover foreground
#0d0802black
#fdfcfcsnow
Primary
#e3a054sandybrown
#e3a054sandybrown
Primary foreground
#040301black
#040301black
Secondary
#ded7cflightgrey
#181511black
Secondary foreground
#483e32darkslategray
#bcae9fdarkgray
Muted
#f3eee7linen
#18120cblack
Muted foreground
#63584bdimgray
#b4a99cdarkgray
Accent
#ded7cflightgrey
#181511black
Accent foreground
#483e32darkslategray
#bcae9fdarkgray
Destructive
#852505saddlebrown
#f7531dorangered
Destructive foreground
#fdcebfpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3a054sandybrown
#e3a054sandybrown

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button9.27:1AAA
Secondary button7.30:1AAA
Muted text5.99:1AA
Accent7.30:1AAA
Destructive6.52:1AA
Dark mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button9.27:1AAA
Secondary button8.41:1AAA
Muted text8.03:1AAA
Accent8.41:1AAA
Destructive3.38:1AA Large

CSS variables

Paste this into your globals.css to use Quotation in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.139 0.02 80.151);
  --muted: oklch(0.95 0.011 71.353);
  --muted-foreground: oklch(0.466 0.025 70.871);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.139 0.02 80.151);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.139 0.02 80.151);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.757 0.122 67.712);
  --primary-foreground: oklch(0.096 0.014 81.247);
  --secondary: oklch(0.881 0.013 71.318);
  --secondary-foreground: oklch(0.371 0.024 70.71);
  --accent: oklch(0.881 0.013 71.318);
  --accent-foreground: oklch(0.371 0.024 70.71);
  --destructive: oklch(0.413 0.136 36.342);
  --destructive-foreground: oklch(0.889 0.057 39.256);
  --ring: oklch(0.757 0.122 67.712);
  --chart-1: oklch(0.757 0.122 67.712);
  --chart-2: oklch(0.881 0.013 71.318);
  --chart-3: oklch(0.881 0.013 71.318);
  --chart-4: oklch(0.904 0.011 71.348);
  --chart-5: oklch(0.76 0.126 67.426);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.009 78.143);
  --foreground: oklch(0.993 0.001 71.443);
  --muted: oklch(0.188 0.016 70.397);
  --muted-foreground: oklch(0.741 0.022 71.161);
  --popover: oklch(0.095 0.009 78.143);
  --popover-foreground: oklch(0.993 0.001 71.443);
  --card: oklch(0.095 0.009 78.143);
  --card-foreground: oklch(0.993 0.001 71.443);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.757 0.122 67.712);
  --primary-foreground: oklch(0.096 0.014 81.247);
  --secondary: oklch(0.197 0.009 70.952);
  --secondary-foreground: oklch(0.759 0.027 71.103);
  --accent: oklch(0.197 0.009 70.952);
  --accent-foreground: oklch(0.759 0.027 71.103);
  --destructive: oklch(0.661 0.209 36.853);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.757 0.122 67.712);
  --chart-1: oklch(0.757 0.122 67.712);
  --chart-2: oklch(0.197 0.009 70.952);
  --chart-3: oklch(0.197 0.009 70.952);
  --chart-4: oklch(0.232 0.012 70.875);
  --chart-5: oklch(0.76 0.126 67.426);
}