Dainty – Andromeda for shadcn/ui

Dainty – Andromeda is a shadcn/ui theme built around a vivid teal primary color (#00b395) with muted blue accents (#454d5e). The light mode uses a blue-tinted background (#252932). Dark mode keeps the vivid teal primary (#00b395) on a blue-tinted background (#252932).

Color palette

TokenLightDark
Background
#252932darkslategray
#252932darkslategray
Foreground
#dededegainsboro
#dededegainsboro
Card
#21242cdarkslategray
#21242cdarkslategray
Card foreground
#ebebeblinen
#ebebeblinen
Popover
#1e2229black
#1e2229black
Popover foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Primary
#00b395lightseagreen
#00b395lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acd2cclightsteelblue
#acd2cclightsteelblue
Secondary foreground
#1b322edarkslategray
#1b322edarkslategray
Muted
#2f333cdarkslategray
#2f333cdarkslategray
Muted foreground
#acb2bedarkgray
#acb2bedarkgray
Accent
#454d5edarkslategray
#454d5edarkslategray
Accent foreground
#e8e9eelavender
#e8e9eelavender
Destructive
#eb3928crimson
#eb3928crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#35373bdarkslategray
#35373bdarkslategray
Input
#3d3e43darkslategray
#3d3e43darkslategray
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.03:1AAA
Primary button2.67:1Fail
Secondary button8.35:1AAA
Muted text5.94:1AA
Accent7.01:1AAA
Destructive4.08:1AA Large
Dark mode
Text on background10.85:1AAA
Text on card13.03:1AAA
Primary button2.67:1Fail
Secondary button8.35:1AAA
Muted text5.94:1AA
Accent7.01:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.28 0.018 266.936);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.321 0.017 267.034);
  --muted-foreground: oklch(0.762 0.019 267.262);
  --popover: oklch(0.25 0.015 266.967);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.26 0.016 266.956);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.337 0.007 267.283);
  --input: oklch(0.366 0.008 267.279);
  --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.419 0.03 266.854);
  --accent-foreground: oklch(0.935 0.006 267.382);
  --destructive: oklch(0.617 0.217 29.762);
  --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.419 0.03 266.854);
  --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.018 266.936);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.321 0.017 267.034);
  --muted-foreground: oklch(0.762 0.019 267.262);
  --popover: oklch(0.25 0.015 266.967);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.26 0.016 266.956);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.337 0.007 267.283);
  --input: oklch(0.366 0.008 267.279);
  --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.419 0.03 266.854);
  --accent-foreground: oklch(0.935 0.006 267.382);
  --destructive: oklch(0.617 0.217 29.762);
  --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.419 0.03 266.854);
  --chart-4: oklch(0.855 0.036 184.299);
  --chart-5: oklch(0.69 0.131 174.822);
}