[tor-commits] [snowflake/master] Toolbar icons that work in both light and dark modes.

dcf at torproject.org dcf at torproject.org
Mon Aug 19 18:27:22 UTC 2019


commit 6ab50e32b9fcc0e201d16b40352ce03287bb4320
Author: David Fifield <david at bamsoftware.com>
Date:   Tue Aug 6 23:13:56 2019 -0600

    Toolbar icons that work in both light and dark modes.
    
    https://bugs.torproject.org/31170#comment:8
    
    I chose these icons for the "on" and "off" icons:
    toolbar_icon_purple.svg → toolbar-on.svg
    toolbar_icon_grey.svg → toolbar-off.svg
    
    I then made toolbar-running.svg by copying toolbar-off.svg and changing
    the stroke and fill from #4A4A4F to #40E0D0.
---
 proxy/init-webext.js                       |  16 ++++++++++++----
 proxy/static/assets/toolbar-off-48.png     | Bin 0 -> 3657 bytes
 proxy/static/assets/toolbar-off-96.png     | Bin 0 -> 7214 bytes
 proxy/static/assets/toolbar-off.svg        |  14 ++++++++++++++
 proxy/static/assets/toolbar-on-48.png      | Bin 0 -> 3674 bytes
 proxy/static/assets/toolbar-on-96.png      | Bin 0 -> 7355 bytes
 proxy/static/assets/toolbar-on.svg         |  14 ++++++++++++++
 proxy/static/assets/toolbar-running-48.png | Bin 0 -> 3268 bytes
 proxy/static/assets/toolbar-running-96.png | Bin 0 -> 6617 bytes
 proxy/static/assets/toolbar-running.svg    |  14 ++++++++++++++
 proxy/webext/manifest.json                 |   3 ++-
 11 files changed, 56 insertions(+), 5 deletions(-)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="64px" height="64px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>toolbar_icon_grey</title>
