change icon

This commit is contained in:
Thomas Rupprecht 2021-11-06 11:13:36 +01:00
parent d1803778b7
commit ab49fbda15
2 changed files with 28 additions and 5 deletions

23
icons/favicon.svg Normal file
View File

@ -0,0 +1,23 @@
<svg id="root" width="16" height="16" viewBox="-32 -32 64 64" xmlns="http://www.w3.org/2000/svg">
<title>/usr/space</title>
<desc>Logo /usr/space</desc>
<defs>
<style type="text/css">
#root {
stroke: #2AA1BF;
}
@media (prefers-color-scheme: dark) {
#root {
stroke: #FFF;
}
}
</style>
<marker id="circle" viewBox="-4 -4 8 8" markerWidth="8.5" markerHeight="8.5" markerUnits="userSpaceOnUse" refX="3" orient="auto-start-reverse">
<circle cx="0" cy="0" r="2" fill="none" stroke-width="4"/>
</marker>
</defs>
<g fill="none" stroke-width="4">
<path marker-start="url(#circle)" marker-end="url(#circle)" d="M 0,-21.69431 0,-1.299519 a 2.2499999,2.2499999 0 0 0 1.125624,1.948918 l 21.5,12.403846 A 2.25,2.25 0 0 0 26,11.104327 v -24.804808 a 2.2499999,2.2499999 0 0 0 -1.125624,-1.948918 l -23.75,-13.701923 a 2.25,2.25 0 0 0 -2.248752,0 l -23.749999,13.701923 A 2.2499999,2.2499999 0 0 0 -26,-13.700481 v 24.804808 a 2.25,2.25 0 0 0 3.374376,1.948918 L -6.154917,3.550914"/>
<path marker-start="url(#circle)" marker-end="url(#circle)" d="m 18.850376,19.124785 -17.726,10.226537 a 2.25,2.25 0 0 1 -2.248752,0 L -18.844457,19.128198"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -4,8 +4,8 @@
"version": "0.6",
"description": "An Add-on for the Hacker-/Maker-Space /usr/space.",
"icons": {
"48": "icons/logo.svg",
"96": "icons/logo.svg"
"48": "icons/favicon.svg",
"96": "icons/favicon.svg"
},
"background": {
"page": "background/index.html"
@ -14,10 +14,10 @@
"browser_style": true,
//"chrome_style": true,
"default_title": "/usr/space",
//"default_icon": "icons/logo.svg",
//"default_icon": "icons/favicon.svg",
"default_icon": {
"16": "icons/logo.svg",
"32": "icons/logo.svg"
"16": "icons/favicon.svg",
"32": "icons/favicon.svg"
},
"default_area": "navbar",
"default_popup": "popup/index.html"