diff --git a/assets/damusbg.svg b/assets/damusbg.svg new file mode 100644 index 00000000..96ad0ddf --- /dev/null +++ b/assets/damusbg.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/damusfg.svg b/assets/damusfg.svg new file mode 100644 index 00000000..a7020523 --- /dev/null +++ b/assets/damusfg.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/mkicons b/assets/mkicons new file mode 100755 index 00000000..f862db1c --- /dev/null +++ b/assets/mkicons @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +MIPMAP="../crates/notedeck_chrome/android/app/src/main/res/mipmap-" + +function mkicon() { + local name="$1" + echo "making icon $name" + mkdir -p "${MIPMAP}/{l,m,h,xh,xxh,xxxh}dpi" + inkscape "$name".svg -w 36 -h 36 -o ${MIPMAP}ldpi/"$name".png & + inkscape "$name".svg -w 48 -h 48 -o ${MIPMAP}mdpi/"$name".png & + inkscape "$name".svg -w 72 -h 72 -o ${MIPMAP}hdpi/"$name".png & + inkscape "$name".svg -w 96 -h 96 -o ${MIPMAP}xhdpi/"$name".png & + inkscape "$name".svg -w 144 -h 144 -o ${MIPMAP}xxhdpi/"$name".png & + inkscape "$name".svg -w 192 -h 192 -o ${MIPMAP}xxxhdpi/"$name".png & + wait +} + +mkicon "damusfg" +mkicon "damusbg" diff --git a/crates/notedeck_chrome/android/app/src/main/AndroidManifest.xml b/crates/notedeck_chrome/android/app/src/main/AndroidManifest.xml index 6ea8c60d..615baac8 100644 --- a/crates/notedeck_chrome/android/app/src/main/AndroidManifest.xml +++ b/crates/notedeck_chrome/android/app/src/main/AndroidManifest.xml @@ -2,7 +2,8 @@ + + + + + diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusbg.png new file mode 100644 index 00000000..cc1afe96 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusfg.png new file mode 100644 index 00000000..82de5f9b Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-hdpi/damusfg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusbg.png new file mode 100644 index 00000000..d1a88157 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusfg.png new file mode 100644 index 00000000..f4ade47c Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-ldpi/damusfg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusbg.png new file mode 100644 index 00000000..ec703baf Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusfg.png new file mode 100644 index 00000000..7f14a291 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-mdpi/damusfg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusbg.png new file mode 100644 index 00000000..a477895a Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusfg.png new file mode 100644 index 00000000..4d92b437 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xhdpi/damusfg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusbg.png new file mode 100644 index 00000000..110f7261 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusfg.png new file mode 100644 index 00000000..4fc1520e Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxhdpi/damusfg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusbg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusbg.png new file mode 100644 index 00000000..e8489134 Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusbg.png differ diff --git a/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusfg.png b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusfg.png new file mode 100644 index 00000000..5e81bb5b Binary files /dev/null and b/crates/notedeck_chrome/android/app/src/main/res/mipmap-xxxhdpi/damusfg.png differ