Fix icon sizes

This commit is contained in:
Ajay 2022-05-31 13:12:01 -04:00
parent b70f50e1a0
commit 97aea1c268
4 changed files with 49 additions and 10 deletions

View file

@ -34,6 +34,7 @@
"icons/settings.svg", "icons/settings.svg",
"icons/pencil.svg", "icons/pencil.svg",
"icons/check.svg", "icons/check.svg",
"icons/check-smaller.svg",
"icons/upvote.png", "icons/upvote.png",
"icons/downvote.png", "icons/downvote.png",
"icons/thumbs_down.svg", "icons/thumbs_down.svg",

View file

@ -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>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -22,16 +22,16 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
showgrid="false" showgrid="false"
inkscape:zoom="13.125" inkscape:zoom="13.125"
inkscape:cx="24" inkscape:cx="24.07619"
inkscape:cy="24" inkscape:cy="24"
inkscape:window-width="1366" inkscape:window-width="1920"
inkscape:window-height="731" inkscape:window-height="983"
inkscape:window-x="0" inkscape:window-x="482"
inkscape:window-y="0" inkscape:window-y="768"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg4" /> inkscape:current-layer="svg4" />
<path <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" id="path2"
style="fill:#ffffff" /> style="fill:#ffffff;stroke-width:0.786132" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -58,7 +58,7 @@ export function getGuidelineInfo(category: Category): TextBox[] {
}]; }];
case "intro": case "intro":
return [{ return [{
icon: "icons/check.svg", icon: "icons/check-smaller.svg",
text: chrome.i18n.getMessage(`category_${category}_guideline1`) text: chrome.i18n.getMessage(`category_${category}_guideline1`)
}, { }, {
icon: "icons/close-smaller.svg", icon: "icons/close-smaller.svg",
@ -83,10 +83,10 @@ export function getGuidelineInfo(category: Category): TextBox[] {
}]; }];
case "preview": case "preview":
return [{ return [{
icon: "icons/check.svg", icon: "icons/check-smaller.svg",
text: chrome.i18n.getMessage(`category_${category}_guideline1`) text: chrome.i18n.getMessage(`category_${category}_guideline1`)
}, { }, {
icon: "icons/check.svg", icon: "icons/check-smaller.svg",
text: chrome.i18n.getMessage(`category_${category}_guideline2`) text: chrome.i18n.getMessage(`category_${category}_guideline2`)
}, { }, {
icon: "icons/close-smaller.svg", icon: "icons/close-smaller.svg",