Quote for shadcn/ui

Quote is a shadcn/ui theme built around a muted deep blue primary color (#33353d) with muted deep green accents (#353d33). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the muted deep blue primary (#33353d) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7f8fcghostwhite
#010204black
Foreground
#030716black
#ffffffwhite
Card
#f7f8fcghostwhite
#010204black
Card foreground
#030716black
#ffffffwhite
Popover
#f7f8fcghostwhite
#010204black
Popover foreground
#030716black
#ffffffwhite
Primary
#33353ddarkslategray
#33353ddarkslategray
Primary foreground
#cdcfd5lightgrey
#cdcfd5lightgrey
Secondary
#3d3335darkslategray
#3d3335darkslategray
Secondary foreground
#d5cdcflightgrey
#d5cdcflightgrey
Muted
#f2edeewhitesmoke
#120d0eblack
Muted foreground
#55494bdarkslategray
#b6aaacdarkgray
Accent
#353d33darkslategray
#353d33darkslategray
Accent foreground
#cfd5cdlightgrey
#cfd5cdlightgrey
Destructive
#bc3510firebrick
#eb4314orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#33353ddarkslategray
#33353ddarkslategray

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card18.98:1AAA
Primary button7.84:1AAA
Secondary button7.80:1AAA
Muted text7.44:1AAA
Accent7.51:1AAA
Destructive5.74:1AA
Dark mode
Text on background20.75:1AAA
Text on card20.75:1AAA
Primary button7.84:1AAA
Secondary button7.80:1AAA
Muted text8.57:1AAA
Accent7.51:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 274.967);
  --foreground: oklch(0.134 0.036 266.322);
  --muted: oklch(0.951 0.005 3.338);
  --muted-foreground: oklch(0.418 0.018 4.298);
  --popover: oklch(0.981 0.005 274.967);
  --popover-foreground: oklch(0.134 0.036 266.322);
  --card: oklch(0.981 0.005 274.967);
  --card-foreground: oklch(0.134 0.036 266.322);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.33 0.014 274.454);
  --primary-foreground: oklch(0.854 0.009 274.9);
  --secondary: oklch(0.333 0.015 4.366);
  --secondary-foreground: oklch(0.855 0.009 3.481);
  --accent: oklch(0.35 0.02 139.433);
  --accent-foreground: oklch(0.866 0.013 139.44);
  --destructive: oklch(0.53 0.177 34.907);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.33 0.014 274.454);
  --chart-1: oklch(0.33 0.014 274.454);
  --chart-2: oklch(0.333 0.015 4.366);
  --chart-3: oklch(0.35 0.02 139.433);
  --chart-4: oklch(0.361 0.017 4.397);
  --chart-5: oklch(0.327 0.019 274.225);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.01 269.93);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.165 0.009 4.562);
  --muted-foreground: oklch(0.748 0.015 3.721);
  --popover: oklch(0.084 0.01 269.93);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.084 0.01 269.93);
  --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.33 0.014 274.454);
  --primary-foreground: oklch(0.854 0.009 274.9);
  --secondary: oklch(0.333 0.015 4.366);
  --secondary-foreground: oklch(0.855 0.009 3.481);
  --accent: oklch(0.35 0.02 139.433);
  --accent-foreground: oklch(0.866 0.013 139.44);
  --destructive: oklch(0.624 0.211 34.721);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.33 0.014 274.454);
  --chart-1: oklch(0.33 0.014 274.454);
  --chart-2: oklch(0.333 0.015 4.366);
  --chart-3: oklch(0.35 0.02 139.433);
  --chart-4: oklch(0.361 0.017 4.397);
  --chart-5: oklch(0.327 0.019 274.225);
}