better manifest

master 0.3
Ondřej Hruška 5 years ago
parent ca3071514f
commit e7d07a5729
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 30
      icon-dark.svg
  2. 79
      icon-light.svg
  3. 50
      manifest.json

@ -7,12 +7,12 @@
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="42" width="48"
height="42" height="48"
viewBox="0 0 112 112" viewBox="0 0 128 128"
version="1.1" version="1.1"
id="svg4" id="svg4"
sodipodi:docname="icon.svg" sodipodi:docname="icon-dark.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14"> inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata <metadata
id="metadata10"> id="metadata10">
@ -41,9 +41,9 @@
inkscape:window-height="1139" inkscape:window-height="1139"
id="namedview6" id="namedview6"
showgrid="true" showgrid="true"
inkscape:zoom="6.9532167" inkscape:zoom="9.8333334"
inkscape:cx="-11.076832" inkscape:cx="18.393548"
inkscape:cy="2.0520977" inkscape:cy="12.10345"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="30" inkscape:window-y="30"
inkscape:window-maximized="1" inkscape:window-maximized="1"
@ -55,24 +55,24 @@
<inkscape:grid <inkscape:grid
type="xygrid" type="xygrid"
id="grid4522" id="grid4522"
originx="-4.4089761" originx="-0.8372101"
originy="-21.842435" /> originy="-20.86645" />
</sodipodi:namedview> </sodipodi:namedview>
<path <path
style="fill:#0071ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.66666675px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.66666675px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 22.752019,6.9806825 H 41.343764 V 37.093346 H 59.935507 L 32.047892,69.356911 2.3010931,37.093346 H 22.752019 Z" d="M 26.0472,2.551346 H 44.638945 V 32.66401 H 63.230688 L 35.343073,64.927576 5.5962699,32.66401 H 26.0472 Z"
id="path4520" id="path4520"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" /> sodipodi:nodetypes="cccccccc" />
<path <path
style="fill:none;fill-rule:evenodd;stroke:#0071ff;stroke-width:8.53333378;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:10.9333334;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 78.237951,59.234645 C 61.985372,50.183904 37.606511,86.386874 49.795957,99.962984 66.04852,109.01371 90.427368,77.336122 82.301101,63.760013" d="M 78.069796,63.895645 C 55.030612,52.135229 20.471845,99.176901 37.751251,116.81754 60.790413,128.57794 95.349157,87.416469 83.8296,69.775849"
id="path4524" id="path4524"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" /> sodipodi:nodetypes="ccc" />
<path <path
style="fill:none;fill-rule:evenodd;stroke:#0071ff;stroke-width:8.53333378;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:10.9333334;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 74.322044,89.148066 C 90.574618,98.198804 114.95354,61.995844 102.76408,48.419735 86.511469,39.368997 62.132613,71.046584 70.2589,84.622694" d="M 71.16279,100.86645 C 94.201967,112.62686 128.76078,65.58521 111.48135,47.944589 88.442167,36.184179 53.883406,77.345623 65.402995,94.986244"
id="path4524-3" id="path4524-3"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" /> sodipodi:nodetypes="ccc" />

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
viewBox="0 0 128 128"
version="1.1"
id="svg4"
sodipodi:docname="icon-dark.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1139"
id="namedview6"
showgrid="true"
inkscape:zoom="9.8333334"
inkscape:cx="18.393548"
inkscape:cy="12.10345"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:current-layer="svg4"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
<inkscape:grid
type="xygrid"
id="grid4522"
originx="-0.8372101"
originy="-20.86645" />
</sodipodi:namedview>
<path
style="fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.66666675px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 26.0472,2.551346 H 44.638945 V 32.66401 H 63.230688 L 35.343073,64.927576 5.5962699,32.66401 H 26.0472 Z"
id="path4520"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#bebebe;stroke-width:10.9333334;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 78.069796,63.895645 C 55.030612,52.135229 20.471845,99.176901 37.751251,116.81754 60.790413,128.57794 95.349157,87.416469 83.8296,69.775849"
id="path4524"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#bebebe;stroke-width:10.9333334;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 71.16279,100.86645 C 94.201967,112.62686 128.76078,65.58521 111.48135,47.944589 88.442167,36.184179 53.883406,77.345623 65.402995,94.986244"
id="path4524-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -1,29 +1,31 @@
{ {
"applications":{ "manifest_version":2,
"gecko":{ "author": "Ondřej Hruška",
"id":"@save_link_to_file", "name":"Save Link to File",
"strict_min_version":"64.0" "version":"0.3",
} "description":"Saves the current page as a HTML file with auto-redirect. It's like a bookmark you can store anywhere on your disk.",
}, "icons":{
"manifest_version":2, "48":"icon-dark.svg",
"author": "Ondřej Hruška", "128":"icon-dark.svg"
"name":"Save Link to File", },
"version":"0.2", "background":{
"description":"Saves the current page as a HTML file with auto-redirect. It's like a bookmark you can store anywhere on your disk.", "scripts":["background.js"]
"icons":{ },
"48":"icon.svg", "permissions":[
"128":"icon.svg"
},
"background":{
"scripts":["background.js"]
},
"permissions":[
"activeTab", "activeTab",
"downloads" "downloads"
], ],
"browser_action": { "browser_action": {
"browser_style": true, "default_title": "Save Link",
"default_icon": "icon.svg", "default_icon": "icon-dark.svg",
"default_title": "Save Link" "theme_icons": [{
"light": "icon-light.svg",
"dark": "icon-dark.svg",
"size": 32
},{
"light": "icon-light.svg",
"dark": "icon-dark.svg",
"size": 16
}]
} }
} }

Loading…
Cancel
Save