Skip to content

Commit

Permalink
feat: update and vectorize icons
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Sep 24, 2024
1 parent c4aca80 commit 49ed64a
Show file tree
Hide file tree
Showing 100 changed files with 598 additions and 98 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
install -Dm644 flatpak/com.adilhanney.saber.metainfo.xml -t AppDir/share/metainfo/
install -Dm644 flatpak/com.adilhanney.saber.metainfo.xml -t AppDir/usr/share/metainfo/
install -Dm644 assets/icon/resized/icon-512x512.png AppDir/share/icons/hicolor/512x512/apps/com.adilhanney.saber.png
install -Dm644 assets/icon/resized/icon-512x512.png AppDir/usr/share/icons/hicolor/512x512/apps/com.adilhanney.saber.png
install -Dm644 assets/icon/icon.svg AppDir/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg
install -Dm644 assets/icon/icon.svg AppDir/usr/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg
install -Dm644 flatpak/com.adilhanney.saber.desktop -t AppDir/share/applications/
Expand Down Expand Up @@ -235,8 +235,8 @@ jobs:
install -Dm644 flatpak/com.adilhanney.saber.metainfo.xml -t AppDir/share/metainfo/
install -Dm644 flatpak/com.adilhanney.saber.metainfo.xml -t AppDir/usr/share/metainfo/
install -Dm644 assets/icon/resized/icon-512x512.png AppDir/share/icons/hicolor/512x512/apps/com.adilhanney.saber.png
install -Dm644 assets/icon/resized/icon-512x512.png AppDir/usr/share/icons/hicolor/512x512/apps/com.adilhanney.saber.png
install -Dm644 assets/icon/icon.svg AppDir/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg
install -Dm644 assets/icon/icon.svg AppDir/usr/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg
install -Dm644 flatpak/com.adilhanney.saber.desktop -t AppDir/share/applications/
Expand Down
Binary file modified android/app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/icon/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon/icon_ios_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions assets/icon/icon_ios_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon/icon_ios_tintable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/icon/icon_ios_tintable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon/icon_maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions assets/icon/icon_maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon/icon_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/icon/icon_monochrome.svg
Binary file modified assets/icon/icon_opaque.png
29 changes: 29 additions & 0 deletions assets/icon/icon_opaque.svg
7 changes: 7 additions & 0 deletions assets/icon/rasterize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

for svg in *.svg; do
png="${svg%.*}.png"
echo "Converting $svg to $png"
magick "$svg" -resize 1024x1024 -background none -transparent white "$png"
done
12 changes: 0 additions & 12 deletions assets/icon/resize-icon.sh

This file was deleted.

5 changes: 5 additions & 0 deletions assets/icon/resized/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
These resized images are no longer needed,
and all just redirect to `assets/icon/icon.png` (1024px).

Please use `assets/icon/icon.svg` for a vector image
or `assets/icon/icon.png` for a 1024px raster image.
Binary file removed assets/icon/resized/icon-128x128.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-128x128.png
Binary file removed assets/icon/resized/icon-16x16.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-16x16.png
Binary file removed assets/icon/resized/icon-24x24.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-24x24.png
Binary file removed assets/icon/resized/icon-256x256.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-256x256.png
Binary file removed assets/icon/resized/icon-32x32.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-32x32.png
Binary file removed assets/icon/resized/icon-48x48.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-48x48.png
Binary file removed assets/icon/resized/icon-512x512.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-512x512.png
Binary file removed assets/icon/resized/icon-64x64.png
Diff not rendered.
1 change: 1 addition & 0 deletions assets/icon/resized/icon-64x64.png
Binary file removed assets_raw/icon/_icon.png
Diff not rendered.
Binary file removed assets_raw/icon/_icon.xcf
Binary file not shown.
Binary file removed assets_raw/icon/_icon_flat.png
Diff not rendered.
11 changes: 0 additions & 11 deletions assets_raw/icon/icon.svg
Diff not rendered.
Loading

0 comments on commit 49ed64a

Please sign in to comment.