Quill for shadcn/ui

Quill is a shadcn/ui theme built around a vivid teal primary color (#069983) with neutral gray accents (#d6d7d6). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid teal primary (#069983) on a teal-tinted background (#050b0a).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#050b0ablack
Foreground
#020807black
#fcfdfdwhite
Card
#f7fdfcmintcream
#050b0ablack
Card foreground
#020807black
#fcfdfdwhite
Popover
#f7fdfcmintcream
#050b0ablack
Popover foreground
#020807black
#fcfdfdwhite
Primary
#069983darkcyan
#069983darkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d6d7d6lightgrey
#151918black
Secondary foreground
#3d3e3edarkslategray
#aab5b4darkgray
Muted
#cfe7e4gainsboro
#18302cdarkslategray
Muted foreground
#575b5adimgray
#a4a8a7darkgray
Accent
#d6d7d6lightgrey
#151918black
Accent foreground
#3d3e3edarkslategray
#aab5b4darkgray
Destructive
#9a2a0ebrown
#ea481forangered
Destructive foreground
#fce4demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#069983darkcyan
#069983darkcyan

Contrast

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

Light mode
Text on background19.60:1AAA
Text on card19.60:1AAA
Primary button3.58:1AA Large
Secondary button7.41:1AAA
Muted text5.33:1AA
Accent7.41:1AAA
Destructive6.36:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button3.58:1AA Large
Secondary button8.44:1AAA
Muted text5.84:1AA
Accent8.44:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 186.429);
  --foreground: oklch(0.126 0.016 186.122);
  --muted: oklch(0.91 0.026 185.854);
  --muted-foreground: oklch(0.468 0.005 186.344);
  --popover: oklch(0.989 0.006 186.429);
  --popover-foreground: oklch(0.126 0.016 186.122);
  --card: oklch(0.989 0.006 186.429);
  --card-foreground: oklch(0.126 0.016 186.122);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.61 0.112 177.516);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.877 0.001 186.569);
  --secondary-foreground: oklch(0.362 0.002 186.476);
  --accent: oklch(0.877 0.001 186.569);
  --accent-foreground: oklch(0.362 0.002 186.476);
  --destructive: oklch(0.458 0.152 34.353);
  --destructive-foreground: oklch(0.937 0.027 34.301);
  --ring: oklch(0.61 0.112 177.516);
  --chart-1: oklch(0.61 0.112 177.516);
  --chart-2: oklch(0.877 0.001 186.569);
  --chart-3: oklch(0.877 0.001 186.569);
  --chart-4: oklch(0.901 0.001 186.574);
  --chart-5: oklch(0.617 0.114 177.281);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.012 186.14);
  --foreground: oklch(0.994 0.002 186.547);
  --muted: oklch(0.287 0.031 183.398);
  --muted-foreground: oklch(0.727 0.004 186.45);
  --popover: oklch(0.14 0.012 186.14);
  --popover-foreground: oklch(0.994 0.002 186.547);
  --card: oklch(0.14 0.012 186.14);
  --card-foreground: oklch(0.994 0.002 186.547);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.61 0.112 177.516);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.208 0.005 185.974);
  --secondary-foreground: oklch(0.765 0.013 186.175);
  --accent: oklch(0.208 0.005 185.974);
  --accent-foreground: oklch(0.765 0.013 186.175);
  --destructive: oklch(0.629 0.205 34.491);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.61 0.112 177.516);
  --chart-1: oklch(0.61 0.112 177.516);
  --chart-2: oklch(0.208 0.005 185.974);
  --chart-3: oklch(0.208 0.005 185.974);
  --chart-4: oklch(0.242 0.006 185.91);
  --chart-5: oklch(0.617 0.114 177.281);
}