Skip to content

Commit

Permalink
change app icon and default color
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRezaMousavi committed Jun 29, 2024
1 parent f579223 commit d0c68ef
Show file tree
Hide file tree
Showing 20 changed files with 171 additions and 102 deletions.
Binary file modified 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.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ data class ColorPalette(
}
}

private val defaultAccentColor = Color(0xff3e44ce)
private val defaultAccentColor = Color(0xff160330)

val defaultLightPalette = lightColorPalette(defaultAccentColor)
val defaultDarkPalette = darkColorPalette(defaultAccentColor)
Expand Down
14 changes: 6 additions & 8 deletions app/src/main/res/drawable/app_icon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
android:height="128dp"
android:viewportWidth="512"
android:viewportHeight="512">

<path
android:fillColor="#ff000000"
android:pathData="m488.78,464h-158.96a23.22,23.14 0,0 1,-20.45 -34.09l81.54,-151.19a20.87,20.8 0,0 1,36.77 0l81.54,151.19A23.22,23.14 0,0 1,488.78 464Z" />

<path
android:fillColor="#ff000000"
android:pathData="M23.21,48A23.22,23.14 0,0 0,2.77 82.09L202.62,452.65a20.87,20.8 0,0 0,36.77 0L439.26,82.09A23.22,23.14 0,0 0,418.81 48ZM243.4,76.8c2.56,0 3.26,0.28 8.3,3.37 21.27,13.01 42.02,19.39 67.13,20.64 7.14,0.36 7.67,0.45 9.31,1.73 3.47,2.68 3.39,1.94 3.39,30.83 0,28.92 0.09,28.15 -3.42,30.85 -1.76,1.36 -1.82,1.37 -9.56,1.28 -20.04,-0.21 -40.97,-5.38 -61.46,-15.17l-5.63,-2.69 -0.01,59.7c-0.01,36.83 -0.2,61.06 -0.51,63.25 -2.08,14.81 -9.45,28.04 -20.7,37.13 -4.9,3.96 -14.42,8.83 -20.07,10.28 -7.83,2 -15.53,2.51 -22.52,1.49 -13.23,-1.93 -26.85,-9.59 -34.99,-19.67 -13.81,-17.11 -16.93,-39.23 -8.38,-59.35 2.75,-6.46 6.08,-11.29 11.8,-17.09 11.33,-11.49 24.04,-16.76 40.07,-16.63 13.36,0.11 24.98,4.48 35.62,13.4l3.67,3.08v-70.09c0,-78.03 -0.27,-72.12 3.41,-74.96 1.43,-1.11 2.3,-1.37 4.56,-1.37z" />
<path
android:pathData="M488.78,464.01L329.82,464.01A23.14,23.22 116.62,0 1,309.36 429.92L390.91,278.72a20.8,20.88 116.62,0 1,36.78 0l81.55,151.2a23.14,23.22 116.62,0 1,-20.45 34.09z"
android:fillColor="#ff000000"/>
<path
android:pathData="M23.2,47.99A23.14,23.22 90,0 0,2.76 82.08L202.62,452.66a20.8,20.88 90,0 0,36.79 0L439.26,82.08A23.14,23.22 90,0 0,418.8 47.99ZM221.01,71.36c28.76,0 57.87,12.27 79.86,33.68 22.84,22.24 35.41,50.71 35.41,81.59 0,30.88 -13.81,60.98 -23.37,78.35 -9.56,17.37 -22.43,36.92 -34.27,36.92 -16.47,0 -49.4,-16.46 -49.4,-16.46l57.64,-107.03 27.99,16.32a90.34,90.34 45,0 0,0.52 -9.68c0,-25.02 -9.93,-48.44 -28.89,-66.89 -18.29,-17.8 -41.82,-27.24 -65.49,-27.24 -23.67,0 -47.22,9.44 -65.49,27.22 -18.95,18.47 -28.89,41.89 -28.89,66.89a90.61,90.61 0,0 0,0.5 9.7l28.01,-16.32 57.64,107.03c0,0 -32.93,16.46 -49.4,16.46 -11.84,0 -24.71,-19.55 -34.27,-36.92 -9.56,-17.37 -23.37,-47.47 -23.37,-78.35 0,-30.88 12.57,-59.35 35.41,-81.59 21.99,-21.41 51.1,-33.68 79.86,-33.68z"
android:fillColor="#ff000000"/>
</vector>
109 changes: 42 additions & 67 deletions app/src/main/res/drawable/ic_banner_foreground.xml

