delete account for shadcn/ui

delete account is a shadcn/ui theme built around a neutral gray primary color (#979ba5) with neutral gray accents (#9a97a5). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the neutral gray primary (#979ba5) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#010204black
Foreground
#02050dblack
#ffffffwhite
Card
#f8f9fcghostwhite
#010204black
Card foreground
#02050dblack
#ffffffwhite
Popover
#f8f9fcghostwhite
#010204black
Popover foreground
#02050dblack
#ffffffwhite
Primary
#979ba5darkgray
#979ba5darkgray
Primary foreground
#050505black
#050505black
Secondary
#97a2a5darkgray
#97a2a5darkgray
Secondary foreground
#050505black
#050505black
Muted
#d0e1e6gainsboro
#192a2fdarkslategray
Muted foreground
#525556dimgray
#a9acaddarkgray
Accent
#9a97a5darkgray
#9a97a5darkgray
Accent foreground
#050505black
#050505black
Destructive
#8f330fsaddlebrown
#ec7546coral
Destructive foreground
#fbe0d5antiquewhite
#000000black
Border
#eaecf0lavender
#16181dblack
Input
#eaecf0lavender
#16181dblack
Ring
#979ba5darkgray
#979ba5darkgray

Contrast

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

Light mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button7.32:1AAA
Secondary button7.77:1AAA
Muted text5.59:1AA
Accent7.15:1AAA
Destructive6.29:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.76:1AAA
Primary button7.32:1AAA
Secondary button7.77:1AAA
Muted text6.53:1AA
Accent7.15:1AAA
Destructive7.19:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 270.08);
  --foreground: oklch(0.117 0.022 260.58);
  --muted: oklch(0.899 0.02 217.889);
  --muted-foreground: oklch(0.448 0.004 217.789);
  --popover: oklch(0.981 0.005 270.08);
  --popover-foreground: oklch(0.117 0.022 260.58);
  --card: oklch(0.981 0.005 270.08);
  --card-foreground: oklch(0.117 0.022 260.58);
  --border: oklch(0.943 0.005 270.073);
  --input: oklch(0.943 0.005 270.073);
  --primary: oklch(0.689 0.015 269.929);
  --primary-foreground: oklch(0.114 0.002 269.349);
  --secondary: oklch(0.704 0.013 217.86);
  --secondary-foreground: oklch(0.116 0.002 217.069);
  --accent: oklch(0.684 0.02 296.553);
  --accent-foreground: oklch(0.114 0.002 297.029);
  --destructive: oklch(0.45 0.132 39.28);
  --destructive-foreground: oklch(0.926 0.033 42.85);
  --ring: oklch(0.689 0.015 269.929);
  --chart-1: oklch(0.689 0.015 269.929);
  --chart-2: oklch(0.704 0.013 217.86);
  --chart-3: oklch(0.684 0.02 296.553);
  --chart-4: oklch(0.728 0.012 217.845);
  --chart-5: oklch(0.685 0.022 269.835);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.013 262.034);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.024 218.945);
  --muted-foreground: oklch(0.742 0.003 217.767);
  --popover: oklch(0.082 0.013 262.034);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.082 0.013 262.034);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.208 0.012 269.578);
  --input: oklch(0.208 0.012 269.578);
  --primary: oklch(0.689 0.015 269.929);
  --primary-foreground: oklch(0.114 0.002 269.349);
  --secondary: oklch(0.704 0.013 217.86);
  --secondary-foreground: oklch(0.116 0.002 217.069);
  --accent: oklch(0.684 0.02 296.553);
  --accent-foreground: oklch(0.114 0.002 297.029);
  --destructive: oklch(0.693 0.159 41.347);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.689 0.015 269.929);
  --chart-1: oklch(0.689 0.015 269.929);
  --chart-2: oklch(0.704 0.013 217.86);
  --chart-3: oklch(0.684 0.02 296.553);
  --chart-4: oklch(0.728 0.012 217.845);
  --chart-5: oklch(0.685 0.022 269.835);
}