Curly for shadcn/ui

Curly is a shadcn/ui theme built around a muted deep orange primary color (#48413d) with muted deep yellow accents (#48463d). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted deep orange primary (#48413d) on a neutral background (#080402).

Color palette

TokenLightDark
Background
#fefcfbsnow
#080402black
Foreground
#0c0703black
#ffffffwhite
Card
#fefcfbsnow
#080402black
Card foreground
#0c0703black
#ffffffwhite
Popover
#fefcfbsnow
#080402black
Popover foreground
#0c0703black
#ffffffwhite
Primary
#48413ddarkslategray
#48413ddarkslategray
Primary foreground
#dedbd8gainsboro
#dedbd8gainsboro
Secondary
#483d3edarkslategray
#483d3edarkslategray
Secondary foreground
#ded8d9gainsboro
#ded8d9gainsboro
Muted
#eddee0gainsboro
#211214black
Muted foreground
#403f3fdarkslategray
#c0bfbfsilver
Accent
#48463ddarkslategray
#48463ddarkslategray
Accent foreground
#deddd8gainsboro
#deddd8gainsboro
Destructive
#b12d0bfirebrick
#f03c0forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#48413ddarkslategray
#48413ddarkslategray

Contrast

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

Light mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button7.26:1AAA
Secondary button7.42:1AAA
Muted text8.07:1AAA
Accent6.93:1AA
Destructive6.45:1AA
Dark mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button7.26:1AAA
Secondary button7.42:1AAA
Muted text9.84:1AAA
Accent6.93:1AA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 54.472);
  --foreground: oklch(0.133 0.016 62.969);
  --muted: oklch(0.914 0.016 9.318);
  --muted-foreground: oklch(0.369 0.002 9.022);
  --popover: oklch(0.992 0.002 54.472);
  --popover-foreground: oklch(0.133 0.016 62.969);
  --card: oklch(0.992 0.002 54.472);
  --card-foreground: oklch(0.133 0.016 62.969);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.381 0.011 54.104);
  --primary-foreground: oklch(0.892 0.005 54.43);
  --secondary: oklch(0.371 0.015 9.855);
  --secondary-foreground: oklch(0.888 0.006 9.078);
  --accent: oklch(0.394 0.015 100.899);
  --accent-foreground: oklch(0.898 0.007 100.447);
  --destructive: oklch(0.503 0.174 33.887);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.381 0.011 54.104);
  --chart-1: oklch(0.381 0.011 54.104);
  --chart-2: oklch(0.371 0.015 9.855);
  --chart-3: oklch(0.394 0.015 100.899);
  --chart-4: oklch(0.399 0.016 9.873);
  --chart-5: oklch(0.381 0.016 53.957);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.014 63.588);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.204 0.024 11.738);
  --muted-foreground: oklch(0.805 0.001 8.952);
  --popover: oklch(0.116 0.014 63.588);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.116 0.014 63.588);
  --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.381 0.011 54.104);
  --primary-foreground: oklch(0.892 0.005 54.43);
  --secondary: oklch(0.371 0.015 9.855);
  --secondary-foreground: oklch(0.888 0.006 9.078);
  --accent: oklch(0.394 0.015 100.899);
  --accent-foreground: oklch(0.898 0.007 100.447);
  --destructive: oklch(0.627 0.221 33.631);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.381 0.011 54.104);
  --chart-1: oklch(0.381 0.011 54.104);
  --chart-2: oklch(0.371 0.015 9.855);
  --chart-3: oklch(0.394 0.015 100.899);
  --chart-4: oklch(0.399 0.016 9.873);
  --chart-5: oklch(0.381 0.016 53.957);
}