TagSpaces is an offline, open source, document manager with tagging support
polish: optimizing icons
Ilian Sapundshiev178f4af48249
diff --git a/app/components/menus/LocationMenu.tsx b/app/components/menus/LocationMenu.tsxindex 649513b42..ccf3a4ae4 100644--- a/app/components/menus/LocationMenu.tsx+++ b/app/components/menus/LocationMenu.tsx@@ -121,8 +121,13 @@ class LocationMenu extends React.Component<Props, State> {}}}>- <div style={{ display: 'none' }} />- <ListSubHeader>{i18n.t('core:chooseLocation')}</ListSubHeader>+ <ListSubHeader+ style={{+ backgroundColor: theme.palette.background.default+ }}+ >+ {i18n.t('core:chooseLocation')}+ </ListSubHeader>{this.props.locations.map((location: Location) => (<MenuItemdata-tid="folderContainerMenuOpenLocation"diff --git a/web/assets/icon128.png b/web/assets/icon128.pngnew file mode 100755index 000000000..900d7924aBinary files /dev/null and b/web/assets/icon128.png differdiff --git a/web/assets/icon32.svg b/web/assets/icon32.svgnew file mode 100755index 000000000..b576580d8--- /dev/null+++ b/web/assets/icon32.svg@@ -0,0 +1,95 @@+<?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"+ version="1.1"+ id="svg4510"+ viewBox="0 0 300 300"+ height="32"+ width="32"+ inkscape:version="0.91 r13725"+ sodipodi:docname="icon32-white.svg">+ <sodipodi:namedview+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1"+ objecttolerance="10"+ gridtolerance="10"+ guidetolerance="10"+ inkscape:pageopacity="0"+ inkscape:pageshadow="2"+ inkscape:window-width="2499"+ inkscape:window-height="1062"+ id="namedview14"+ showgrid="false"+ inkscape:zoom="20.85965"+ inkscape:cx="-1.7831536"+ inkscape:cy="13.341578"+ inkscape:window-x="61"+ inkscape:window-y="18"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg4510" />+ <defs+ id="defs4512" />+ <metadata+ id="metadata4515">+ <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>+ <rect+ style="fill:none;fill-opacity:1;stroke:none"+ id="rect3052-8-1"+ width="299.42227"+ height="299.42227"+ x="-0.019505024"+ y="0.59719056" />+ <path+ inkscape:connector-curvature="0"+ style="fill:#ffffff;fill-opacity:1;stroke:none"+ d="m 181.90177,35.39178 70.88695,43.53834 C 180.29225,225.30843 187.41436,198.23538 124.58989,236.79184 L 65.05006,153.53861 Z"+ id="rect3052-8-2-2" />+ <ellipse+ style="fill:#616577;fill-opacity:1;stroke:none"+ id="path4875-4-7-5-6-2"+ cx="192.4187"+ cy="98.752647"+ rx="15.970615"+ ry="15.782593" />+ <path+ inkscape:connector-curvature="0"+ style="fill:none;stroke:#a466aa;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="M 159.73623,212.55455 134.54529,189.25663"+ id="path3108-5-39-8" />+ <path+ inkscape:connector-curvature="0"+ style="fill:none;stroke:#ffffff;stroke-width:49.19999881;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="m 162.16161,42.80988 90.03628,0.34544 0,86.1724 -115.50748,117.79375 -88.457192,-81.6665 z"+ id="path3923-1-1-4-9-8" />+ <path+ inkscape:connector-curvature="0"+ style="fill:#f7901e;fill-opacity:1;stroke:#33b5be;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="m 204.81469,158.51618 -50.38182,-45.3016"+ id="path3108-9-1-76-7" />+ <path+ inkscape:connector-curvature="0"+ style="fill:#616577;fill-opacity:1;stroke:#f7901e;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="M 182.93838,186.34444 144.48907,152.04452"+ id="path3108-0-7-9-8" />+ <path+ inkscape:connector-curvature="0"+ style="fill:none;stroke:#616577;stroke-width:31.96374702;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="m 164.34385,48.33945 83.03644,0 0,79.10209 L 136.88823,240.8647 54.856273,165.03137 Z"+ id="path3923-1-1-4-9" />+</svg>diff --git a/web/assets/iconpwa-v2.svg b/web/assets/iconpwa-v2.svgdeleted file mode 100644index 45c75a3ad..000000000--- a/web/assets/iconpwa-v2.svg+++ /dev/null@@ -1,137 +0,0 @@-<?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"- version="1.1"- id="svg4510"- viewBox="0 0 300 300"- height="300"- width="300"- inkscape:version="1.0.1 (0767f8302a, 2020-10-17)"- sodipodi:docname="iconpwa-v2.svg"- inkscape:export-xdpi="163.84"- inkscape:export-ydpi="163.84"- inkscape:export-filename="/home/na/TagSpaces/version3/web/assets/iconpwa.png">- <sodipodi:namedview- pagecolor="#ffffff"- bordercolor="#666666"- borderopacity="1"- objecttolerance="10"- gridtolerance="10"- guidetolerance="10"- inkscape:pageopacity="0"- inkscape:pageshadow="2"- inkscape:window-width="1858"- inkscape:window-height="1016"- id="namedview4200"- showgrid="false"- inkscape:zoom="1.1557543"- inkscape:cx="298.2213"- inkscape:cy="139.53407"- inkscape:window-x="62"- inkscape:window-y="27"- inkscape:window-maximized="1"- inkscape:current-layer="svg4510"- showguides="true"- inkscape:guide-bbox="true"- inkscape:document-rotation="0">- <sodipodi:guide- position="263.51449,153.28621"- orientation="1,0"- id="guide4203"- inkscape:locked="false" />- <sodipodi:guide- position="101.04259,37.316867"- orientation="0,1"- id="guide4205"- inkscape:locked="false" />- </sodipodi:namedview>- <defs- id="defs4512" />- <metadata- id="metadata4515">- <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>- <g- transform="translate(0,-752.36216)"- id="layer1"- inkscape:export-xdpi="153.89999"- inkscape:export-ydpi="153.89999">- <rect- y="752.95935"- x="-0.019505024"- height="299.42227"- width="299.42227"- id="rect3052-8-1"- style="fill:none;fill-opacity:1;stroke:none" />- <path- id="rect3052-8-2-2"- d="m 181.90177,787.75394 70.88695,43.53834 C 180.29225,977.67059 187.41436,950.59754 124.58989,989.154 L 65.05006,905.90077 Z"- style="fill:#ffffff;fill-opacity:1;stroke:none" />- <ellipse- ry="15.782593"- rx="15.970615"- cy="851.11481"- cx="192.4187"- id="path4875-4-7-5-6-2"- style="fill:#616577;fill-opacity:1;stroke:none" />- <path- id="path3108-5-39-8"- d="M 159.73623,964.91671 134.54529,941.61879"- style="fill:none;stroke:#a466aa;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />- <path- id="path3923-1-1-4-9-8"- d="m 162.16161,795.17204 90.03628,0.34544 0,86.1724 -115.50748,117.79375 -88.457192,-81.6665 z"- style="fill:none;stroke:#ffffff;stroke-width:34.19813538;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />- <path- id="path3108-9-1-76-7"- d="m 204.81469,910.87834 -50.38182,-45.3016"- style="fill:#f7901e;fill-opacity:1;stroke:#33b5be;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />- <path- id="path3108-0-7-9-8"- d="M 182.93838,938.7066 144.48907,904.40668"- style="fill:#616577;fill-opacity:1;stroke:#f7901e;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />- <path- id="path3923-1-1-4-9"- d="m 164.34385,800.70161 83.03644,0 0,79.10209 -110.49206,113.42316 -82.031957,-75.83333 z"- style="fill:none;stroke:#616577;stroke-width:31.96374702;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />- </g>- <rect- style="fill:#b8d11d;fill-opacity:0.857868;fill-rule:nonzero;stroke:none;stroke-width:0.719552;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"- id="rect4206"- width="118.32621"- height="69.527229"- x="-57.401543"- y="77.63546"- inkscape:export-xdpi="153.89999"- inkscape:export-ydpi="153.89999"- rx="14.88394"- transform="rotate(-46.763437)" />- <text- xml:space="preserve"- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"- x="-55.901237"- y="128.45088"- id="text4202"- inkscape:export-xdpi="153.89999"- inkscape:export-ydpi="153.89999"- transform="rotate(-46.763437)"><tspan- sodipodi:role="line"- id="tspan4204"- x="-55.901237"- y="128.45088"- style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:50px;line-height:1.25;font-family:Ubuntu;-inkscape-font-specification:'Ubuntu Medium';fill:#ffffff;fill-opacity:1">PWA</tspan></text>-</svg>diff --git a/web/index.html b/web/index.htmlindex 21fe7ec50..2e41658cc 100644--- a/web/index.html+++ b/web/index.html@@ -29,7 +29,7 @@<link href="assets/splashscreens/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /><link href="assets/splashscreens/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /><link href="assets/splashscreens/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />- <link rel="icon" sizes="192x192" href="assets/icons/icon-192x192.png" />+ <link rel="icon" href="assets/icon128.png" /><link rel="stylesheet" type="text/css" href="dist/style.css"><link rel="manifest" href="manifest.json" crossorigin="use-credentials"><script type="text/javascript" src="extconfig.js"></script>diff --git a/web/manifest.json b/web/manifest.jsonindex 5e1baf938..f3e16ed88 100644--- a/web/manifest.json+++ b/web/manifest.json@@ -12,19 +12,25 @@"src": "/assets/icons/icon-192x192.png","sizes": "192x192","type": "image/png",- "purpose": "any maskable"+ "purpose": "maskable"},{"src": "/assets/icons/icon-256x256.png","sizes": "256x256","type": "image/png",- "purpose": "any maskable"+ "purpose": "maskable"},{"src": "/assets/icons/icon-512x512.png","sizes": "512x512","type": "image/png",- "purpose": "any maskable"+ "purpose": "maskable"+ },+ {+ "src": "/assets/iconpwa.png",+ "sizes": "512x512",+ "type": "image/png",+ "purpose": "any"}],"start_url": "/index.html",