Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(dashboard): name the surface behind the dark error contrast

Yudhi Armyndharis34326fa1f5af
diff --git a/dashboard/src/App.css b/dashboard/src/App.css
index e418c9f59..f19d01207 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 3.89:1 there and is lightened instead, to a value that still
+ keep their base value; error is 3.89:1 on Slate 800 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 3.89:1 there and is lightened instead, to a value that still
+ keep their base value; error is 3.89:1 on Slate 800 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);