Aura Soft Dark (Soft Text) for shadcn/ui

Aura Soft Dark (Soft Text) is a shadcn/ui theme built around a teal primary color (#54c49f) with muted indigo accents (#413f5a). The light mode uses an indigo-tinted background (#201f2d). Dark mode keeps the teal primary (#54c49f) on an indigo-tinted background (#201f2d).

Color palette

TokenLightDark
Background
#201f2ddarkslategray
#201f2ddarkslategray
Foreground
#bdbdbdsilver
#bdbdbdsilver
Card
#1c1b27black
#1c1b27black
Card foreground
#c9c9c9silver
#c9c9c9silver
Popover
#1a1924black
#1a1924black
Popover foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Primary
#54c49fmediumaquamarine
#54c49fmediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#2d5346darkslategray
#2d5346darkslategray
Secondary foreground
#cde4ddgainsboro
#cde4ddgainsboro
Muted
#2b2b36darkslategray
#2b2b36darkslategray
Muted foreground
#a8a6b9darkgray
#a8a6b9darkgray
Accent
#413f5adarkslategray
#413f5adarkslategray
Accent foreground
#e2e1eagainsboro
#e2e1eagainsboro
Destructive
#f04c3dtomato
#f04c3dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2f2f37darkslategray
#2f2f37darkslategray
Input
#37363fdarkslategray
#37363fdarkslategray
Ring
#54c49fmediumaquamarine
#54c49fmediumaquamarine

Contrast

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

Light mode
Text on background8.59:1AAA
Text on card10.25:1AAA
Primary button9.81:1AAA
Secondary button6.47:1AA
Muted text5.88:1AA
Accent7.80:1AAA
Destructive3.61:1AA Large
Dark mode
Text on background8.59:1AAA
Text on card10.25:1AAA
Primary button9.81:1AAA
Secondary button6.47:1AA
Muted text5.88:1AA
Accent7.80:1AAA
Destructive3.61:1AA Large

CSS variables

Paste this into your globals.css to use Aura Soft Dark (Soft Text) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.248 0.026 287.401);
  --foreground: oklch(0.797 0 180);
  --muted: oklch(0.293 0.021 288.085);
  --muted-foreground: oklch(0.734 0.027 288.773);
  --popover: oklch(0.22 0.021 287.553);
  --popover-foreground: oklch(0.877 0 180);
  --card: oklch(0.229 0.023 287.497);
  --card-foreground: oklch(0.837 0 171.254);
  --border: oklch(0.309 0.015 288.577);
  --input: oklch(0.337 0.016 288.548);
  --primary: oklch(0.746 0.117 168.274);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.409 0.049 170.294);
  --secondary-foreground: oklch(0.9 0.026 173.705);
  --accent: oklch(0.38 0.047 287.012);
  --accent-foreground: oklch(0.913 0.012 289.223);
  --destructive: oklch(0.646 0.204 29.081);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.746 0.117 168.274);
  --chart-1: oklch(0.746 0.117 168.274);
  --chart-2: oklch(0.409 0.049 170.294);
  --chart-3: oklch(0.38 0.047 287.012);
  --chart-4: oklch(0.442 0.054 170.211);
  --chart-5: oklch(0.754 0.123 167.898);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.248 0.026 287.401);
  --foreground: oklch(0.797 0 180);
  --muted: oklch(0.293 0.021 288.085);
  --muted-foreground: oklch(0.734 0.027 288.773);
  --popover: oklch(0.22 0.021 287.553);
  --popover-foreground: oklch(0.877 0 180);
  --card: oklch(0.229 0.023 287.497);
  --card-foreground: oklch(0.837 0 171.254);
  --border: oklch(0.309 0.015 288.577);
  --input: oklch(0.337 0.016 288.548);
  --primary: oklch(0.746 0.117 168.274);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.409 0.049 170.294);
  --secondary-foreground: oklch(0.9 0.026 173.705);
  --accent: oklch(0.38 0.047 287.012);
  --accent-foreground: oklch(0.913 0.012 289.223);
  --destructive: oklch(0.646 0.204 29.081);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.746 0.117 168.274);
  --chart-1: oklch(0.746 0.117 168.274);
  --chart-2: oklch(0.409 0.049 170.294);
  --chart-3: oklch(0.38 0.047 287.012);
  --chart-4: oklch(0.442 0.054 170.211);
  --chart-5: oklch(0.754 0.123 167.898);
}