Quirky for shadcn/ui

Quirky is a shadcn/ui theme built around a muted orange primary color (#705e48) with muted yellow accents (#6e7048). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#705e48) on an orange-tinted background (#100b04).

Color palette

TokenLightDark
Background
#fcfaf8snow
#100b04black
Foreground
#100b04black
#ffffffwhite
Card
#fcfaf8snow
#100b04black
Card foreground
#100b04black
#ffffffwhite
Popover
#fcfaf8snow
#100b04black
Popover foreground
#100b04black
#ffffffwhite
Primary
#705e48dimgray
#705e48dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#704a48dimgray
#704a48dimgray
Secondary foreground
#f7f3f3whitesmoke
#f7f3f3whitesmoke
Muted
#eee2e2mistyrose
#1d1111black
Muted foreground
#5d4746darkolivegreen
#b9a3a2darkgray
Accent
#6e7048dimgray
#6e7048dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b7160bfirebrick
#f22f21orangered
Destructive foreground
#fef6f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#705e48dimgray
#705e48dimgray

Contrast

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

Light mode
Text on background18.82:1AAA
Text on card18.82:1AAA
Primary button6.22:1AA
Secondary button6.93:1AA
Muted text6.79:1AA
Accent5.15:1AA
Destructive6.28:1AA
Dark mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button6.22:1AA
Secondary button6.93:1AA
Muted text7.71:1AAA
Accent5.15:1AA
Destructive4.02:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 73.193);
  --foreground: oklch(0.153 0.019 76.907);
  --muted: oklch(0.923 0.013 21.069);
  --muted-foreground: oklch(0.422 0.03 21.905);
  --popover: oklch(0.986 0.004 73.193);
  --popover-foreground: oklch(0.153 0.019 76.907);
  --card: oklch(0.986 0.004 73.193);
  --card-foreground: oklch(0.153 0.019 76.907);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.493 0.041 72.241);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.45 0.053 22.709);
  --secondary-foreground: oklch(0.967 0.005 20.949);
  --accent: oklch(0.533 0.059 110.665);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.498 0.193 29.739);
  --destructive-foreground: oklch(0.979 0.009 22.32);
  --ring: oklch(0.493 0.041 72.241);
  --chart-1: oklch(0.493 0.041 72.241);
  --chart-2: oklch(0.45 0.053 22.709);
  --chart-3: oklch(0.533 0.059 110.665);
  --chart-4: oklch(0.476 0.057 22.733);
  --chart-5: oklch(0.496 0.046 72.037);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.017 76.608);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.195 0.02 22.431);
  --muted-foreground: oklch(0.734 0.026 21.355);
  --popover: oklch(0.153 0.017 76.608);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.017 76.608);
  --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.493 0.041 72.241);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.45 0.053 22.709);
  --secondary-foreground: oklch(0.967 0.005 20.949);
  --accent: oklch(0.533 0.059 110.665);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.622 0.23 29.481);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.493 0.041 72.241);
  --chart-1: oklch(0.493 0.041 72.241);
  --chart-2: oklch(0.45 0.053 22.709);
  --chart-3: oklch(0.533 0.059 110.665);
  --chart-4: oklch(0.476 0.057 22.733);
  --chart-5: oklch(0.496 0.046 72.037);
}