+    <desc>Created with Sketch.</desc>
+    <g id="Snowflake-Extension" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-2" transform="translate(-268.000000, -68.000000)">
+            <g id="toolbar_icon_grey" transform="translate(268.000000, 68.000000)">
+                <circle id="container" fill="#FFFFFF" cx="32" cy="32" r="32"></circle>
+                <path d="M57.1612903,31.1612903 L50.073914,31.1612903 C51.8578495,29.3958065 54.8087097,26.4717849 56.5333763,24.747957 C56.8610323,24.4203011 56.8610323,23.8891183 56.5336559,23.5614624 C56.206,23.234086 55.6753763,23.2343656 55.3474409,23.5611828 C53.1220645,25.786 48.844086,30.0192473 47.6891828,31.1612903 L34.0246452,31.1612903 L43.3715054,21.8144301 C43.8272043,21.8200215 44.2834624,21.8230968 44.7397204,21.8230968 C45.8635914,21.8230968 46.9852258,21.8091183 48.0803011,21.7951398 C50.1784731,21.7688602 52.3487742,21.7420215 54.5146022,21.8133118 C54.9837204,21.8247742 55.3653333,21.466086 55.3809892,21.0031183 C55.3963656,20.5401505 55.0334839,20.1523871 54.5702366,20.1370108 C52.365828,20.0637634 50.1767957,20.0911613 48.0590538,20.118 C47.0688172,20.1303011 46.0570538,20.1392473 45.044172,20.1417634 L50.3847957,14.8011398 C50.7124516,14.474043 50.7124516,13.9425806 50.3847957,13.6152043 C50.0574194,13.2875484 49.525957,13.2875484 49.1988602,13.6152043 L44.140
 6022,18.6734624 C44.1534624,16.1469892 44.1713548,12.1401935 44.171914,9.76608602 C44.1721935,9.30283871 43.7964516,8.92737634 43.3334839,8.92709677 L43.3332043,8.92709677 C42.8702366,8.92709677 42.4947742,9.30255914 42.4944946,9.76580645 C42.4939355,12.7974624 42.4645806,18.4939785 42.4545161,20.3595484 L32.8387097,29.9753548 L32.8387097,16.5895484 C33.846,15.5713548 38.238043,11.1317849 40.5193333,8.84965591 C40.8469892,8.522 40.8469892,7.99109677 40.5193333,7.66372043 C40.1913978,7.33578495 39.6602151,7.33634409 39.3328387,7.66372043 C37.5824516,9.41494624 34.5946882,12.4306667 32.8387097,14.2045376 L32.8387097,6.83870968 C32.8387097,6.37546237 32.4632473,6 32,6 C31.5370323,6 31.1612903,6.37546237 31.1612903,6.83870968 L31.1612903,14.1651183 C30.5210753,13.5193118 29.8856129,12.8721075 29.2649677,12.2355269 C27.7863226,10.7191398 26.2573548,9.15131183 24.6467527,7.64443011 C24.3087527,7.32795699 23.778129,7.34501075 23.4613763,7.68356989 C23.1449032,8.02184946 23.1625161,8.552473
 12 23.5007957,8.86922581 C25.0831613,10.3501075 26.5984301,11.9036774 28.0639355,13.4063656 C29.0692688,14.4371398 30.107871,15.4975484 31.1612903,16.5316774 L31.1612903,29.9753548 L22.0428387,20.8569032 C22.0383656,20.0411183 22.0000645,13.1734839 21.9997849,9.73477419 C21.9995054,9.27180645 21.6243226,8.89606452 21.1607957,8.89634409 C20.697828,8.89634409 20.322086,9.27208602 20.3223656,9.73505376 C20.3226452,12.2827742 20.3438925,16.7092043 20.3564731,19.1702581 L14.8011398,13.6152043 C14.474043,13.2875484 13.9425806,13.2875484 13.6152043,13.6152043 C13.2875484,13.9425806 13.2875484,14.474043 13.6152043,14.8011398 L18.923957,20.1098925 C18.0874839,20.1054194 17.2538065,20.0975914 16.4352258,20.0872473 C14.3174839,20.0604086 12.128172,20.0327312 9.92404301,20.1062581 C9.46107527,20.1216344 9.09819355,20.5091183 9.11356989,20.9723656 C9.12894624,21.4353333 9.51419355,21.7984946 9.97967742,21.7825591 C12.1452258,21.7109892 14.3155269,21.7381075 16.4142581,21.7643871 C17.5093333,21.7
 78086 18.6306882,21.7920645 19.7545591,21.7920645 C20.0366452,21.7920645 20.3187312,21.7889892 20.6010968,21.7870323 L29.9753548,31.1612903 L16.7673548,31.1612903 C15.6124516,30.0192473 11.3344731,25.786 9.10909677,23.5611828 C8.78144086,23.2343656 8.25053763,23.234086 7.92316129,23.5614624 C7.59550538,23.8891183 7.59550538,24.4203011 7.92316129,24.747957 C9.64782796,26.4717849 12.5986882,29.3958065 14.3823441,31.1612903 L6.83870968,31.1612903 C6.37574194,31.1612903 6,31.5367527 6,32 C6,32.4632473 6.37574194,32.8387097 6.83870968,32.8387097 L14.5053548,32.8387097 C13.8327097,33.5068817 13.1572688,34.1697419 12.4932903,34.8172258 C10.9777419,36.2953118 9.41019355,37.824 7.90387097,39.4337634 C7.58739785,39.772043 7.60473118,40.3026667 7.94301075,40.6191398 C8.10488172,40.7703871 8.31064516,40.8455914 8.51612903,40.8455914 C8.74006452,40.8455914 8.96344086,40.756129 9.1283871,40.5797204 C10.6087097,38.997914 12.1622796,37.4832043 13.6644086,36.0182581 C14.7220215,34.9869247 15.8115054
 ,33.9206452 16.8713548,32.8387097 L29.9753548,32.8387097 L20.1733548,42.6407097 C18.734129,42.6292473 17.2884731,42.6451828 15.8853118,42.6633548 C13.7868602,42.6890753 11.6165591,42.7161935 9.45101075,42.6449032 C8.98776344,42.634 8.60027957,42.992129 8.58462366,43.4553763 C8.56924731,43.9183441 8.93212903,44.3061075 9.39537634,44.3212043 C11.5992258,44.3944516 13.7885376,44.3667742 15.9065591,44.3404946 C16.7578495,44.329871 17.625914,44.3217634 18.4962151,44.3178495 L13.6152043,49.1988602 C13.2875484,49.525957 13.2875484,50.0574194 13.6152043,50.3847957 C13.7790323,50.5486237 13.9937419,50.6305376 14.208172,50.6305376 C14.4228817,50.6305376 14.6375914,50.5486237 14.8011398,50.3847957 L19.8269677,45.3589677 C19.8143871,47.8381935 19.7939785,52.1793548 19.7936989,54.6924086 C19.7934194,55.1556559 20.1691613,55.5313978 20.632129,55.5313978 L20.6324086,55.5313978 C21.0953763,55.5313978 21.4708387,55.1559355 21.4711183,54.6929677 C21.4716774,51.3697204 21.5071828,44.844 21.5133333,43.
 6726022 L31.1612903,34.0246452 L31.1612903,47.4683226 C30.1073118,48.5032903 29.0681505,49.5639785 28.0622581,50.5953118 C26.5973118,52.0974409 25.0826022,53.6504516 23.5007957,55.1307742 C23.1625161,55.4472473 23.1449032,55.9781505 23.4613763,56.3164301 C23.6266022,56.4925591 23.8499785,56.5820215 24.073914,56.5820215 C24.2793978,56.5820215 24.4851613,56.5068172 24.6467527,56.3555699 C26.2567957,54.8489677 27.7852043,53.2819785 29.2632903,51.7664301 C29.8847742,51.1292903 30.5207957,50.4812473 31.1612903,49.8351613 L31.1612903,57.1612903 C31.1612903,57.6245376 31.5370323,58 32,58 C32.4632473,58 32.8387097,57.6245376 32.8387097,57.1612903 L32.8387097,49.7954624 C34.5946882,51.5696129 37.5824516,54.5847742 39.3328387,56.3362796 C39.6604946,56.6636559 40.1913978,56.6639355 40.5193333,56.3365591 C40.8469892,56.0089032 40.8469892,55.478 40.5193333,55.1503441 C38.238043,52.8684946 33.846,48.4289247 32.8387097,47.4107312 L32.8387097,34.0246452 L42.2856559,43.4715914 C42.2929247,44.773828 
 42.3273118,51.1631183 42.327871,54.4388387 C42.3281505,54.902086 42.7036129,55.2775484 43.1668602,55.2775484 C43.6301075,55.2775484 44.0055699,54.9018065 44.0052903,54.4388387 C44.0050108,51.9433978 43.9848817,47.646129 43.9723011,45.157957 L49.1988602,50.3847957 C49.3624086,50.5486237 49.5771183,50.6305376 49.791828,50.6305376 C50.0062581,50.6305376 50.2212473,50.5486237 50.3847957,50.3847957 C50.7124516,50.0574194 50.7124516,49.525957 50.3847957,49.1988602 L45.2499355,44.0637204 C46.1378495,44.067914 47.0238065,44.0757419 47.8927097,44.0866452 C50.010172,44.1134839 52.1992043,44.1411613 54.4038925,44.0676344 C54.8668602,44.0522581 55.2297419,43.6647742 55.2143656,43.2015269 C55.1987097,42.7385591 54.8173763,42.3812688 54.3479785,42.3913333 C52.1821505,42.4626237 50.012129,42.4355054 47.9136774,42.4095054 C46.4937419,42.3916129 45.0301935,42.3751183 43.5733548,42.3874194 L34.0246452,32.8387097 L47.5851828,32.8387097 C48.6450323,33.9206452 49.7347957,34.9869247 50.792129,36.0182581 
 C52.2945376,37.4832043 53.8475484,38.997914 55.327871,40.5797204 C55.4930968,40.756129 55.7164731,40.8455914 55.9406882,40.8455914 C56.1458925,40.8455914 56.3516559,40.7703871 56.5135269,40.6191398 C56.8518065,40.3026667 56.8694194,39.772043 56.5526667,39.4337634 C55.0463441,37.824 53.4790753,36.2953118 51.9632473,34.8172258 C51.2992688,34.1697419 50.623828,33.5068817 49.9511828,32.8387097 L57.1612903,32.8387097 C57.6245376,32.8387097 58,32.4632473 58,32 C58,31.5367527 57.6245376,31.1612903 57.1612903,31.1612903" id="icon" stroke="#4A4A4F" fill="#4A4A4F" stroke-linecap="square" stroke-linejoin="bevel"></path>
