Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(dashboard): correct the dark error contrast ratio in App.css

Yudhi Armyndharis5a662a598ba2
diff --git a/dashboard/src/App.css b/dashboard/src/App.css
index 8548de3d3..e418c9f59 100644
--- a/dashboard/src/App.css
+++ b/dashboard/src/App.css
@@ -47,7 +47,7 @@
--border: #334155; /* Slate 700 */
--info: #60a5fa; /* Blue 400 — lighter so it reads over the dark translucent-blue tints */
/* On the dark surfaces success and warning already clear AA (6.42:1 and 6.81:1), so they
- keep their base value; error is 4.06:1 there and is lightened instead, to a value that still
+ keep their base value; error is 3.89:1 there and is lightened instead, to a value that still
clears 4.65:1 on the darkest error tint behind it (20 percent over Slate 800). */
--error-text: #f77b7b;
--success-text: var(--success);
@@ -83,7 +83,7 @@
--border: #334155;
--info: #60a5fa;
/* On the dark surfaces success and warning already clear AA (6.42:1 and 6.81:1), so they
- keep their base value; error is 4.06:1 there and is lightened instead, to a value that still
+ keep their base value; error is 3.89:1 there and is lightened instead, to a value that still
clears 4.65:1 on the darkest error tint behind it (20 percent over Slate 800). */
--error-text: #f77b7b;
--success-text: var(--success);