diff --git a/proxy/init-webext.js b/proxy/init-webext.js index 05a46f6..fc0a841 100644 --- a/proxy/init-webext.js +++ b/proxy/init-webext.js @@ -78,13 +78,15 @@ class WebExtUI extends UI { if (this.active) { return chrome.browserAction.setIcon({ path: { - 32: "assets/status-running.png" + 48: "assets/toolbar-running-48.png", + 96: "assets/toolbar-running-96.png" } }); } else { return chrome.browserAction.setIcon({ path: { - 32: "assets/status-on.png" + 48: "assets/toolbar-on-48.png", + 96: "assets/toolbar-on-96.png" } }); } @@ -94,7 +96,8 @@ class WebExtUI extends UI { update(); return chrome.browserAction.setIcon({ path: { - 32: "assets/status-" + (enabled ? "on" : "off") + ".png" + 48: "assets/toolbar-" + (enabled ? "on" : "off") + "-48.png", + 96: "assets/toolbar-" + (enabled ? "on" : "off") + "-96.png" } }); } @@ -142,7 +145,12 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific missingFeature: true }); }); - chrome.browserAction.setIcon({ path: { 32: "assets/status-off.png" } }); + chrome.browserAction.setIcon({ + path: { + 48: "assets/toolbar-off-48.png", + 96: "assets/toolbar-off-96.png" + } + }); return; } diff --git a/proxy/static/assets/toolbar-off-48.png b/proxy/static/assets/toolbar-off-48.png new file mode 100644 index 0000000..9a28a6f Binary files /dev/null and b/proxy/static/assets/toolbar-off-48.png differ diff --git a/proxy/static/assets/toolbar-off-96.png b/proxy/static/assets/toolbar-off-96.png new file mode 100644 index 0000000..d022b51 Binary files /dev/null and b/proxy/static/assets/toolbar-off-96.png differ diff --git a/proxy/static/assets/toolbar-off.svg b/proxy/static/assets/toolbar-off.svg new file mode 100644 index 0000000..2b35669 --- /dev/null +++ b/proxy/static/assets/toolbar-off.svg @@ -0,0 +1,14 @@ + + + + toolbar_icon_grey + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/proxy/static/assets/toolbar-on-48.png b/proxy/static/assets/toolbar-on-48.png new file mode 100644 index 0000000..990ab30 Binary files /dev/null and b/proxy/static/assets/toolbar-on-48.png differ diff --git a/proxy/static/assets/toolbar-on-96.png b/proxy/static/assets/toolbar-on-96.png new file mode 100644 index 0000000..d0226b6 Binary files /dev/null and b/proxy/static/assets/toolbar-on-96.png differ diff --git a/proxy/static/assets/toolbar-on.svg b/proxy/static/assets/toolbar-on.svg new file mode 100644 index 0000000..70c079a --- /dev/null +++ b/proxy/static/assets/toolbar-on.svg @@ -0,0 +1,14 @@ + + + + toolbar_icon_purple + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/proxy/static/assets/toolbar-running-48.png b/proxy/static/assets/toolbar-running-48.png new file mode 100644 index 0000000..2337e8a Binary files /dev/null and b/proxy/static/assets/toolbar-running-48.png differ diff --git a/proxy/static/assets/toolbar-running-96.png b/proxy/static/assets/toolbar-running-96.png new file mode 100644 index 0000000..637e366 Binary files /dev/null and b/proxy/static/assets/toolbar-running-96.png differ diff --git a/proxy/static/assets/toolbar-running.svg b/proxy/static/assets/toolbar-running.svg new file mode 100644 index 0000000..c45943f --- /dev/null +++ b/proxy/static/assets/toolbar-running.svg @@ -0,0 +1,14 @@ + + + + toolbar_icon_grey + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/proxy/webext/manifest.json b/proxy/webext/manifest.json index 7317c67..af15e93 100644 --- a/proxy/webext/manifest.json +++ b/proxy/webext/manifest.json @@ -10,7 +10,8 @@ }, "browser_action": { "default_icon": { - "32": "assets/status-on.png" + "48": "assets/toolbar-on-48.png", + "96": "assets/toolbar-on-96.png" }, "default_title": "Snowflake", "default_popup": "embed.html"