+            </g>
+        </g>
+    </g>
+</svg>
\ 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="64px" height="64px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>toolbar_icon_purple</title>
+    <desc>Created with Sketch.</desc>
+    <g id="Snowflake-Extension" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-2" transform="translate(-388.000000, -68.000000)">
+            <g id="toolbar_icon_purple" transform="translate(388.000000, 68.000000)">
+                <circle id="container" fill="#FFFFFF" cx="32" cy="32" r="32"></circle>
+                <path d="M57.1612903,31.1612903 L50.073914,31.1612903 C51.8578495,29.3958065 54.8087097,26.4717849 56.5333763,24.747957 C56.8610323,24.4203011 56.8610323,23.8891183 56.5336559,23.5614624 C56.206,23.234086 55.6753763,23.2343656 55.3474409,23.5611828 C53.1220645,25.786 48.844086,30.0192473 47.6891828,31.1612903 L34.0246452,31.1612903 L43.3715054,21.8144301 C43.8272043,21.8200215 44.2834624,21.8230968 44.7397204,21.8230968 C45.8635914,21.8230968 46.9852258,21.8091183 48.0803011,21.7951398 C50.1784731,21.7688602 52.3487742,21.7420215 54.5146022,21.8133118 C54.9837204,21.8247742 55.3653333,21.466086 55.3809892,21.0031183 C55.3963656,20.5401505 55.0334839,20.1523871 54.5702366,20.1370108 C52.365828,20.0637634 50.1767957,20.0911613 48.0590538,20.118 C47.0688172,20.1303011 46.0570538,20.1392473 45.044172,20.1417634 L50.3847957,14.8011398 C50.7124516,14.474043 50.7124516,13.9425806 50.3847957,13.6152043 C50.0574194,13.2875484 49.525957,13.2875484 49.1988602,13.6152043 L44.140
 6022,18.6734624 C44.1534624,16.1469892 44.1713548,12.1401935 44.171914,9.76608602 C44.1721935,9.30283871 43.7964516,8.92737634 43.3334839,8.92709677 L43.3332043,8.92709677 C42.8702366,8.92709677 42.4947742,9.30255914 42.4944946,9.76580645 C42.4939355,12.7974624 42.4645806,18.4939785 42.4545161,20.3595484 L32.8387097,29.9753548 L32.8387097,16.5895484 C33.846,15.5713548 38.238043,11.1317849 40.5193333,8.84965591 C40.8469892,8.522 40.8469892,7.99109677 40.5193333,7.66372043 C40.1913978,7.33578495 39.6602151,7.33634409 39.3328387,7.66372043 C37.5824516,9.41494624 34.5946882,12.4306667 32.8387097,14.2045376 L32.8387097,6.83870968 C32.8387097,6.37546237 32.4632473,6 32,6 C31.5370323,6 31.1612903,6.37546237 31.1612903,6.83870968 L31.1612903,14.1651183 C30.5210753,13.5193118 29.8856129,12.8721075 29.2649677,12.2355269 C27.7863226,10.7191398 26.2573548,9.15131183 24.6467527,7.64443011 C24.3087527,7.32795699 23.778129,7.34501075 23.4613763,7.68356989 C23.1449032,8.02184946 23.1625161,8.552473
 12 23.5007957,8.86922581 C25.0831613,10.3501075 26.5984301,11.9036774 28.0639355,13.4063656 C29.0692688,14.4371398 30.107871,15.4975484 31.1612903,16.5316774 L31.1612903,29.9753548 L22.0428387,20.8569032 C22.0383656,20.0411183 22.0000645,13.1734839 21.9997849,9.73477419 C21.9995054,9.27180645 21.6243226,8.89606452 21.1607957,8.89634409 C20.697828,8.89634409 20.322086,9.27208602 20.3223656,9.73505376 C20.3226452,12.2827742 20.3438925,16.7092043 20.3564731,19.1702581 L14.8011398,13.6152043 C14.474043,13.2875484 13.9425806,13.2875484 13.6152043,13.6152043 C13.2875484,13.9425806 13.2875484,14.474043 13.6152043,14.8011398 L18.923957,20.1098925 C18.0874839,20.1054194 17.2538065,20.0975914 16.4352258,20.0872473 C14.3174839,20.0604086 12.128172,20.0327312 9.92404301,20.1062581 C9.46107527,20.1216344 9.09819355,20.5091183 9.11356989,20.9723656 C9.12894624,21.4353333 9.51419355,21.7984946 9.97967742,21.7825591 C12.1452258,21.7109892 14.3155269,21.7381075 16.4142581,21.7643871 C17.5093333,21.7
 78086 18.6306882,21.7920645 19.7545591,21.7920645 C20.0366452,21.7920645 20.3187312,21.7889892 20.6010968,21.7870323 L29.9753548,31.1612903 L16.7673548,31.1612903 C15.6124516,30.0192473 11.3344731,25.786 9.10909677,23.5611828 C8.78144086,23.2343656 8.25053763,23.234086 7.92316129,23.5614624 C7.59550538,23.8891183 7.59550538,24.4203011 7.92316129,24.747957 C9.64782796,26.4717849 12.5986882,29.3958065 14.3823441,31.1612903 L6.83870968,31.1612903 C6.37574194,31.1612903 6,31.5367527 6,32 C6,32.4632473 6.37574194,32.8387097 6.83870968,32.8387097 L14.5053548,32.8387097 C13.8327097,33.5068817 13.1572688,34.1697419 12.4932903,34.8172258 C10.9777419,36.2953118 9.41019355,37.824 7.90387097,39.4337634 C7.58739785,39.772043 7.60473118,40.3026667 7.94301075,40.6191398 C8.10488172,40.7703871 8.31064516,40.8455914 8.51612903,40.8455914 C8.74006452,40.8455914 8.96344086,40.756129 9.1283871,40.5797204 C10.6087097,38.997914 12.1622796,37.4832043 13.6644086,36.0182581 C14.7220215,34.9869247 15.8115054
 ,33.9206452 16.8713548,32.8387097 L29.9753548,32.8387097 L20.1733548,42.6407097 C18.734129,42.6292473 17.2884731,42.6451828 15.8853118,42.6633548 C13.7868602,42.6890753 11.6165591,42.7161935 9.45101075,42.6449032 C8.98776344,42.634 8.60027957,42.992129 8.58462366,43.4553763 C8.56924731,43.9183441 8.93212903,44.3061075 9.39537634,44.3212043 C11.5992258,44.3944516 13.7885376,44.3667742 15.9065591,44.3404946 C16.7578495,44.329871 17.625914,44.3217634 18.4962151,44.3178495 L13.6152043,49.1988602 C13.2875484,49.525957 13.2875484,50.0574194 13.6152043,50.3847957 C13.7790323,50.5486237 13.9937419,50.6305376 14.208172,50.6305376 C14.4228817,50.6305376 14.6375914,50.5486237 14.8011398,50.3847957 L19.8269677,45.3589677 C19.8143871,47.8381935 19.7939785,52.1793548 19.7936989,54.6924086 C19.7934194,55.1556559 20.1691613,55.5313978 20.632129,55.5313978 L20.6324086,55.5313978 C21.0953763,55.5313978 21.4708387,55.1559355 21.4711183,54.6929677 C21.4716774,51.3697204 21.5071828,44.844 21.5133333,43.
 6726022 L31.1612903,34.0246452 L31.1612903,47.4683226 C30.1073118,48.5032903 29.0681505,49.5639785 28.0622581,50.5953118 C26.5973118,52.0974409 25.0826022,53.6504516 23.5007957,55.1307742 C23.1625161,55.4472473 23.1449032,55.9781505 23.4613763,56.3164301 C23.6266022,56.4925591 23.8499785,56.5820215 24.073914,56.5820215 C24.2793978,56.5820215 24.4851613,56.5068172 24.6467527,56.3555699 C26.2567957,54.8489677 27.7852043,53.2819785 29.2632903,51.7664301 C29.8847742,51.1292903 30.5207957,50.4812473 31.1612903,49.8351613 L31.1612903,57.1612903 C31.1612903,57.6245376 31.5370323,58 32,58 C32.4632473,58 32.8387097,57.6245376 32.8387097,57.1612903 L32.8387097,49.7954624 C34.5946882,51.5696129 37.5824516,54.5847742 39.3328387,56.3362796 C39.6604946,56.6636559 40.1913978,56.6639355 40.5193333,56.3365591 C40.8469892,56.0089032 40.8469892,55.478 40.5193333,55.1503441 C38.238043,52.8684946 33.846,48.4289247 32.8387097,47.4107312 L32.8387097,34.0246452 L42.2856559,43.4715914 C42.2929247,44.773828 
 42.3273118,51.1631183 42.327871,54.4388387 C42.3281505,54.902086 42.7036129,55.2775484 43.1668602,55.2775484 C43.6301075,55.2775484 44.0055699,54.9018065 44.0052903,54.4388387 C44.0050108,51.9433978 43.9848817,47.646129 43.9723011,45.157957 L49.1988602,50.3847957 C49.3624086,50.5486237 49.5771183,50.6305376 49.791828,50.6305376 C50.0062581,50.6305376 50.2212473,50.5486237 50.3847957,50.3847957 C50.7124516,50.0574194 50.7124516,49.525957 50.3847957,49.1988602 L45.2499355,44.0637204 C46.1378495,44.067914 47.0238065,44.0757419 47.8927097,44.0866452 C50.010172,44.1134839 52.1992043,44.1411613 54.4038925,44.0676344 C54.8668602,44.0522581 55.2297419,43.6647742 55.2143656,43.2015269 C55.1987097,42.7385591 54.8173763,42.3812688 54.3479785,42.3913333 C52.1821505,42.4626237 50.012129,42.4355054 47.9136774,42.4095054 C46.4937419,42.3916129 45.0301935,42.3751183 43.5733548,42.3874194 L34.0246452,32.8387097 L47.5851828,32.8387097 C48.6450323,33.9206452 49.7347957,34.9869247 50.792129,36.0182581 
 C52.2945376,37.4832043 53.8475484,38.997914 55.327871,40.5797204 C55.4930968,40.756129 55.7164731,40.8455914 55.9406882,40.8455914 C56.1458925,40.8455914 56.3516559,40.7703871 56.5135269,40.6191398 C56.8518065,40.3026667 56.8694194,39.772043 56.5526667,39.4337634 C55.0463441,37.824 53.4790753,36.2953118 51.9632473,34.8172258 C51.2992688,34.1697419 50.623828,33.5068817 49.9511828,32.8387097 L57.1612903,32.8387097 C57.6245376,32.8387097 58,32.4632473 58,32 C58,31.5367527 57.6245376,31.1612903 57.1612903,31.1612903" id="icon" stroke="#6200A4" fill="#6200A4" stroke-linecap="square" stroke-linejoin="bevel"></path>
