Quick-witted for shadcn/ui

Quick-witted is a shadcn/ui theme built around a muted orange primary color (#c5a596) with muted cyan accents (#96b6c5). The light mode uses a neutral background (#fcf9f7). Dark mode keeps the muted orange primary (#c5a596) on an orange-tinted background (#0c0604).

Color palette

TokenLightDark
Background
#fcf9f7snow
#0c0604black
Foreground
#0c0603black
#fcf9f8snow
Card
#fbf6f4whitesmoke
#100805black
Card foreground
#080402black
#fdfcfbsnow
Popover
#fcf9f7snow
#0c0604black
Popover foreground
#0c0603black
#fcf9f8snow
Primary
#c5a596tan
#c5a596tan
Primary foreground
#1a120eblack
#1a120eblack
Secondary
#96b6c5darkgray
#96b6c5darkgray
Secondary foreground
#0e171ablack
#0e171ablack
Muted
#edf1f2whitesmoke
#0d1012black
Muted foreground
#454545darkslategray
#bababasilver
Accent
#96b6c5darkgray
#96b6c5darkgray
Accent foreground
#0e171ablack
#0e171ablack
Destructive
#a12e12brown
#e74a23chocolate
Destructive foreground
#fcece8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5a596tan
#c5a596tan

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card19.04:1AAA
Primary button8.07:1AAA
Secondary button8.47:1AAA
Muted text8.41:1AAA
Accent8.47:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.20:1AAA
Text on card19.34:1AAA
Primary button8.07:1AAA
Secondary button8.47:1AAA
Muted text9.83:1AAA
Accent8.47:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 46.807);
  --foreground: oklch(0.131 0.015 54.548);
  --muted: oklch(0.955 0.004 226.906);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(0.984 0.004 46.807);
  --popover-foreground: oklch(0.131 0.015 54.548);
  --card: oklch(0.976 0.006 46.781);
  --card-foreground: oklch(0.114 0.013 54.958);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.746 0.044 46.285);
  --primary-foreground: oklch(0.192 0.015 46.106);
  --secondary: oklch(0.758 0.041 227.682);
  --secondary-foreground: oklch(0.196 0.014 228.067);
  --accent: oklch(0.758 0.041 227.682);
  --accent-foreground: oklch(0.196 0.014 228.067);
  --destructive: oklch(0.475 0.155 34.501);
  --destructive-foreground: oklch(0.955 0.019 34.297);
  --ring: oklch(0.746 0.044 46.285);
  --chart-1: oklch(0.746 0.044 46.285);
  --chart-2: oklch(0.758 0.041 227.682);
  --chart-3: oklch(0.758 0.041 227.682);
  --chart-4: oklch(0.781 0.037 227.556);
  --chart-5: oklch(0.746 0.048 46.234);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.014 54.106);
  --foreground: oklch(0.984 0.003 46.818);
  --muted: oklch(0.171 0.006 227.33);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0.131 0.014 54.106);
  --popover-foreground: oklch(0.984 0.003 46.818);
  --card: oklch(0.145 0.016 51.759);
  --card-foreground: oklch(0.992 0.002 46.838);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.746 0.044 46.285);
  --primary-foreground: oklch(0.192 0.015 46.106);
  --secondary: oklch(0.758 0.041 227.682);
  --secondary-foreground: oklch(0.196 0.014 228.067);
  --accent: oklch(0.758 0.041 227.682);
  --accent-foreground: oklch(0.196 0.014 228.067);
  --destructive: oklch(0.625 0.2 34.658);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.746 0.044 46.285);
  --chart-1: oklch(0.746 0.044 46.285);
  --chart-2: oklch(0.758 0.041 227.682);
  --chart-3: oklch(0.758 0.041 227.682);
  --chart-4: oklch(0.781 0.037 227.556);
  --chart-5: oklch(0.746 0.048 46.234);
}