Update Linux & Windows icons

This commit is contained in:
Alex Spataru 2025-01-07 23:01:40 -05:00
parent 5054ab3ec5
commit 748d443c72
10 changed files with 52 additions and 13 deletions

View File

@ -109,7 +109,7 @@ jobs:
export QMAKE=/home/runner/work/${{env.EXECUTABLE}}/Qt/${{env.QT_VERSION_LINUX}}/gcc_64/bin/qmake
export PATH=/home/runner/work/${{env.EXECUTABLE}}/Qt/${{env.QT_VERSION_LINUX}}/gcc_64/libexec:$PATH
./linuxdeploy-x86_64.AppImage --appdir AppDir -e ${{env.UNIXNAME}} -i ../../app/deploy/linux/${{env.UNIXNAME}}.png -d ../../app/deploy/linux/${{env.UNIXNAME}}.desktop --plugin qt --output appimage
./linuxdeploy-x86_64.AppImage --appdir AppDir -e ${{env.UNIXNAME}} -i ../../app/deploy/linux/${{env.UNIXNAME}}.svg -d ../../app/deploy/linux/${{env.UNIXNAME}}.desktop --plugin qt --output appimage
rm linuxdeploy-x86_64.AppImage
rm linuxdeploy-plugin-qt-x86_64.AppImage

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1024 1024">
<defs>
<style>
.cls-1 {
fill: url(#linear-gradient-3);
}
.cls-2 {
fill: url(#linear-gradient-2);
}
.cls-3 {
fill: #fff;
}
.cls-4 {
fill: url(#linear-gradient);
}
</style>
<linearGradient id="linear-gradient" x1="-6.72" y1="512" x2="990.13" y2="512" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1983ca"/>
<stop offset="1" stop-color="#2b36b3"/>
</linearGradient>
<linearGradient id="linear-gradient-2" x1="525.34" y1="456.46" x2="450.2" y2="822.96" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff"/>
<stop offset=".97" stop-color="#2359bd"/>
<stop offset="1" stop-color="#2b36b3"/>
</linearGradient>
<linearGradient id="linear-gradient-3" x1="700.34" y1="414.89" x2="589.33" y2="295.42" xlink:href="#linear-gradient-2"/>
</defs>
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
<g>
<g id="Layer_1">
<g>
<rect class="cls-4" y="0" width="1024" height="1024" rx="250" ry="250"/>
<g>
<polygon class="cls-3" points="856.03 427.17 856.03 549.08 701.02 549.08 626.12 381.2 454.17 848.7 362.07 848.7 246.86 570.7 167.99 570.7 167.99 448.74 328.3 448.74 404.08 631.6 571.91 175.28 667.72 175.28 780.1 427.17 856.03 427.17"/>
<path class="cls-2" d="M404.08,631.6h0c24.84,58.91,108.99,56.96,131.06-3.05l90.98-247.35h-129.94l-92.09,250.4Z"/>
<path class="cls-1" d="M626.12,381.2l19.97-58.1c13.63-39.66,68.8-42.11,85.89-3.81l48.13,107.88-79.07,121.91-74.9-167.88Z"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -225,6 +225,7 @@
<file>images/donate-qr.svg</file>
<file>images/drag-and-drop.svg</file>
<file>images/hammer.svg</file>
<file>images/appimage_icon.png</file>
<file>images/icon-small@1x.png</file>
<file>images/icon-small@2x.png</file>
<file>images/icon@1x.png</file>

View File

@ -87,7 +87,8 @@ int main(int argc, char **argv)
// Linux specific initialization code
#ifdef Q_OS_LINUX
setupAppImageIcon(APP_EXECUTABLE, QStringLiteral(":/rcc/images/icon@2x.png"));
setupAppImageIcon(APP_EXECUTABLE,
QStringLiteral(":/rcc/images/appimage_icon.png"));
#endif
// Avoid 200% scaling on 150% scaling...

View File

@ -28,17 +28,9 @@
<stop offset="1" stop-color="#2b36b3"/>
</linearGradient>
<linearGradient id="linear-gradient-3" x1="700.34" y1="414.89" x2="589.33" y2="295.42" xlink:href="#linear-gradient-2"/>
<filter id="shadow" x="-10%" y="-10%" width="120%" height="120%">
<feOffset dx="0" dy="10" in="SourceAlpha" result="offset"/>
<feGaussianBlur in="offset" stdDeviation="10" result="blur"/>
<feColorMatrix in="blur" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" result="shadow"/>
<feMerge>
<feMergeNode in="shadow"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<g transform="translate(96, 96) scale(0.8125)" filter="url(#shadow)">
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
<g>
<g id="Layer_1">
<g>
<rect class="cls-4" y="0" width="1024" height="1024" rx="250" ry="250"/>
@ -50,4 +42,4 @@
</g>
</g>
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB