icon & exclude package-lock.json

This commit is contained in:
iw0 2024-04-11 11:26:23 +02:00
parent 61c0dbdf01
commit cc7a1ceda5
5 changed files with 83 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
icons/icon@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

77
icons/icon_edit.svg Normal file
View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="85.599998mm"
height="85.599998mm"
viewBox="0 0 85.599998 85.599999"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20e, 2023-11-25)"
sodipodi:docname="icon_edit.svg"
inkscape:export-filename="icons/icon.png"
inkscape:export-xdpi="14.24299"
inkscape:export-ydpi="14.24299"
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">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="1.0886393"
inkscape:cx="158.91398"
inkscape:cy="190.60492"
inkscape:window-width="1472"
inkscape:window-height="822"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1">
<rect
x="92.863785"
y="387.76907"
width="306.28476"
height="129.25635"
id="rect2" />
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-20.008051,-89.369286)">
<g
id="g3"
transform="translate(0,15.81)">
<rect
style="fill:#000000;stroke-width:3"
id="rect1"
width="85.599998"
height="53.98"
x="20.008051"
y="89.369286"
ry="2.7539999" />
<path
style="font-weight:bold;font-size:42.5107px;line-height:0.9;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans, Bold';text-align:center;letter-spacing:0px;text-anchor:middle;white-space:pre;fill:#ffffff;stroke-width:11.842"
d="m 26.934535,134.77064 v -5.37214 h 8.346801 v -20.77822 h -0.399574 l -6.304501,8.25801 -4.262201,-3.32984 7.414451,-9.76754 h 10.211514 v 25.61759 h 6.570884 v 5.37214 z m 35.784716,0.53278 q -6.082505,0 -9.01277,-4.21781 -2.930265,-4.21779 -2.930265,-11.80983 0,-7.59204 2.930265,-11.80984 2.930265,-4.21781 9.01277,-4.21781 6.082515,0 9.012769,4.21781 2.930265,4.2178 2.930265,11.80984 0,7.59204 -2.930265,11.80983 -2.930254,4.21781 -9.012769,4.21781 z m 0,-5.63854 q 2.663871,0 3.685026,-1.9535 1.021156,-1.95351 1.021156,-5.50535 v -5.86051 q 0,-3.55183 -1.021156,-5.50535 -1.021155,-1.9535 -3.685026,-1.9535 -2.663872,0 -3.685027,1.9535 -1.021145,1.95352 -1.021145,5.50535 v 5.86051 q 0,3.55184 1.021145,5.50535 1.021155,1.9535 3.685027,1.9535 z m 26.638755,5.63854 q -6.082516,0 -9.01277,-4.21781 -2.930265,-4.21779 -2.930265,-11.80983 0,-7.59204 2.930265,-11.80984 2.930254,-4.21781 9.01277,-4.21781 6.082515,0 9.012769,4.21781 2.930265,4.2178 2.930265,11.80984 0,7.59204 -2.930265,11.80983 -2.930254,4.21781 -9.012769,4.21781 z m 0,-5.63854 q 2.663871,0 3.685027,-1.9535 1.021145,-1.95351 1.021145,-5.50535 v -5.86051 q 0,-3.55183 -1.021145,-5.50535 -1.021156,-1.9535 -3.685027,-1.9535 -2.663872,0 -3.685027,1.9535 -1.021145,1.95352 -1.021145,5.50535 v 5.86051 q 0,3.55184 1.021145,5.50535 1.021155,1.9535 3.685027,1.9535 z"
id="text1"
aria-label="100" />
<rect
style="fill:#ff0000;stroke-width:3.31804"
id="rect3"
width="85.599998"
height="5.3264179"
x="20.008051"
y="94.00753" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -2,9 +2,10 @@
"manifest_version": 2, "manifest_version": 2,
"name": "BC100 Autofill", "name": "BC100 Autofill",
"description": "Autofills your BahnCard 100 number and birthday into the passenger rights claim form.", "description": "Autofills your BahnCard 100 number and birthday into the passenger rights claim form.",
"version": "0.2.0", "version": "0.2.1",
"icons": { "icons": {
"64": "icons/icon.png" "48": "icons/icon.png",
"96": "icons/icon@2x.png"
}, },
"content_scripts": [ "content_scripts": [
{ {

View File

@ -3,7 +3,9 @@ module.exports = {
"README.md", "README.md",
"package.json", "package.json",
"web-ext-config.js", "web-ext-config.js",
".DS_Store" ".DS_Store",
"package-lock.json",
"icons/*.svg"
], ],
run: { run: {
devtools: true, devtools: true,