Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
test(dashboard): state the measured ratios of --error-text
Yudhi Armyndharisdf9434304ff8
diff --git a/dashboard/src/error-text.test.ts b/dashboard/src/error-text.test.tsindex 84c5d3ee9..d8340a7c2 100644--- a/dashboard/src/error-text.test.ts+++ b/dashboard/src/error-text.test.ts@@ -6,7 +6,9 @@ import { dirname, join } from 'node:path';// --error is the fill and border red. As a text colour it measures 3.76:1 on white and 3.08:1 on the 12 percent// error tint of a banner, under the 4.5:1 AA needs; --error-text is the same hue darkened (lightened in the-// dark theme) until it clears the darkest tint it lands on. Foreground colours use --error-text.+// dark theme). In the light theme it clears 4.5:1 on white and on a 10 percent tint over white (4.58:1), and+// measures 4.28 to 4.46:1 on the heavier tints of the banners and the Failed pill; in the dark theme it clears+// 4.5:1 on every tint. Foreground colours use --error-text.const SRC = dirname(fileURLToPath(import.meta.url));