Aura Dark for shadcn/ui

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

Color palette

TokenLightDark
Background
#15141ablack
#15141ablack
Foreground
#edeceewhitesmoke
#edeceewhitesmoke
Card
#100f15black
#100f15black
Card foreground
#fafafasnow
#fafafasnow
Popover
#0e0d12black
#0e0d12black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#61ffcaaquamarine
#61ffcaaquamarine
Primary foreground
#002e1fblack
#002e1fblack
Secondary
#2d5346darkslategray
#2d5346darkslategray
Secondary foreground
#cde4ddgainsboro
#cde4ddgainsboro
Muted
#23222bdarkslategray
#23222bdarkslategray
Muted foreground
#9e9bb0darkgray
#9e9bb0darkgray
Accent
#373446darkslategray
#373446darkslategray
Accent foreground
#d2d0dclightgrey
#d2d0dclightgrey
Destructive
#f7432btomato
#f7432btomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#222225black
#222225black
Input
#2a292edarkslategray
#2a292edarkslategray
Ring
#61ffcaaquamarine
#61ffcaaquamarine

Contrast

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

Light mode
Text on background15.60:1AAA
Text on card18.26:1AAA
Primary button11.81:1AAA
Secondary button6.47:1AA
Muted text5.83:1AA
Accent7.91:1AAA
Destructive3.61:1AA Large
Dark mode
Text on background15.60:1AAA
Text on card18.26:1AAA
Primary button11.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 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.193 0.014 291.931);
  --foreground: oklch(0.945 0.003 308.424);
  --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(1 0 180);
  --card: oklch(0.173 0.011 292.078);
  --card-foreground: oklch(0.984 0.001 308.451);
  --border: oklch(0.254 0.007 292.809);
  --input: oklch(0.284 0.008 292.782);
  --primary: oklch(0.903 0.153 167.407);
  --primary-foreground: oklch(0.266 0.056 164.988);
  --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.647 0.22 30.977);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.903 0.153 167.407);
  --chart-1: oklch(0.903 0.153 167.407);
  --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.908 0.156 167.199);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.193 0.014 291.931);
  --foreground: oklch(0.945 0.003 308.424);
  --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(1 0 180);
  --card: oklch(0.173 0.011 292.078);
  --card-foreground: oklch(0.984 0.001 308.451);
  --border: oklch(0.254 0.007 292.809);
  --input: oklch(0.284 0.008 292.782);
  --primary: oklch(0.903 0.153 167.407);
  --primary-foreground: oklch(0.266 0.056 164.988);
  --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.647 0.22 30.977);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.903 0.153 167.407);
  --chart-1: oklch(0.903 0.153 167.407);
  --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.908 0.156 167.199);
}