Large diffs are not rendered by default.

25 changes: 11 additions & 14 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">

<group
android:scaleX="0.5264286"
android:scaleY="0.5264286"
android:translateX="121.23428"
android:translateY="121.23428">

<path
android:fillColor="#3838c2"
android:pathData="M437.86,418.5L313.67,418.5a18.08,18.14 90,0 1,-15.98 -26.63l63.71,-118.12a16.25,16.31 90,0 1,28.73 0l63.71,118.12a18.08,18.14 90,0 1,-15.98 26.63z" />
<path
android:fillColor="#ffffff"
android:pathData="M74.14,93.5A18.14,18.08 0,0 0,58.16 120.13L214.3,409.63a16.31,16.25 0,0 0,28.73 0L399.17,120.13A18.14,18.08 0,0 0,383.19 93.5ZM246.16,116c2,0 2.55,0.22 6.48,2.63 16.61,10.16 32.83,15.15 52.44,16.13 5.58,0.28 5.99,0.36 7.28,1.35 2.71,2.09 2.64,1.51 2.64,24.09 0,22.6 0.07,21.99 -2.67,24.1 -1.38,1.06 -1.42,1.07 -7.47,1 -15.66,-0.17 -32.01,-4.2 -48.02,-11.85l-4.4,-2.1 -0.01,46.64c-0,28.78 -0.16,47.7 -0.4,49.41 -1.62,11.57 -7.38,21.91 -16.17,29 -3.83,3.09 -11.26,6.9 -15.68,8.03 -6.12,1.57 -12.13,1.96 -17.6,1.17 -10.34,-1.51 -20.98,-7.49 -27.33,-15.37 -10.79,-13.37 -13.23,-30.65 -6.54,-46.37 2.15,-5.05 4.75,-8.82 9.22,-13.35 8.86,-8.98 18.78,-13.1 31.31,-12.99 10.44,0.09 19.51,3.5 27.83,10.47l2.87,2.4v-54.76c0,-60.96 -0.21,-56.34 2.66,-58.57C243.71,116.2 244.39,116 246.16,116Z" />
</group>
<group android:scaleX="0.6"
android:scaleY="0.6"
android:translateX="102.4"
android:translateY="102.4">
<path
android:pathData="M431.62,412L312.4,412A17.36,17.41 116.62,0 1,297.06 386.44L358.22,273.04a15.6,15.66 116.62,0 1,27.58 0l61.16,113.4a17.36,17.41 116.62,0 1,-15.34 25.57z"
android:fillColor="#ede90d"/>
<path
android:pathData="M82.44,100A17.36,17.41 90,0 0,67.11 125.56L217,403.5a15.6,15.66 90,0 0,27.59 0L394.48,125.56A17.36,17.41 90,0 0,379.13 100ZM230.79,117.52c21.57,0 43.4,9.21 59.89,25.26 17.13,16.68 26.56,38.04 26.56,61.19 0,23.16 -10.36,45.74 -17.53,58.76 -7.17,13.03 -16.82,27.69 -25.7,27.69 -12.35,0 -37.05,-12.34 -37.05,-12.34l43.23,-80.27 20.99,12.24a67.76,67.76 135,0 0,0.39 -7.26c0,-18.76 -7.45,-36.33 -21.66,-50.17 -13.72,-13.35 -31.37,-20.43 -49.12,-20.43 -17.75,0 -35.41,7.08 -49.12,20.41 -14.21,13.86 -21.66,31.42 -21.66,50.17a67.96,67.96 45,0 0,0.37 7.28l21.01,-12.24 43.23,80.27c0,0 -24.7,12.34 -37.05,12.34 -8.88,0 -18.53,-14.66 -25.7,-27.69 -7.17,-13.03 -17.53,-35.6 -17.53,-58.76 0,-23.16 9.43,-44.51 26.56,-61.19 16.49,-16.06 38.33,-25.26 59.89,-25.26z"
android:fillColor="#ffffff"/>
</group>
</vector>
19 changes: 8 additions & 11 deletions app/src/main/res/drawable/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">

