Detailed for shadcn/ui

Detailed is a shadcn/ui theme built around a light purple primary color (#e4aad5) with light cyan accents (#aad5e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#e4aad5) on a purple-tinted background (#0e070c).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e070cblack
Foreground
#090207black
#fdfcfdwhite
Card
#fcfcfcsnow
#11080fblack
Card foreground
#040103black
#ffffffwhite
Popover
#fcfcfcsnow
#11080fblack
Popover foreground
#040103black
#ffffffwhite
Primary
#e4aad5plum
#e4aad5plum
Primary foreground
#45163adarkslategray
#45163adarkslategray
Secondary
#d5e4aapalegoldenrod
#d5e4aapalegoldenrod
Secondary foreground
#3a4516darkolivegreen
#3a4516darkolivegreen
Muted
#dfe1dbgainsboro
#22241eblack
Muted foreground
#4a4c43darkslategray
#babcb3silver
Accent
#aad5e4lightblue
#aad5e4lightblue
Accent foreground
#163a45darkslategray
#163a45darkslategray
Destructive
#aa2503firebrick
#f53505orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4aad5plum
#e4aad5plum

Contrast

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

Light mode
Text on background20.52:1AAA
Text on card20.32:1AAA
Primary button7.71:1AAA
Secondary button7.56:1AAA
Muted text6.60:1AA
Accent7.74:1AAA
Destructive7.06:1AAA
Dark mode
Text on background19.49:1AAA
Text on card19.67:1AAA
Primary button7.71:1AAA
Secondary button7.56:1AAA
Muted text8.16:1AAA
Accent7.74:1AAA
Destructive3.89:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.029 334.781);
  --muted: oklch(0.906 0.007 117.967);
  --muted-foreground: oklch(0.411 0.014 118.439);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.084 0.023 334.781);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.084 0.023 334.781);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.805 0.087 335.598);
  --primary-foreground: oklch(0.29 0.086 338.581);
  --secondary: oklch(0.892 0.077 119.376);
  --secondary-foreground: oklch(0.37 0.071 121.781);
  --accent: oklch(0.848 0.049 220.157);
  --accent-foreground: oklch(0.327 0.045 222.731);
  --destructive: oklch(0.482 0.173 33.449);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.087 335.598);
  --chart-1: oklch(0.805 0.087 335.598);
  --chart-2: oklch(0.892 0.077 119.376);
  --chart-3: oklch(0.848 0.049 220.157);
  --chart-4: oklch(0.907 0.066 119.138);
  --chart-5: oklch(0.804 0.092 335.696);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.018 335.311);
  --foreground: oklch(0.992 0.002 333.914);
  --muted: oklch(0.256 0.01 118.511);
  --muted-foreground: oklch(0.791 0.012 118.096);
  --popover: oklch(0.152 0.021 335.911);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.152 0.021 335.911);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.805 0.087 335.598);
  --primary-foreground: oklch(0.29 0.086 338.581);
  --secondary: oklch(0.892 0.077 119.376);
  --secondary-foreground: oklch(0.37 0.071 121.781);
  --accent: oklch(0.848 0.049 220.157);
  --accent-foreground: oklch(0.327 0.045 222.731);
  --destructive: oklch(0.63 0.231 32.931);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.087 335.598);
  --chart-1: oklch(0.805 0.087 335.598);
  --chart-2: oklch(0.892 0.077 119.376);
  --chart-3: oklch(0.848 0.049 220.157);
  --chart-4: oklch(0.907 0.066 119.138);
  --chart-5: oklch(0.804 0.092 335.696);
}