Curly for shadcn/ui

Curly is a shadcn/ui theme built around a vivid deep cyan primary color (#011114) with muted light cyan accents (#cdd4d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#011114) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#050e10black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#040a0cblack
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#050e10black
#ffffffwhite
Primary
#011114black
#011114black
Primary foreground
#07b7dadarkturquoise
#07b7dadarkturquoise
Secondary
#cdd4d5lightgrey
#2a3537darkslategray
Secondary foreground
#333b3ddarkslategray
#c2ced1lightgrey
Muted
#e8ecedlavender
#121617black
Muted foreground
#415053darkslategray
#acbbbesilver
Accent
#cdd4d5lightgrey
#2a3537darkslategray
Accent foreground
#333b3ddarkslategray
#c2ced1lightgrey
Destructive
#d23804orangered
#eb3e05orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#011114black
#011114black

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.49:1AAA
Primary button8.08:1AAA
Secondary button7.61:1AAA
Muted text7.08:1AAA
Accent7.61:1AAA
Destructive4.88:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.08:1AAA
Secondary button7.85:1AAA
Muted text9.19:1AAA
Accent7.85:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.154 0.015 210.076);
  --muted: oklch(0.941 0.005 211.04);
  --muted-foreground: oklch(0.419 0.019 211.122);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.154 0.015 210.076);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.138 0.013 208.312);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.162 0.027 209.655);
  --primary-foreground: oklch(0.719 0.129 218.331);
  --secondary: oklch(0.865 0.008 211.038);
  --secondary-foreground: oklch(0.347 0.012 211.071);
  --accent: oklch(0.865 0.008 211.038);
  --accent-foreground: oklch(0.347 0.012 211.071);
  --destructive: oklch(0.571 0.197 35.177);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.162 0.027 209.655);
  --chart-1: oklch(0.162 0.027 209.655);
  --chart-2: oklch(0.865 0.008 211.038);
  --chart-3: oklch(0.865 0.008 211.038);
  --chart-4: oklch(0.887 0.006 211.039);
  --chart-5: oklch(0.162 0.027 209.639);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.196 0.007 211.07);
  --muted-foreground: oklch(0.781 0.017 211.045);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.162 0.027 209.655);
  --primary-foreground: oklch(0.719 0.129 218.331);
  --secondary: oklch(0.319 0.016 211.139);
  --secondary-foreground: oklch(0.844 0.014 211.04);
  --accent: oklch(0.319 0.016 211.139);
  --accent-foreground: oklch(0.844 0.014 211.04);
  --destructive: oklch(0.62 0.216 34.995);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.162 0.027 209.655);
  --chart-1: oklch(0.162 0.027 209.655);
  --chart-2: oklch(0.319 0.016 211.139);
  --chart-3: oklch(0.319 0.016 211.139);
  --chart-4: oklch(0.351 0.018 211.147);
  --chart-5: oklch(0.162 0.027 209.639);
}