mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
Adjust icon color to work on light and dark background. Fixes #489
This commit is contained in:
parent
9fc495f51d
commit
920c4332f3
6 changed files with 24 additions and 79 deletions
2
Makefile
2
Makefile
|
@ -61,7 +61,7 @@ translations-to-qm: ## Compile .ts text files to binary .qm files.
|
|||
flatpak-install: translations-to-qm
|
||||
pip3 install --prefix=/app --no-deps .
|
||||
install -D src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml /app/share/metainfo/com.borgbase.Vorta.appdata.xml
|
||||
install -D src/vorta/assets/icons/scalable/com.borgbase.Vorta.svg /app/share/icons/hicolor/scalable/apps/com.borgbase.Vorta.svg
|
||||
install -D package/icon.svg /app/share/icons/hicolor/scalable/apps/com.borgbase.Vorta.svg
|
||||
install -D src/vorta/assets/metadata/com.borgbase.Vorta.desktop /app/share/applications/com.borgbase.Vorta.desktop
|
||||
|
||||
help:
|
||||
|
|
BIN
package/icon.icns
Normal file
BIN
package/icon.icns
Normal file
Binary file not shown.
22
package/icon.svg
Normal file
22
package/icon.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1"
|
||||
id="Layer_1" inkscape:version="0.92.4 5da689c313, 2019-01-14" sodipodi:docname="com.borgbase.Vorta.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 576 576"
|
||||
style="enable-background:new 0 0 576 576;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#888888;}
|
||||
.st1{fill:#E65100;}
|
||||
.st2{fill:#FF9800;}
|
||||
</style>
|
||||
<sodipodi:namedview bordercolor="#666666" borderopacity="1" gridtolerance="10" guidetolerance="10" id="namedview15" inkscape:current-layer="Layer_1" inkscape:cx="291.25424" inkscape:cy="192" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-height="836" inkscape:window-maximized="1" inkscape:window-width="1600" inkscape:window-x="0" inkscape:window-y="27" inkscape:zoom="0.61458333" objecttolerance="10" pagecolor="#ffffff" showgrid="false">
|
||||
</sodipodi:namedview>
|
||||
<title id="title6">vorta</title>
|
||||
<path id="path8" inkscape:connector-curvature="0" class="st0" d="M576,342v96c0,26.5-21.5,48-48,48H48c-26.5,0-48-21.5-48-48v-96
|
||||
c0-26.5,21.5-48,48-48h480C554.5,294,576,315.5,576,342z M528,262c10.6,0,21,2.1,30.8,6.2l-96.5-144.8
|
||||
c-8.9-13.4-23.9-21.4-39.9-21.4H153.7c-16,0-31,8-39.9,21.4L17.2,268.2C27,264.1,37.4,262,48,262H528z M480,358
|
||||
c-17.7,0-32,14.3-32,32s14.3,32,32,32s32-14.3,32-32S497.7,358,480,358z M384,358c-17.7,0-32,14.3-32,32s14.3,32,32,32
|
||||
s32-14.3,32-32S401.7,358,384,358z"/>
|
||||
<circle id="circle10" class="st1" cx="383.8" cy="390.2" r="32.2"/>
|
||||
<circle id="circle12" class="st2" cx="480" cy="390" r="32.2"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -61,7 +61,7 @@ coll = COLLECT(exe,
|
|||
|
||||
app = BUNDLE(coll,
|
||||
name='Vorta.app',
|
||||
icon=os.path.join(SRC_DIR, 'assets/icons/app-icon.icns'),
|
||||
icon='icon.icns',
|
||||
bundle_identifier=None,
|
||||
info_plist={
|
||||
'CFBundleName': APP_NAME,
|
||||
|
|
Binary file not shown.
|
@ -1,77 +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"
|
||||
id="Layer_1"
|
||||
data-name="Layer 1"
|
||||
viewBox="0 0 576 576"
|
||||
version="1.1"
|
||||
sodipodi:docname="com.borgbase.Vorta.svg"
|
||||
width="576"
|
||||
height="576"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14">
|
||||
<metadata
|
||||
id="metadata17">
|
||||
<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>vorta</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="836"
|
||||
id="namedview15"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.61458333"
|
||||
inkscape:cx="291.25424"
|
||||
inkscape:cy="192"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="Layer_1" />
|
||||
<defs
|
||||
id="defs4">
|
||||
<style
|
||||
id="style2">.cls-1{fill:#515151;}.cls-2{fill:#e65100;}.cls-3{fill:#ff9800;}</style>
|
||||
</defs>
|
||||
<title
|
||||
id="title6">vorta</title>
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 576,342 v 96 a 48,48 0 0 1 -48,48 H 48 A 48,48 0 0 1 0,438 v -96 a 48,48 0 0 1 48,-48 h 480 a 48,48 0 0 1 48,48 z m -48,-80 a 79.47,79.47 0 0 1 30.77,6.16 L 462.25,123.37 A 48,48 0 0 0 422.31,102 H 153.68 a 48,48 0 0 0 -39.93,21.37 L 17.22,268.16 A 79.52,79.52 0 0 1 48,262 Z m -48,96 a 32,32 0 1 0 32,32 32,32 0 0 0 -32,-32 z m -96,0 a 32,32 0 1 0 32,32 32,32 0 0 0 -32,-32 z"
|
||||
id="path8"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#515151" />
|
||||
<circle
|
||||
class="cls-2"
|
||||
cx="384.5"
|
||||
cy="390"
|
||||
r="32"
|
||||
id="circle10"
|
||||
style="fill:#e65100" />
|
||||
<circle
|
||||
class="cls-3"
|
||||
cx="480"
|
||||
cy="390"
|
||||
r="32"
|
||||
id="circle12"
|
||||
style="fill:#ff9800" />
|
||||
</svg>
|
Before Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in a new issue