Skip to content

Commit 6860ee2

Browse files
committed
Darker red badge background to ensure text is kept white across browsers.
1 parent c1f359d commit 6860ee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bg/RequestGuard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ var RequestGuard = (() => {
110110
let browserAction = browser.browserAction;
111111
browserAction.setIcon({tabId, path: {64: `/img/ui-${icon}64.png`}});
112112
browserAction.setBadgeText({tabId, text: showBadge ? numBlocked.toString() : ""});
113-
browserAction.setBadgeBackgroundColor({tabId, color: [255, 0, 0, 128]});
113+
browserAction.setBadgeBackgroundColor({tabId, color: [128, 0, 0, 160]});
114114
browserAction.setTitle({tabId,
115115
title: `${VERSION_LABEL} \n${enforced ?
116116
_("BlockedItems", [numBlocked, numAllowed + numBlocked]) + ` \n${report}`

0 commit comments

Comments
 (0)