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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.29:1 | AA |
| Text on background | 20.76:1 | AAA |
| Text on card | 20.76:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 7.19:1 | AAA |
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);
}