Dainty – Panda Theme for shadcn/ui

Dainty – Panda Theme is a shadcn/ui theme built around a vivid teal primary color (#00b395) with neutral gray accents (#4d4f51). The light mode uses a neutral background (#28292a). Dark mode keeps the vivid teal primary (#00b395) on a neutral background (#28292a).

Color palette

TokenLightDark
Background
#28292adarkslategray
#28292adarkslategray
Foreground
#dededegainsboro
#dededegainsboro
Card
#232424black
#232424black
Card foreground
#ebebeblinen
#ebebeblinen
Popover
#202122black
#202122black
Popover foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Primary
#00b395lightseagreen
#00b395lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acd2cclightsteelblue
#acd2cclightsteelblue
Secondary foreground
#1b322edarkslategray
#1b322edarkslategray
Muted
#2d3339darkslategray
#2d3339darkslategray
Muted foreground
#a9b3bcdarkgray
#a9b3bcdarkgray
Accent
#4d4f51darkslategray
#4d4f51darkslategray
Accent foreground
#e8e8e9lavender
#e8e8e9lavender
Destructive
#fc2c1dorangered
#fc2c1dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#363636darkslategray
#363636darkslategray
Input
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Ring
#00b395lightseagreen
#00b395lightseagreen

Contrast

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

Light mode
Text on background10.85:1AAA
Text on card13.08:1AAA
Primary button2.67:1Fail
Secondary button8.35:1AAA
Muted text5.99:1AA
Accent6.70:1AA
Destructive3.82:1AA Large
Dark mode
Text on background10.85:1AAA
Text on card13.08:1AAA
Primary button2.67:1Fail
Secondary button8.35:1AAA
Muted text5.99:1AA
Accent6.70:1AA
Destructive3.82:1AA Large

CSS variables

Paste this into your globals.css to use Dainty – Panda Theme in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.28 0.002 247.893);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.318 0.014 248.262);
  --muted-foreground: oklch(0.761 0.017 248.048);
  --popover: oklch(0.248 0.002 247.889);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.259 0.002 247.89);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.331 0 180);
  --input: oklch(0.361 0 180);
  --primary: oklch(0.683 0.129 175.062);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.836 0.041 184.102);
  --secondary-foreground: oklch(0.296 0.03 182.42);
  --accent: oklch(0.427 0.003 247.903);
  --accent-foreground: oklch(0.931 0.001 247.83);
  --destructive: oklch(0.637 0.24 29.616);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.683 0.129 175.062);
  --chart-1: oklch(0.683 0.129 175.062);
  --chart-2: oklch(0.836 0.041 184.102);
  --chart-3: oklch(0.427 0.003 247.903);
  --chart-4: oklch(0.855 0.036 184.299);
  --chart-5: oklch(0.69 0.131 174.822);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.28 0.002 247.893);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.318 0.014 248.262);
  --muted-foreground: oklch(0.761 0.017 248.048);
  --popover: oklch(0.248 0.002 247.889);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.259 0.002 247.89);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.331 0 180);
  --input: oklch(0.361 0 180);
  --primary: oklch(0.683 0.129 175.062);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.836 0.041 184.102);
  --secondary-foreground: oklch(0.296 0.03 182.42);
  --accent: oklch(0.427 0.003 247.903);
  --accent-foreground: oklch(0.931 0.001 247.83);
  --destructive: oklch(0.637 0.24 29.616);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.683 0.129 175.062);
  --chart-1: oklch(0.683 0.129 175.062);
  --chart-2: oklch(0.836 0.041 184.102);
  --chart-3: oklch(0.427 0.003 247.903);
  --chart-4: oklch(0.855 0.036 184.299);
  --chart-5: oklch(0.69 0.131 174.822);
}