Aura Dark (Soft Text) for shadcn/ui

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

Color palette

TokenLightDark
Background
#15141ablack
#15141ablack
Foreground
#bdbdbdsilver
#bdbdbdsilver
Card
#100f15black
#100f15black
Card foreground
#c9c9c9silver
#c9c9c9silver
Popover
#0e0d12black
#0e0d12black
Popover foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Primary
#54c49fmediumaquamarine
#54c49fmediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#2d5346darkslategray
#2d5346darkslategray
Secondary foreground
#cde4ddgainsboro
#cde4ddgainsboro
Muted
#23222bdarkslategray
#23222bdarkslategray
Muted foreground
#9e9bb0darkgray
#9e9bb0darkgray
Accent
#373446darkslategray
#373446darkslategray
Accent foreground
#d2d0dclightgrey
#d2d0dclightgrey
Destructive
#fa3f1eorangered
#fa3f1eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#222225black
#222225black
Input
#2a292edarkslategray
#2a292edarkslategray
Ring
#54c49fmediumaquamarine
#54c49fmediumaquamarine

Contrast

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

Light mode
Text on background9.78:1AAA
Text on card11.51:1AAA
Primary button9.81:1AAA
Secondary button6.47:1AA
Muted text5.83:1AA
Accent7.91:1AAA
Destructive3.61:1AA Large
Dark mode
Text on background9.78:1AAA
Text on card11.51:1AAA
Primary button9.81:1AAA
Secondary button6.47:1AA
Muted text5.83:1AA
Accent7.91:1AAA
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.193 0.014 291.931);
  --foreground: oklch(0.797 0 180);
  --muted: oklch(0.256 0.017 292.017);
  --muted-foreground: oklch(0.699 0.031 292.459);
  --popover: oklch(0.162 0.01 292.169);
  --popover-foreground: oklch(0.877 0 180);
  --card: oklch(0.173 0.011 292.078);
  --card-foreground: oklch(0.837 0 171.254);
  --border: oklch(0.254 0.007 292.809);
  --input: oklch(0.284 0.008 292.782);
  --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.336 0.032 291.442);
  --accent-foreground: oklch(0.863 0.017 292.938);
  --destructive: oklch(0.648 0.227 32.213);
  --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.336 0.032 291.442);
  --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.193 0.014 291.931);
  --foreground: oklch(0.797 0 180);
  --muted: oklch(0.256 0.017 292.017);
  --muted-foreground: oklch(0.699 0.031 292.459);
  --popover: oklch(0.162 0.01 292.169);
  --popover-foreground: oklch(0.877 0 180);
  --card: oklch(0.173 0.011 292.078);
  --card-foreground: oklch(0.837 0 171.254);
  --border: oklch(0.254 0.007 292.809);
  --input: oklch(0.284 0.008 292.782);
  --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.336 0.032 291.442);
  --accent-foreground: oklch(0.863 0.017 292.938);
  --destructive: oklch(0.648 0.227 32.213);
  --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.336 0.032 291.442);
  --chart-4: oklch(0.442 0.054 170.211);
  --chart-5: oklch(0.754 0.123 167.898);
}