From 66546e0103678c768a4c9a7b21ddb162dbc9cc17 Mon Sep 17 00:00:00 2001 From: huyz Date: Sat, 13 Apr 2024 09:19:56 -0700 Subject: [PATCH] Change badge color to less alerting green. --- background-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background-scripts.js b/background-scripts.js index 20fe414..d820880 100644 --- a/background-scripts.js +++ b/background-scripts.js @@ -1,7 +1,7 @@ /*globals chrome */ function updateIcon(state){ - var color = state ? [255, 0, 0, 255] : [190, 190, 190, 230]; + var color = state ? [60, 190, 60, 255] : [190, 190, 190, 230]; var text = state ? 'On' : 'Off'; chrome.browserAction.setBadgeBackgroundColor({color: color});