Angelic for shadcn/ui

Angelic is a shadcn/ui theme built around a vivid deep indigo primary color (#05021c) with vivid deep violet accents (#12021c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep indigo primary (#05021c) on an indigo-tinted background (#07060e).

Color palette

TokenLightDark
Background
#ffffffwhite
#07060eblack
Foreground
#03020eblack
#f9f9fbghostwhite
Card
#fcfcfcsnow
#090812black
Card foreground
#020109black
#fcfcfdwhite
Popover
#ffffffwhite
#07060eblack
Popover foreground
#03020eblack
#f9f9fbghostwhite
Primary
#05021cblack
#05021cblack
Primary foreground
#c3bdfalightsteelblue
#c3bdfalightsteelblue
Secondary
#020d1cblack
#020d1cblack
Secondary foreground
#5e99f3cornflowerblue
#5e99f3cornflowerblue
Muted
#eceff3whitesmoke
#0c0f13black
Muted foreground
#606162dimgray
#9d9e9fdarkgray
Accent
#12021cblack
#12021cblack
Accent foreground
#e1bdfathistle
#e1bdfathistle
Destructive
#901d0edarkred
#e93820orangered
Destructive foreground
#fbdad5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#05021cblack
#05021cblack

Contrast

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

Light mode
Text on background20.61:1AAA
Text on card20.32:1AAA
Primary button11.60:1AAA
Secondary button6.81:1AA
Muted text5.38:1AA
Accent12.22:1AAA
Destructive6.79:1AA
Dark mode
Text on background19.17:1AAA
Text on card19.46:1AAA
Primary button11.60:1AAA
Secondary button6.81:1AA
Muted text7.17:1AAA
Accent12.22:1AAA
Destructive4.16:1AA Large

CSS variables

Paste this into your globals.css to use Angelic in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.036 285.741);
  --muted: oklch(0.951 0.006 258.329);
  --muted-foreground: oklch(0.491 0.002 258.324);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.098 0.036 285.741);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.086 0.031 286.077);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.124 0.059 280.962);
  --primary-foreground: oklch(0.823 0.086 288.948);
  --secondary: oklch(0.156 0.039 253.73);
  --secondary-foreground: oklch(0.684 0.147 258.305);
  --accent: oklch(0.145 0.061 310.336);
  --accent-foreground: oklch(0.849 0.092 311.547);
  --destructive: oklch(0.427 0.152 31.041);
  --destructive-foreground: oklch(0.914 0.038 26.768);
  --ring: oklch(0.124 0.059 280.962);
  --chart-1: oklch(0.124 0.059 280.962);
  --chart-2: oklch(0.156 0.039 253.73);
  --chart-3: oklch(0.145 0.061 310.336);
  --chart-4: oklch(0.188 0.053 256.72);
  --chart-5: oklch(0.122 0.062 280.219);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.129 0.02 288.839);
  --foreground: oklch(0.982 0.003 290.962);
  --muted: oklch(0.166 0.01 258.371);
  --muted-foreground: oklch(0.699 0.002 258.32);
  --popover: oklch(0.129 0.02 288.839);
  --popover-foreground: oklch(0.982 0.003 290.962);
  --card: oklch(0.14 0.023 288.13);
  --card-foreground: oklch(0.991 0.001 290.988);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.124 0.059 280.962);
  --primary-foreground: oklch(0.823 0.086 288.948);
  --secondary: oklch(0.156 0.039 253.73);
  --secondary-foreground: oklch(0.684 0.147 258.305);
  --accent: oklch(0.145 0.061 310.336);
  --accent-foreground: oklch(0.849 0.092 311.547);
  --destructive: oklch(0.612 0.216 31.038);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.124 0.059 280.962);
  --chart-1: oklch(0.124 0.059 280.962);
  --chart-2: oklch(0.156 0.039 253.73);
  --chart-3: oklch(0.145 0.061 310.336);
  --chart-4: oklch(0.188 0.053 256.72);
  --chart-5: oklch(0.122 0.062 280.219);
}