diff options
| -rw-r--r-- | ext/bg/background.html | 1 | ||||
| -rw-r--r-- | ext/bg/context.html | 1 | ||||
| -rw-r--r-- | ext/bg/guide.html | 3 | ||||
| -rw-r--r-- | ext/bg/legal.html | 1 | ||||
| -rw-r--r-- | ext/bg/search.html | 1 | ||||
| -rw-r--r-- | ext/bg/settings-popup-preview.html | 1 | ||||
| -rw-r--r-- | ext/bg/settings.html | 1 | ||||
| -rw-r--r-- | ext/fg/float.html | 1 | ||||
| -rw-r--r-- | ext/manifest.json | 21 | ||||
| -rw-r--r-- | ext/mixed/img/icon32.png | bin | 0 -> 288 bytes | |||
| -rw-r--r-- | ext/mixed/img/yomichan-icon.svg | 5 | ||||
| -rw-r--r-- | resources/icons.svg | 49 | 
12 files changed, 72 insertions, 13 deletions
| diff --git a/ext/bg/background.html b/ext/bg/background.html index 3446d9ce..ee5a1f32 100644 --- a/ext/bg/background.html +++ b/ext/bg/background.html @@ -6,6 +6,7 @@          <title>Background</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/bg/context.html b/ext/bg/context.html index 394869b1..93012d70 100644 --- a/ext/bg/context.html +++ b/ext/bg/context.html @@ -5,6 +5,7 @@          <meta name="viewport" content="width=device-width,initial-scale=1" />          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/bg/guide.html b/ext/bg/guide.html index ff9c71ee..cde520d1 100644 --- a/ext/bg/guide.html +++ b/ext/bg/guide.html @@ -6,6 +6,7 @@          <title>Welcome to Yomichan!</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> @@ -25,7 +26,7 @@              </p>              <ol> -                <li>Click on the <img src="/mixed/img/icon16.png" alt> icon in the browser toolbar to open the Yomichan actions dialog.</li> +                <li>Click on the <img src="/mixed/img/yomichan-icon.svg" alt> icon in the browser toolbar to open the Yomichan actions dialog.</li>                  <li>Click on the <em>monkey wrench</em> icon in the middle to open the options page.</li>                  <li>Import the dictionaries you wish to use for term and Kanji searches.</li>                  <li>Hold down <kbd>Shift</kbd> key or the middle mouse button as you move your mouse over text to display definitions.</li> diff --git a/ext/bg/legal.html b/ext/bg/legal.html index 78acf79a..1ee9a28c 100644 --- a/ext/bg/legal.html +++ b/ext/bg/legal.html @@ -6,6 +6,7 @@          <title>Yomichan Legal</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/bg/search.html b/ext/bg/search.html index 9a824776..8ed6c838 100644 --- a/ext/bg/search.html +++ b/ext/bg/search.html @@ -6,6 +6,7 @@          <title>Yomichan Search</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/bg/settings-popup-preview.html b/ext/bg/settings-popup-preview.html index 66475b7c..a332fb22 100644 --- a/ext/bg/settings-popup-preview.html +++ b/ext/bg/settings-popup-preview.html @@ -6,6 +6,7 @@          <title>Yomichan Popup Preview</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/bg/settings.html b/ext/bg/settings.html index 96c1db82..f0236193 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -6,6 +6,7 @@          <title>Yomichan Options</title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/fg/float.html b/ext/fg/float.html index 07c3c9e6..deb9e9d2 100644 --- a/ext/fg/float.html +++ b/ext/fg/float.html @@ -6,6 +6,7 @@          <title></title>          <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">          <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> +        <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">          <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">          <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">          <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> diff --git a/ext/manifest.json b/ext/manifest.json index 4f35b03c..3cb634f0 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -4,9 +4,26 @@      "version": "20.4.18.0",      "description": "Japanese dictionary with Anki integration", -    "icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, +    "icons": { +        "16": "mixed/img/icon16.png", +        "19": "mixed/img/icon19.png", +        "32": "mixed/img/icon32.png", +        "38": "mixed/img/icon38.png", +        "48": "mixed/img/icon48.png", +        "64": "mixed/img/icon48.png", +        "128": "mixed/img/icon128.png" +    },      "browser_action": { -        "default_icon": {"19": "mixed/img/icon19.png", "38": "mixed/img/icon38.png"}, +        "default_icon": { +            "16": "mixed/img/icon16.png", +            "19": "mixed/img/icon19.png", +            "32": "mixed/img/icon32.png", +            "38": "mixed/img/icon38.png", +            "48": "mixed/img/icon48.png", +            "64": "mixed/img/icon48.png", +            "128": "mixed/img/icon128.png" +        }, +        "default_title": "Yomichan",          "default_popup": "bg/context.html"      }, diff --git a/ext/mixed/img/icon32.png b/ext/mixed/img/icon32.pngBinary files differ new file mode 100644 index 00000000..05f2f064 --- /dev/null +++ b/ext/mixed/img/icon32.png diff --git a/ext/mixed/img/yomichan-icon.svg b/ext/mixed/img/yomichan-icon.svg new file mode 100644 index 00000000..f15ab0aa --- /dev/null +++ b/ext/mixed/img/yomichan-icon.svg @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> + <rect width="16" height="16" rx="1.625" ry="1.625"/> + <path d="m2 2v2h3v3h-3v2h3v3h-3v2h5v-12h-5zm7 0v2h5v-2h-5zm0 5v2h5v-2h-5zm0 5v2h5v-2h-5z" fill="#fff"/> +</svg>
\ No newline at end of file diff --git a/resources/icons.svg b/resources/icons.svg index 4bc46c02..f096947b 100644 --- a/resources/icons.svg +++ b/resources/icons.svg @@ -15,10 +15,11 @@     viewBox="0 0 16 16"     version="1.1"     id="svg8" -   inkscape:version="0.92.3 (2405546, 2018-03-11)" +   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"     sodipodi:docname="icons.svg" -   inkscape:export-xdpi="96" -   inkscape:export-ydpi="96"> +   inkscape:export-xdpi="192" +   inkscape:export-ydpi="192" +   inkscape:export-filename="../ext/mixed/img/icon32.png">    <sodipodi:namedview       id="base"       pagecolor="#ffffff" @@ -27,15 +28,15 @@       inkscape:pageopacity="0.0"       inkscape:pageshadow="2"       inkscape:zoom="31.678384" -     inkscape:cx="4.6828273" -     inkscape:cy="7.5629224" +     inkscape:cx="6.7837201" +     inkscape:cy="7.0569373"       inkscape:document-units="px" -     inkscape:current-layer="layer16" +     inkscape:current-layer="layer24"       showgrid="true"       units="px"       inkscape:snap-center="true"       inkscape:window-width="1920" -     inkscape:window-height="1018" +     inkscape:window-height="1017"       inkscape:window-x="-8"       inkscape:window-y="-8"       inkscape:window-maximized="1" @@ -498,12 +499,12 @@          <dc:format>image/svg+xml</dc:format>          <dc:type             rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> -        <dc:title /> +        <dc:title></dc:title>        </cc:Work>      </rdf:RDF>    </metadata>    <g -     style="display:inline" +     style="display:none"       inkscape:label="Add Term Kanji"       id="layer5"       inkscape:groupmode="layer"> @@ -520,7 +521,7 @@           style="image-rendering:optimizeSpeed"           xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLpZPrS5NhGIf9W7YvBYOkhlko qCklWChv2WyKik7blnNris72bi6dus0DLZ0TDxW1odtopDs4D8MDZuLU0kXq61CijSIIasOvv94V TUfLiB74fXngup7nvrnvJABJ/5PfLnTTdcwOj4RsdYmo5glBWP6iOtzwvIKSWstI0Wgx80SBblpK tE9KQs/We7EaWoT/8wbWP61gMmCH0lMDvokT4j25TiQU/ITFkek9Ow6+7WH2gwsmahCPdwyw75uw 9HEO2gUZSkfyI9zBPCJOoJ2SMmg46N61YO/rNoa39Xi41oFuXysMfh36/Fp0b7bAfWAH6RGi0Hgl WNCbzYgJaFjRv6zGuy+b9It96N3SQvNKiV9HvSaDfFEIxXItnPs23BzJQd6DDEVM0OKsoVwBG/1V MzpXVWhbkUM2K4oJBDYuGmbKIJ0qxsAbHfRLzbjcnUbFBIpx/qH3vQv9b3U03IQ/HfFkERTzfFj8 w8jSpR7GBE123uFEYAzaDRIqX/2JAtJbDat/COkd7CNBva2cMvq0MGxp0PRSCPF8BXjWG3FgNHc9 XPT71Ojy3sMFdfJRCeKxEsVtKwFHwALZfCUk3tIfNR8XiJwc1LmL4dg141JPKtj3WUdNFJqLGFVP C4OkR4BxajTWsChY64wmCnMxsWPCHcutKBxMVp5mxA1S+aMComToaqTRUQknLTH62kHOVEE+VQnj ahscNCy0cMBWsSI0TCQcZc5ALkEYckL5A5noWSBhfm2AecMAjbcRWV0pUTh0HE64TNf0mczcnnQy u/MilaFJCae1nw2fbz1DnVOxyGTlKeZft/Ff8x1BRssfACjTwQAAAABJRU5ErkJggg== "           id="image4539" -         x="4.7683716e-007" +         x="4.7683716e-07"           y="292.76669" />      </g>      <g @@ -889,4 +890,32 @@           inkscape:connector-curvature="0" />      </g>    </g> +  <g +     inkscape:groupmode="layer" +     id="layer22" +     inkscape:label="Yomichan"> +    <g +       inkscape:groupmode="layer" +       id="layer23" +       inkscape:label="Background" +       style="display:inline"> +      <rect +         id="rect3857" +         width="16" +         height="16" +         x="0" +         y="0" +         rx="1.625" +         ry="1.625" /> +    </g> +    <g +       inkscape:groupmode="layer" +       id="layer24" +       inkscape:label="Characters"> +      <path +         style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" +         d="M 2 2 L 2 4 L 5 4 L 5 7 L 2 7 L 2 9 L 5 9 L 5 12 L 2 12 L 2 14 L 7 14 L 7 2 L 2 2 z M 9 2 L 9 4 L 14 4 L 14 2 L 9 2 z M 9 7 L 9 9 L 14 9 L 14 7 L 9 7 z M 9 12 L 9 14 L 14 14 L 14 12 L 9 12 z " +         id="path3859" /> +    </g> +  </g>  </svg> |