Quick-witted for shadcn/ui

Quick-witted is a shadcn/ui theme built around a deep orange primary color (#21150d) with deep yellow accents (#211f0d). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#21150d) on an orange-tinted background (#0a0705).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0705black
Foreground
#090401black
#fbfaf9snow
Card
#fcfcfcsnow
#0e0906black
Card foreground
#040201black
#fdfcfcsnow
Popover
#ffffffwhite
#0a0705black
Popover foreground
#090401black
#fbfaf9snow
Primary
#21150dblack
#21150dblack
Primary foreground
#d4a88ctan
#d4a88ctan
Secondary
#210d0fblack
#210d0fblack
Secondary foreground
#d48c95rosybrown
#d48c95rosybrown
Muted
#eeececlinen
#131111black
Muted foreground
#5f494cdimgray
#b6a0a2darkgray
Accent
#211f0dblack
#211f0dblack
Accent foreground
#b5a845darkkhaki
#b5a845darkkhaki
Destructive
#c43408firebrick
#f7673btomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#21150dblack
#21150dblack

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card20.25:1AAA
Primary button8.32:1AAA
Secondary button7.07:1AAA
Muted text7.02:1AAA
Accent6.83:1AA
Destructive5.47:1AA
Dark mode
Text on background19.25:1AAA
Text on card19.31:1AAA
Primary button8.32:1AAA
Secondary button7.07:1AAA
Muted text7.65:1AAA
Accent6.83:1AA
Destructive6.95:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.116 0.017 66.107);
  --muted: oklch(0.945 0.002 8.959);
  --muted-foreground: oklch(0.43 0.03 10.561);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.116 0.017 66.107);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.092 0.014 66.107);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.208 0.026 52.701);
  --primary-foreground: oklch(0.764 0.064 53.364);
  --secondary: oklch(0.19 0.035 13.639);
  --secondary-foreground: oklch(0.715 0.087 11.856);
  --accent: oklch(0.236 0.031 101.814);
  --accent-foreground: oklch(0.724 0.121 101.811);
  --destructive: oklch(0.543 0.186 34.893);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.208 0.026 52.701);
  --chart-1: oklch(0.208 0.026 52.701);
  --chart-2: oklch(0.19 0.035 13.639);
  --chart-3: oklch(0.236 0.031 101.814);
  --chart-4: oklch(0.22 0.046 14.254);
  --chart-5: oklch(0.209 0.027 52.548);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.009 59.793);
  --foreground: oklch(0.985 0.002 54.475);
  --muted: oklch(0.18 0.003 9.3);
  --muted-foreground: oklch(0.725 0.026 9.752);
  --popover: oklch(0.133 0.009 59.793);
  --popover-foreground: oklch(0.985 0.002 54.475);
  --card: oklch(0.146 0.011 57.409);
  --card-foreground: oklch(0.992 0.001 54.491);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.208 0.026 52.701);
  --primary-foreground: oklch(0.764 0.064 53.364);
  --secondary: oklch(0.19 0.035 13.639);
  --secondary-foreground: oklch(0.715 0.087 11.856);
  --accent: oklch(0.236 0.031 101.814);
  --accent-foreground: oklch(0.724 0.121 101.811);
  --destructive: oklch(0.688 0.186 37.228);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.208 0.026 52.701);
  --chart-1: oklch(0.208 0.026 52.701);
  --chart-2: oklch(0.19 0.035 13.639);
  --chart-3: oklch(0.236 0.031 101.814);
  --chart-4: oklch(0.22 0.046 14.254);
  --chart-5: oklch(0.209 0.027 52.548);
}