Skip to content

The Open Source DocuSign Alternative.

fix(ui): improve destructive button contrast in dark mode (#3071)

Ephraim Duncan12223c79cb64
diff --git a/apps/docs/src/app/global.css b/apps/docs/src/app/global.css
index 7d9c89316..ce71134c8 100644
--- a/apps/docs/src/app/global.css
+++ b/apps/docs/src/app/global.css
@@ -83,7 +83,7 @@
--accent: hsl(0 0% 27.8431%);
--accent-foreground: hsl(95.0847 71.0843% 67.451%);
--destructive: hsl(0 86.5979% 61.9608%);
- --destructive-foreground: hsl(0 87.6289% 19.0196%);
+ --destructive-foreground: hsl(0 0% 98.0392%);
--border: hsl(0 0% 27.8431%);
--input: hsl(0 0% 27.8431%);
--ring: hsl(95.0847 71.0843% 67.451%);
diff --git a/packages/ui/styles/theme.css b/packages/ui/styles/theme.css
index caa767433..fb125c026 100644
--- a/packages/ui/styles/theme.css
+++ b/packages/ui/styles/theme.css
@@ -174,7 +174,7 @@
--accent-foreground: 95.08 71.08% 67.45%;
--destructive: 0 87% 62%;
- --destructive-foreground: 0 87% 19%;
+ --destructive-foreground: 0 0% 98%;
--ring: 95.08 71.08% 67.45%;