Quick for shadcn/ui

Quick is a shadcn/ui theme built around a deep green primary color (#1e3616) with deep purple accents (#2f1636). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the deep green primary (#1e3616) on a green-tinted background (#070f05).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#070f05black
Foreground
#020401black
#ffffffwhite
Card
#f9fcf8mintcream
#070f05black
Card foreground
#020401black
#ffffffwhite
Popover
#f9fcf8mintcream
#070f05black
Popover foreground
#020401black
#ffffffwhite
Primary
#1e3616darkgreen
#1e3616darkgreen
Primary foreground
#b1daa4silver
#b1daa4silver
Secondary
#2f1636midnightblue
#2f1636midnightblue
Secondary foreground
#cea4daplum
#cea4daplum
Muted
#efeaf0whitesmoke
#140f15black
Muted foreground
#635667dimgray
#a598a9darkgray
Accent
#2f1636midnightblue
#2f1636midnightblue
Accent foreground
#cea4daplum
#cea4daplum
Destructive
#dd4f08chocolate
#dd4f08chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1e3616darkgreen
#1e3616darkgreen

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button8.39:1AAA
Secondary button7.71:1AAA
Muted text5.78:1AA
Accent7.71:1AAA
Destructive4.02:1AA Large
Dark mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button8.39:1AAA
Secondary button7.71:1AAA
Muted text6.92:1AA
Accent7.71:1AAA
Destructive4.02:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 138.336);
  --foreground: oklch(0.099 0.019 136.449);
  --muted: oklch(0.943 0.01 318.32);
  --muted-foreground: oklch(0.471 0.031 318.263);
  --popover: oklch(0.987 0.005 138.336);
  --popover-foreground: oklch(0.099 0.019 136.449);
  --card: oklch(0.987 0.005 138.336);
  --card-foreground: oklch(0.099 0.019 136.449);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.305 0.062 138.795);
  --primary-foreground: oklch(0.845 0.085 138.461);
  --secondary: oklch(0.252 0.066 317.881);
  --secondary-foreground: oklch(0.775 0.087 318.21);
  --accent: oklch(0.252 0.066 317.881);
  --accent-foreground: oklch(0.775 0.087 318.21);
  --destructive: oklch(0.615 0.19 40.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.305 0.062 138.795);
  --chart-1: oklch(0.305 0.062 138.795);
  --chart-2: oklch(0.252 0.066 317.881);
  --chart-3: oklch(0.252 0.066 317.881);
  --chart-4: oklch(0.281 0.077 317.84);
  --chart-5: oklch(0.308 0.066 138.854);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.026 137.306);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.176 0.015 318.242);
  --muted-foreground: oklch(0.697 0.029 318.29);
  --popover: oklch(0.158 0.026 137.306);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.026 137.306);
  --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.305 0.062 138.795);
  --primary-foreground: oklch(0.845 0.085 138.461);
  --secondary: oklch(0.252 0.066 317.881);
  --secondary-foreground: oklch(0.775 0.087 318.21);
  --accent: oklch(0.252 0.066 317.881);
  --accent-foreground: oklch(0.775 0.087 318.21);
  --destructive: oklch(0.615 0.19 40.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.305 0.062 138.795);
  --chart-1: oklch(0.305 0.062 138.795);
  --chart-2: oklch(0.252 0.066 317.881);
  --chart-3: oklch(0.252 0.066 317.881);
  --chart-4: oklch(0.281 0.077 317.84);
  --chart-5: oklch(0.308 0.066 138.854);
}