From 6860ee2a403ad118327dfda6b2307bdb95b37e2c Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 26 Oct 2018 01:36:11 +0200 Subject: Darker red badge background to ensure text is kept white across browsers. --- src/bg/RequestGuard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bg/RequestGuard.js') diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js index 9be532f..55a78c8 100644 --- a/src/bg/RequestGuard.js +++ b/src/bg/RequestGuard.js @@ -110,7 +110,7 @@ var RequestGuard = (() => { let browserAction = browser.browserAction; browserAction.setIcon({tabId, path: {64: `/img/ui-${icon}64.png`}}); browserAction.setBadgeText({tabId, text: showBadge ? numBlocked.toString() : ""}); - browserAction.setBadgeBackgroundColor({tabId, color: [255, 0, 0, 128]}); + browserAction.setBadgeBackgroundColor({tabId, color: [128, 0, 0, 160]}); browserAction.setTitle({tabId, title: `${VERSION_LABEL} \n${enforced ? _("BlockedItems", [numBlocked, numAllowed + numBlocked]) + ` \n${report}` -- cgit v1.2.3