Skip to content

Commit

Permalink
add themable (monochrome) icon
Browse files Browse the repository at this point in the history
  • Loading branch information
TinfoilSubmarine committed Apr 12, 2024
1 parent 2fe6110 commit c279a43
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 0 deletions.
79 changes: 79 additions & 0 deletions app/src/main/res/drawable/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.4125"
android:scaleY="0.4125"
android:translateX="27.6"
android:translateY="27.6">
<path
android:pathData="M86.97,91.11l1.72,1.72c0.19,0.19 0.19,0.51 0,0.7c-0.1,0.1 -0.22,0.15 -0.35,0.15s-0.25,-0.05 -0.35,-0.15l-1.37,-1.37l-7.76,7.75c-0.18,0.18 -0.46,0.19 -0.66,0.04C62.64,87.79 40.11,65.24 27.99,49.69c-0.15,-0.2 -0.14,-0.48 0.04,-0.65L35.76,41.3L24.69,30.23c-0.19,-0.19 -0.19,-0.51 0,-0.7c0.19,-0.19 0.51,-0.19 0.7,0l11.42,11.43l3.3,3.3l10.75,-10.75L19.57,2.2L8.82,12.96l2.79,2.79l0.29,0.29l1.9,1.9c0.19,0.19 0.19,0.51 0,0.7c-0.1,0.1 -0.22,0.15 -0.35,0.15s-0.25,-0.05 -0.35,-0.15l-1.45,-1.45c-3.82,6.31 -8.24,13.59 -8.45,13.8c-1.25,1.25 -1.47,3.25 -0.52,4.74c20.81,32.82 56.86,68.87 89.69,89.69c1.47,0.93 3.53,0.69 4.74,-0.52c0.21,-0.21 7.41,-4.72 13.65,-8.61l-11.44,-11.44c-0.19,-0.19 -0.19,-0.51 0,-0.7c0.19,-0.19 0.51,-0.19 0.7,0l11.88,11.88c0,0 0,0 0,0.01l3.08,3.08l10.76,-10.76L94.43,77.06L83.67,87.81l3.1,3.1c0,0 0,0 0,0L86.97,91.11z"
android:fillColor="#FFC52F"/>
<path
android:pathData="M27.96,9.18l15.71,15.71C43.23,16.42 36.43,9.61 27.96,9.18z"
android:fillColor="#E8E3E3"/>
<path
android:pathData="M102.81,84.03l15.51,15.51C117.79,91.22 111.13,84.55 102.81,84.03z"
android:fillColor="#E8E3E3"/>
<path
android:pathData="M51.57,33.49L19.57,1.5L8.12,12.96l3.43,3.43c0,0 -8.49,14.02 -8.71,14.24C1.44,32.03 1.15,34.26 2.25,35.99c20.73,32.69 57.15,69.11 89.84,89.84c1.74,1.1 3.96,0.81 5.36,-0.59c0.22,-0.22 14.09,-8.87 14.09,-8.87l3.43,3.43l11.46,-11.46L94.43,76.35L82.97,87.81l3.65,3.65l-8.11,8.1c-15.62,-12.21 -37.95,-34.54 -50.14,-50.18l8.08,-8.08l3.65,3.65L51.57,33.49z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M90.69,9.86C75.67,9.86 63.45,22.07 63.45,37.09C63.45,52.11 75.67,64.33 90.69,64.33C105.7,64.33 117.92,52.11 117.92,37.09C117.92,22.07 105.7,9.86 90.69,9.86zM77,35.5L104,35.5A1,1 0,0 1,105 36.5A1,1 0,0 1,104 37.5L77,37.5A1,1 0,0 1,76 36.5A1,1 0,0 1,77 35.5z"
android:fillColor="#df5c4e"/>
<path
android:pathData="M25.04,29.88L36.46,41.3"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M11.26,16.1L13.45,18.28"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M86.43,91.26L88.34,93.18"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M99.65,104.49L111.53,116.37"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M27.1,8.64c9.44,0 17.1,7.66 17.1,17.1"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M101.76,83.48c9.44,0 17.1,7.66 17.1,17.1"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
<path
android:pathData="M90.68,37.09m-27.73,0a27.73,27.73 0,1 1,55.46 0a27.73,27.73 0,1 1,-55.46 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#333333"
android:strokeLineCap="round"/>
</group>
</vector>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
126 changes: 126 additions & 0 deletions data/icon_cut_dnd.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 c279a43

Please sign in to comment.