+            </g>
+        </g>
+    </g>
+</svg>
\ 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="64px" height="64px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>toolbar_icon_grey</title>
+    <desc>Created with Sketch.</desc>
+    <g id="Snowflake-Extension" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-2" transform="translate(-268.000000, -68.000000)">
+            <g id="toolbar_icon_grey" transform="translate(268.000000, 68.000000)">
+                <circle id="container" fill="#FFFFFF" cx="32" cy="32" r="32"></circle>
+                <path d="M57.1612903,31.1612903 L50.073914,31.1612903 C51.8578495,29.3958065 54.8087097,26.4717849 56.5333763,24.747957 C56.8610323,24.4203011 56.8610323,23.8891183 56.5336559,23.5614624 C56.206,23.234086 55.6753763,23.2343656 55.3474409,23.5611828 C53.1220645,25.786 48.844086,30.0192473 47.6891828,31.1612903 L34.0246452,31.1612903 L43.3715054,21.8144301 C43.8272043,21.8200215 44.2834624,21.8230968 44.7397204,21.8230968 C45.8635914,21.8230968 46.9852258,21.8091183 48.0803011,21.7951398 C50.1784731,21.7688602 52.3487742,21.7420215 54.5146022,21.8133118 C54.9837204,21.8247742 55.3653333,21.466086 55.3809892,21.0031183 C55.3963656,20.5401505 55.0334839,20.1523871 54.5702366,20.1370108 C52.365828,20.0637634 50.1767957,20.0911613 48.0590538,20.118 C47.0688172,20.1303011 46.0570538,20.1392473 45.044172,20.1417634 L50.3847957,14.8011398 C50.7124516,14.474043 50.7124516,13.9425806 50.3847957,13.6152043 C50.0574194,13.2875484 49.525957,13.2875484 49.1988602,13.6152043 L44.140
 6022,18.6734624 C44.1534624,16.1469892 44.1713548,12.1401935 44.171914,9.76608602 C44.1721935,9.30283871 43.7964516,8.92737634 43.3334839,8.92709677 L43.3332043,8.92709677 C42.8702366,8.92709677 42.4947742,9.30255914 42.4944946,9.76580645 C42.4939355,12.7974624 42.4645806,18.4939785 42.4545161,20.3595484 L32.8387097,29.9753548 L32.8387097,16.5895484 C33.846,15.5713548 38.238043,11.1317849 40.5193333,8.84965591 C40.8469892,8.522 40.8469892,7.99109677 40.5193333,7.66372043 C40.1913978,7.33578495 39.6602151,7.33634409 39.3328387,7.66372043 C37.5824516,9.41494624 34.5946882,12.4306667 32.8387097,14.2045376 L32.8387097,6.83870968 C32.8387097,6.37546237 32.4632473,6 32,6 C31.5370323,6 31.1612903,6.37546237 31.1612903,6.83870968 L31.1612903,14.1651183 C30.5210753,13.5193118 29.8856129,12.8721075 29.2649677,12.2355269 C27.7863226,10.7191398 26.2573548,9.15131183 24.6467527,7.64443011 C24.3087527,7.32795699 23.778129,7.34501075 23.4613763,7.68356989 C23.1449032,8.02184946 23.1625161,8.552473
 12 23.5007957,8.86922581 C25.0831613,10.3501075 26.5984301,11.9036774 28.0639355,13.4063656 C29.0692688,14.4371398 30.107871,15.4975484 31.1612903,16.5316774 L31.1612903,29.9753548 L22.0428387,20.8569032 C22.0383656,20.0411183 22.0000645,13.1734839 21.9997849,9.73477419 C21.9995054,9.27180645 21.6243226,8.89606452 21.1607957,8.89634409 C20.697828,8.89634409 20.322086,9.27208602 20.3223656,9.73505376 C20.3226452,12.2827742 20.3438925,16.7092043 20.3564731,19.1702581 L14.8011398,13.6152043 C14.474043,13.2875484 13.9425806,13.2875484 13.6152043,13.6152043 C13.2875484,13.9425806 13.2875484,14.474043 13.6152043,14.8011398 L18.923957,20.1098925 C18.0874839,20.1054194 17.2538065,20.0975914 16.4352258,20.0872473 C14.3174839,20.0604086 12.128172,20.0327312 9.92404301,20.1062581 C9.46107527,20.1216344 9.09819355,20.5091183 9.11356989,20.9723656 C9.12894624,21.4353333 9.51419355,21.7984946 9.97967742,21.7825591 C12.1452258,21.7109892 14.3155269,21.7381075 16.4142581,21.7643871 C17.5093333,21.7
 78086 18.6306882,21.7920645 19.7545591,21.7920645 C20.0366452,21.7920645 20.3187312,21.7889892 20.6010968,21.7870323 L29.9753548,31.1612903 L16.7673548,31.1612903 C15.6124516,30.0192473 11.3344731,25.786 9.10909677,23.5611828 C8.78144086,23.2343656 8.25053763,23.234086 7.92316129,23.5614624 C7.59550538,23.8891183 7.59550538,24.4203011 7.92316129,24.747957 C9.64782796,26.4717849 12.5986882,29.3958065 14.3823441,31.1612903 L6.83870968,31.1612903 C6.37574194,31.1612903 6,31.5367527 6,32 C6,32.4632473 6.37574194,32.8387097 6.83870968,32.8387097 L14.5053548,32.8387097 C13.8327097,33.5068817 13.1572688,34.1697419 12.4932903,34.8172258 C10.9777419,36.2953118 9.41019355,37.824 7.90387097,39.4337634 C7.58739785,39.772043 7.60473118,40.3026667 7.94301075,40.6191398 C8.10488172,40.7703871 8.31064516,40.8455914 8.51612903,40.8455914 C8.74006452,40.8455914 8.96344086,40.756129 9.1283871,40.5797204 C10.6087097,38.997914 12.1622796,37.4832043 13.6644086,36.0182581 C14.7220215,34.9869247 15.8115054
 ,33.9206452 16.8713548,32.8387097 L29.9753548,32.8387097 L20.1733548,42.6407097 C18.734129,42.6292473 17.2884731,42.6451828 15.8853118,42.6633548 C13.7868602,42.6890753 11.6165591,42.7161935 9.45101075,42.6449032 C8.98776344,42.634 8.60027957,42.992129 8.58462366,43.4553763 C8.56924731,43.9183441 8.93212903,44.3061075 9.39537634,44.3212043 C11.5992258,44.3944516 13.7885376,44.3667742 15.9065591,44.3404946 C16.7578495,44.329871 17.625914,44.3217634 18.4962151,44.3178495 L13.6152043,49.1988602 C13.2875484,49.525957 13.2875484,50.0574194 13.6152043,50.3847957 C13.7790323,50.5486237 13.9937419,50.6305376 14.208172,50.6305376 C14.4228817,50.6305376 14.6375914,50.5486237 14.8011398,50.3847957 L19.8269677,45.3589677 C19.8143871,47.8381935 19.7939785,52.1793548 19.7936989,54.6924086 C19.7934194,55.1556559 20.1691613,55.5313978 20.632129,55.5313978 L20.6324086,55.5313978 C21.0953763,55.5313978 21.4708387,55.1559355 21.4711183,54.6929677 C21.4716774,51.3697204 21.5071828,44.844 21.5133333,43.
 6726022 L31.1612903,34.0246452 L31.1612903,47.4683226 C30.1073118,48.5032903 29.0681505,49.5639785 28.0622581,50.5953118 C26.5973118,52.0974409 25.0826022,53.6504516 23.5007957,55.1307742 C23.1625161,55.4472473 23.1449032,55.9781505 23.4613763,56.3164301 C23.6266022,56.4925591 23.8499785,56.5820215 24.073914,56.5820215 C24.2793978,56.5820215 24.4851613,56.5068172 24.6467527,56.3555699 C26.2567957,54.8489677 27.7852043,53.2819785 29.2632903,51.7664301 C29.8847742,51.1292903 30.5207957,50.4812473 31.1612903,49.8351613 L31.1612903,57.1612903 C31.1612903,57.6245376 31.5370323,58 32,58 C32.4632473,58 32.8387097,57.6245376 32.8387097,57.1612903 L32.8387097,49.7954624 C34.5946882,51.5696129 37.5824516,54.5847742 39.3328387,56.3362796 C39.6604946,56.6636559 40.1913978,56.6639355 40.5193333,56.3365591 C40.8469892,56.0089032 40.8469892,55.478 40.5193333,55.1503441 C38.238043,52.8684946 33.846,48.4289247 32.8387097,47.4107312 L32.8387097,34.0246452 L42.2856559,43.4715914 C42.2929247,44.773828 
 42.3273118,51.1631183 42.327871,54.4388387 C42.3281505,54.902086 42.7036129,55.2775484 43.1668602,55.2775484 C43.6301075,55.2775484 44.0055699,54.9018065 44.0052903,54.4388387 C44.0050108,51.9433978 43.9848817,47.646129 43.9723011,45.157957 L49.1988602,50.3847957 C49.3624086,50.5486237 49.5771183,50.6305376 49.791828,50.6305376 C50.0062581,50.6305376 50.2212473,50.5486237 50.3847957,50.3847957 C50.7124516,50.0574194 50.7124516,49.525957 50.3847957,49.1988602 L45.2499355,44.0637204 C46.1378495,44.067914 47.0238065,44.0757419 47.8927097,44.0866452 C50.010172,44.1134839 52.1992043,44.1411613 54.4038925,44.0676344 C54.8668602,44.0522581 55.2297419,43.6647742 55.2143656,43.2015269 C55.1987097,42.7385591 54.8173763,42.3812688 54.3479785,42.3913333 C52.1821505,42.4626237 50.012129,42.4355054 47.9136774,42.4095054 C46.4937419,42.3916129 45.0301935,42.3751183 43.5733548,42.3874194 L34.0246452,32.8387097 L47.5851828,32.8387097 C48.6450323,33.9206452 49.7347957,34.9869247 50.792129,36.0182581 
 C52.2945376,37.4832043 53.8475484,38.997914 55.327871,40.5797204 C55.4930968,40.756129 55.7164731,40.8455914 55.9406882,40.8455914 C56.1458925,40.8455914 56.3516559,40.7703871 56.5135269,40.6191398 C56.8518065,40.3026667 56.8694194,39.772043 56.5526667,39.4337634 C55.0463441,37.824 53.4790753,36.2953118 51.9632473,34.8172258 C51.2992688,34.1697419 50.623828,33.5068817 49.9511828,32.8387097 L57.1612903,32.8387097 C57.6245376,32.8387097 58,32.4632473 58,32 C58,31.5367527 57.6245376,31.1612903 57.1612903,31.1612903" id="icon" stroke="#40E0D0" fill="#40E0D0" stroke-linecap="square" stroke-linejoin="bevel"></path>
+            </g>
+        </g>
+    </g>
+</svg>
\ 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"





More information about the tor-commits mailing list