Quick for shadcn/ui

Quick is a shadcn/ui theme built around a purple primary color (#d59ac7) with green accents (#9ad5a8). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#d59ac7) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#ffffffwhite
#040103black
Foreground
#040103black
#fdfcfdwhite
Card
#ffffffwhite
#040103black
Card foreground
#040103black
#fdfcfdwhite
Popover
#ffffffwhite
#040103black
Popover foreground
#040103black
#fdfcfdwhite
Primary
#d59ac7plum
#d59ac7plum
Primary foreground
#2b1225black
#2b1225black
Secondary
#9ad5a8lightgreen
#9ad5a8lightgreen
Secondary foreground
#122b18black
#122b18black
Muted
#edf3eewhitesmoke
#0c120eblack
Muted foreground
#506254dimgray
#9dafa1darkgray
Accent
#9ad5a8lightgreen
#9ad5a8lightgreen
Accent foreground
#122b18black
#122b18black
Destructive
#ad2800firebrick
#ff5f2etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d59ac7plum
#d59ac7plum

Contrast

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

Light mode
Text on background20.77:1AAA
Text on card20.77:1AAA
Primary button7.64:1AAA
Secondary button8.99:1AAA
Muted text5.78:1AA
Accent8.99:1AAA
Destructive6.78:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.64:1AAA
Secondary button8.99:1AAA
Muted text8.17:1AAA
Accent8.99:1AAA
Destructive6.91:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.085 0.018 334.028);
  --muted: oklch(0.957 0.009 153.087);
  --muted-foreground: oklch(0.478 0.031 152.136);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.085 0.018 334.028);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.085 0.018 334.028);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.757 0.091 335.074);
  --primary-foreground: oklch(0.228 0.051 336.605);
  --secondary: oklch(0.82 0.087 151.346);
  --secondary-foreground: oklch(0.263 0.048 149.689);
  --accent: oklch(0.82 0.087 151.346);
  --accent-foreground: oklch(0.263 0.048 149.689);
  --destructive: oklch(0.491 0.174 34.555);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.757 0.091 335.074);
  --chart-1: oklch(0.757 0.091 335.074);
  --chart-2: oklch(0.82 0.087 151.346);
  --chart-3: oklch(0.82 0.087 151.346);
  --chart-4: oklch(0.839 0.078 151.612);
  --chart-5: oklch(0.756 0.098 335.203);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.015 333.911);
  --foreground: oklch(0.992 0.002 333.279);
  --muted: oklch(0.175 0.014 151.906);
  --muted-foreground: oklch(0.735 0.028 152.607);
  --popover: oklch(0.086 0.015 333.911);
  --popover-foreground: oklch(0.992 0.002 333.279);
  --card: oklch(0.086 0.015 333.911);
  --card-foreground: oklch(0.992 0.002 333.279);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.757 0.091 335.074);
  --primary-foreground: oklch(0.228 0.051 336.605);
  --secondary: oklch(0.82 0.087 151.346);
  --secondary-foreground: oklch(0.263 0.048 149.689);
  --accent: oklch(0.82 0.087 151.346);
  --accent-foreground: oklch(0.263 0.048 149.689);
  --destructive: oklch(0.689 0.204 36.73);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.757 0.091 335.074);
  --chart-1: oklch(0.757 0.091 335.074);
  --chart-2: oklch(0.82 0.087 151.346);
  --chart-3: oklch(0.82 0.087 151.346);
  --chart-4: oklch(0.839 0.078 151.612);
  --chart-5: oklch(0.756 0.098 335.203);
}