Angelic for shadcn/ui

Angelic is a shadcn/ui theme built around a muted purple primary color (#b9a6b9) with muted green accents (#a6b9a7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#b9a6b9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0c030cblack
#fdfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#0c030cblack
#fdfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0c030cblack
#fdfcfdwhite
Primary
#b9a6b9darkgray
#b9a6b9darkgray
Primary foreground
#1a141ablack
#1a141ablack
Secondary
#a6b9a7darkgray
#a6b9a7darkgray
Secondary foreground
#141a14black
#141a14black
Muted
#cfe7d0lightgrey
#183018black
Muted foreground
#424c43darkslategray
#b3bdb3silver
Accent
#a6b9a7darkgray
#a6b9a7darkgray
Accent foreground
#141a14black
#141a14black
Destructive
#a9210ffirebrick
#ee4f3atomato
Destructive foreground
#fdeeeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b9a6b9darkgray
#b9a6b9darkgray

Contrast

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

Light mode
Text on background20.31:1AAA
Text on card20.31:1AAA
Primary button7.99:1AAA
Secondary button8.55:1AAA
Muted text6.83:1AA
Accent8.55:1AAA
Destructive6.40:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.99:1AAA
Secondary button8.55:1AAA
Muted text7.37:1AAA
Accent8.55:1AAA
Destructive3.61: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.124 0.029 327.648);
  --muted: oklch(0.905 0.041 145.676);
  --muted-foreground: oklch(0.406 0.021 145.629);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.124 0.029 327.648);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.124 0.029 327.648);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.749 0.034 326.412);
  --primary-foreground: oklch(0.201 0.014 326.585);
  --secondary: oklch(0.767 0.034 145.691);
  --secondary-foreground: oklch(0.209 0.013 145.513);
  --accent: oklch(0.767 0.034 145.691);
  --accent-foreground: oklch(0.209 0.013 145.513);
  --destructive: oklch(0.477 0.174 31.022);
  --destructive-foreground: oklch(0.961 0.017 26.563);
  --ring: oklch(0.749 0.034 326.412);
  --chart-1: oklch(0.749 0.034 326.412);
  --chart-2: oklch(0.767 0.034 145.691);
  --chart-3: oklch(0.767 0.034 145.691);
  --chart-4: oklch(0.79 0.03 145.739);
  --chart-5: oklch(0.747 0.042 326.5);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.003 326.076);
  --muted: oklch(0.281 0.053 144.367);
  --muted-foreground: oklch(0.786 0.018 145.87);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.003 326.076);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.003 326.076);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.749 0.034 326.412);
  --primary-foreground: oklch(0.201 0.014 326.585);
  --secondary: oklch(0.767 0.034 145.691);
  --secondary-foreground: oklch(0.209 0.013 145.513);
  --accent: oklch(0.767 0.034 145.691);
  --accent-foreground: oklch(0.209 0.013 145.513);
  --destructive: oklch(0.645 0.199 30.648);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.749 0.034 326.412);
  --chart-1: oklch(0.749 0.034 326.412);
  --chart-2: oklch(0.767 0.034 145.691);
  --chart-3: oklch(0.767 0.034 145.691);
  --chart-4: oklch(0.79 0.03 145.739);
  --chart-5: oklch(0.747 0.042 326.5);
}