From 4e0fc76fe1d4bf38cfbef370fcc55331108e0e0a Mon Sep 17 00:00:00 2001
From: toasted-nutbread
Date: Sun, 26 Apr 2020 16:56:14 -0400
Subject: [PATCH] Add Yomichan icon SVG (#478)
* Create Yomichan icon SVG and 32x32 PNG
* Update icons
* Add 32x32 icon definition to HTML pages
---
ext/bg/background.html | 1 +
ext/bg/context.html | 1 +
ext/bg/guide.html | 3 +-
ext/bg/legal.html | 1 +
ext/bg/search.html | 1 +
ext/bg/settings-popup-preview.html | 1 +
ext/bg/settings.html | 1 +
ext/fg/float.html | 1 +
ext/manifest.json | 21 +++++++++++--
ext/mixed/img/icon32.png | Bin 0 -> 288 bytes
ext/mixed/img/yomichan-icon.svg | 5 +++
resources/icons.svg | 49 +++++++++++++++++++++++------
12 files changed, 72 insertions(+), 13 deletions(-)
create mode 100644 ext/mixed/img/icon32.png
create mode 100644 ext/mixed/img/yomichan-icon.svg
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 @@
Background
+
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 @@
+
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 @@
Welcome to Yomichan!
+
@@ -25,7 +26,7 @@
- - Click on the icon in the browser toolbar to open the Yomichan actions dialog.
+ - Click on the icon in the browser toolbar to open the Yomichan actions dialog.
- Click on the monkey wrench icon in the middle to open the options page.
- Import the dictionaries you wish to use for term and Kanji searches.
- Hold down Shift key or the middle mouse button as you move your mouse over text to display definitions.
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 @@
Yomichan Legal
+
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 @@
Yomichan Search
+
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 @@
Yomichan Popup Preview
+
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 @@
Yomichan Options
+
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 @@
+
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.png
new file mode 100644
index 0000000000000000000000000000000000000000..05f2f064fdc8e15c15b5cbf51d1094f8471911b9
GIT binary patch
literal 288
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@;M7UB8wRq
zWZOZQvH$7ERG^?_iEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$Qb0v>JzX3_
zB3j>G59B&zAmDm&@~c-dU7^z-SY^Kq%lTs<5~b;J@K}GP!GxBU^2wac%$(si21@@e
zjy)>Xyq9M^W1TB^t!snc!%jEZ-jx%4PFb#hGgo`5$?SaF@Yl~64PHLxUz0iWajM?-
zRlm4d92jJ#bKei!viA8Rp?|UtA%_?^8dkJ02JAJ=Gzc+j{};fv+>4?7US`I{o9k`g
c7r0e1UW=V^IrNNn5740up00i_>zopr0N}T2!~g&Q
literal 0
HcmV?d00001
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 @@
+
+
\ 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">
image/svg+xml
-
+
@@ -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" />
+
+
+
+
+
+
+
+