diff options
author | Ajay <[email protected]> | 2022-05-31 13:12:01 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2022-05-31 13:12:01 -0400 |
commit | 97aea1c268a90406b6a09c9e54cdbbf5c45fbbd3 (patch) | |
tree | 9b14abc93584da2a14e2a2caef9fb3cd0ddf7302 | |
parent | b70f50e1a04f73ddc7e33a4e252f0edd37e44963 (diff) | |
download | SponsorBlock-guidelines.tar.gz SponsorBlock-guidelines.zip |
Fix icon sizesguidelines
-rw-r--r-- | manifest/manifest.json | 1 | ||||
-rw-r--r-- | public/icons/check-smaller.svg | 38 | ||||
-rw-r--r-- | public/icons/right-arrow.svg | 14 | ||||
-rw-r--r-- | src/utils/constants.ts | 6 |
4 files changed, 49 insertions, 10 deletions
diff --git a/manifest/manifest.json b/manifest/manifest.json index 18a50afd..43c7ce73 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -34,6 +34,7 @@ "icons/settings.svg", "icons/pencil.svg", "icons/check.svg", + "icons/check-smaller.svg", "icons/upvote.png", "icons/downvote.png", "icons/thumbs_down.svg", diff --git a/public/icons/check-smaller.svg b/public/icons/check-smaller.svg new file mode 100644 index 00000000..cf9533d8 --- /dev/null +++ b/public/icons/check-smaller.svg @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="24" + height="24" + version="1.1" + id="svg4" + sodipodi:docname="check-smaller.svg" + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs8" /> + <sodipodi:namedview + id="namedview6" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + inkscape:pagecheckerboard="0" + showgrid="false" + inkscape:zoom="26.25" + inkscape:cx="12.038095" + inkscape:cy="12" + inkscape:window-width="1920" + inkscape:window-height="983" + inkscape:window-x="482" + inkscape:window-y="768" + inkscape:window-maximized="1" + inkscape:current-layer="svg4" /> + <path + fill="#ffffff" + d="M 17.69347,4.9833775 9.9421192,12.940517 6.3065298,9.5107153 3.7684768,12.048769 9.9421192,18.016623 20.231523,7.5214304 Z" + id="path2" + style="stroke-width:0.68596" /> +</svg> diff --git a/public/icons/right-arrow.svg b/public/icons/right-arrow.svg index 638cf96e..57459f77 100644 --- a/public/icons/right-arrow.svg +++ b/public/icons/right-arrow.svg @@ -22,16 +22,16 @@ inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="13.125" - inkscape:cx="24" + inkscape:cx="24.07619" inkscape:cy="24" - inkscape:window-width="1366" - inkscape:window-height="731" - inkscape:window-x="0" - inkscape:window-y="0" + inkscape:window-width="1920" + inkscape:window-height="983" + inkscape:window-x="482" + inkscape:window-y="768" inkscape:window-maximized="1" inkscape:current-layer="svg4" /> <path - d="M15.2 43.9 12.4 41.05 29.55 23.9 12.4 6.75 15.2 3.9 35.2 23.9Z" + d="M 17.039265,39.62264 14.838095,37.382164 28.320259,23.9 14.838095,10.417836 17.039265,8.1773601 32.761905,23.9 Z" id="path2" - style="fill:#ffffff" /> + style="fill:#ffffff;stroke-width:0.786132" /> </svg> diff --git a/src/utils/constants.ts b/src/utils/constants.ts index dbd2e1a2..3530f234 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -58,7 +58,7 @@ export function getGuidelineInfo(category: Category): TextBox[] { }]; case "intro": return [{ - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline1`) }, { icon: "icons/close-smaller.svg", @@ -83,10 +83,10 @@ export function getGuidelineInfo(category: Category): TextBox[] { }]; case "preview": return [{ - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline1`) }, { - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline2`) }, { icon: "icons/close-smaller.svg", |