<group
android:scaleX="0.5264286"
android:scaleY="0.5264286"
android:translateX="121.23428"
android:translateY="121.23428">

<group android:scaleX="0.6"
android:scaleY="0.6"
android:translateX="102.4"
android:translateY="102.4">
<path
android:fillColor="#ffffffff"
android:pathData="M437.86,418.5L313.67,418.5a18.08,18.14 90,0 1,-15.98 -26.63l63.71,-118.12a16.25,16.31 90,0 1,28.73 0l63.71,118.12a18.08,18.14 90,0 1,-15.98 26.63z" />
android:pathData="M431.62,412L312.4,412A17.36,17.41 116.62,0 1,297.06 386.44L358.22,273.04a15.6,15.66 116.62,0 1,27.58 0l61.16,113.4a17.36,17.41 116.62,0 1,-15.34 25.57z"
android:fillColor="#ffffff"/>
<path
android:fillColor="#ffffff"
android:pathData="M74.14,93.5A18.14,18.08 0,0 0,58.16 120.13L214.3,409.63a16.31,16.25 0,0 0,28.73 0L399.17,120.13A18.14,18.08 0,0 0,383.19 93.5ZM246.16,116c2,0 2.55,0.22 6.48,2.63 16.61,10.16 32.83,15.15 52.44,16.13 5.58,0.28 5.99,0.36 7.28,1.35 2.71,2.09 2.64,1.51 2.64,24.09 0,22.6 0.07,21.99 -2.67,24.1 -1.38,1.06 -1.42,1.07 -7.47,1 -15.66,-0.17 -32.01,-4.2 -48.02,-11.85l-4.4,-2.1 -0.01,46.64c-0,28.78 -0.16,47.7 -0.4,49.41 -1.62,11.57 -7.38,21.91 -16.17,29 -3.83,3.09 -11.26,6.9 -15.68,8.03 -6.12,1.57 -12.13,1.96 -17.6,1.17 -10.34,-1.51 -20.98,-7.49 -27.33,-15.37 -10.79,-13.37 -13.23,-30.65 -6.54,-46.37 2.15,-5.05 4.75,-8.82 9.22,-13.35 8.86,-8.98 18.78,-13.1 31.31,-12.99 10.44,0.09 19.51,3.5 27.83,10.47l2.87,2.4v-54.76c0,-60.96 -0.21,-56.34 2.66,-58.57C243.71,116.2 244.39,116 246.16,116Z" />
android:pathData="M82.44,100A17.36,17.41 90,0 0,67.11 125.56L217,403.5a15.6,15.66 90,0 0,27.59 0L394.48,125.56A17.36,17.41 90,0 0,379.13 100ZM230.79,117.52c21.57,0 43.4,9.21 59.89,25.26 17.13,16.68 26.56,38.04 26.56,61.19 0,23.16 -10.36,45.74 -17.53,58.76 -7.17,13.03 -16.82,27.69 -25.7,27.69 -12.35,0 -37.05,-12.34 -37.05,-12.34l43.23,-80.27 20.99,12.24a67.76,67.76 135,0 0,0.39 -7.26c0,-18.76 -7.45,-36.33 -21.66,-50.17 -13.72,-13.35 -31.37,-20.43 -49.12,-20.43 -17.75,0 -35.41,7.08 -49.12,20.41 -14.21,13.86 -21.66,31.42 -21.66,50.17a67.96,67.96 45,0 0,0.37 7.28l21.01,-12.24 43.23,80.27c0,0 -24.7,12.34 -37.05,12.34 -8.88,0 -18.53,-14.66 -25.7,-27.69 -7.17,-13.03 -17.53,-35.6 -17.53,-58.76 0,-23.16 9.43,-44.51 26.56,-61.19 16.49,-16.06 38.33,-25.26 59.89,-25.26z"
android:fillColor="#ffffff"/>
</group>
</vector>
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_banner.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 app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#08041D</color>
<color name="ic_launcher_background">#160330</color>
</resources>
51 changes: 51 additions & 0 deletions icon/app_icon_inkscape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions icon/ic_launcher_foreground_inkscape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0c68ef

Please sign in to comment.