From db7bbb009555bfcd613528a79ba4ea7aecfbc026 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Thu, 19 Feb 2026 06:27:00 -0600 Subject: [PATCH] Update app icon background to dark theme color - Change icon background from white (#ffffff) to dark theme (#14161f) - Update capacitor.config.ts backgroundColor to match - Update generate-icons.sh to use dark theme color - Regenerate all Android icons with new background - Prevents white-on-white icon appearance --- .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 2616 -> 2616 bytes .../mipmap-hdpi/ic_launcher_foreground.png | Bin 1705 -> 1705 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 2616 -> 2616 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 1699 -> 1699 bytes .../mipmap-mdpi/ic_launcher_foreground.png | Bin 1129 -> 1129 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 1699 -> 1699 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 3609 -> 3609 bytes .../mipmap-xhdpi/ic_launcher_foreground.png | Bin 2305 -> 2305 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 3609 -> 3609 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 5630 -> 5630 bytes .../mipmap-xxhdpi/ic_launcher_foreground.png | Bin 3556 -> 3556 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 5630 -> 5630 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 7895 -> 7895 bytes .../mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 4918 -> 4918 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 7895 -> 7895 bytes .../res/values/ic_launcher_background.xml | 2 +- capacitor.config.ts | 2 +- scripts/generate-icons.sh | 6 +++--- 18 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index 21097ce391124e5a8962eaf196fee0d4d3f1aa5f..12354d468ceb793e783c902806b5c56aa5252825 100644 GIT binary patch delta 45 zcmdlXvO{D-Et{0-n#cc6Zfu^#DQ#qCWooQ#U|?lnusrp>Jp&MUy85}Sb4q9e0Eq_= Ao&W#< delta 45 zcmdlXvO{D-Et{Z%(y7BQH#X1Wlr}WCGB(mSFt9Q(*cki3m;nepUHx3vIVCg!0BDg8 ArT_o{ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png index 514a95badd96eef230efedc92f6c2db3f0921adf..d1b1f8e581fa21c3f279dedc10510e0b5b1ee0d0 100644 GIT binary patch delta 45 zcmZ3a(i%m4(Qu6{1-oD!MJp&MUy85}Sb4q9e0Eq_= Ao&W#< delta 45 zcmdlXvO{D-Et{Z%(y7BQH#X1Wlr}WCGB(mSFt9Q(*cki3m;nepUHx3vIVCg!0BDg8 ArT_o{ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index 506c6bfa8ebdfd240e285e2fe0a36fa973042cec..b2accd45d9e3d6e44eac46db0062f7463bd71f27 100644 GIT binary patch delta 45 zcmZ3?yO?)EEt{0-n#cc6Zfs^{lQuH5GBwsVFt9Q(Sf2Xco&g9vUHx3vIVCg!0Bxua A&Hw-a delta 45 zcmZ3?yO?)EEt{Z%(y7BQH#W1fNgJA585?OE7+4t?Y>a(i%m4(Qu6{1-oD!MJp&MUy85}Sb4q9e0Gj6z A6951J delta 45 zcmaFK@seXgEt{Z%(y7BQH#VPUmNqoEGB(mSFt9Q(*cki3m;nepUHx3vIVCg!0D5r` A8vpa(i%m4(Qu6{1-oD!M8tg{8=I?nrH#z2OpUb-46Fa(i%m4(Qu6{1-oD!M8tg{8=I?nrH#z2Oii>646Fa(i%m4(Qu6{1-oD!M8tg{8=DhErH#z2Oii>646Fa(i%m4(Qu6{1-oD!M8tg{8=KvDrH#z2Oii>646Fa(i%m4(Qu6{1-oD!M8tg{8=DhErH#z2Oii>646Fa(i%m4(Qu6{1-oD!M8tg{8=EcVq>aq1Oii>646Fa(i%m4(Qu6{1-oD!M8tg{8=GecNgJ72nVM)D7+4t?BptfAkpT!iUHx3vIVCg!0B=?g A9smFU delta 45 zcmdm{woPq9Et{Z%(y7BQH#W}@k~TEAGB(mSFt9Q(*cki3m;nepUHx3vIVCg!0B*Jp A%>V!Z diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index 68f596ea17cfc1eb3d860b9a3b2a6ccf2df4cc90..8a77e03ca42604a2b60e5d8c4507cf9b867fadf6 100644 GIT binary patch delta 45 zcmca^d);8tg{8=EcVq>aq1Oii>646Fa(i%m4(Qu6{1-oD!M - #ffffff + #14161f diff --git a/capacitor.config.ts b/capacitor.config.ts index 68cdac0c..1bf96e9d 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -12,7 +12,7 @@ const config: CapacitorConfig = { android: { // Enable safe area handling for notches and navigation bars allowMixedContent: false, - backgroundColor: '#ffffff' + backgroundColor: '#14161f' } }; diff --git a/scripts/generate-icons.sh b/scripts/generate-icons.sh index 39a72702..34627ee0 100755 --- a/scripts/generate-icons.sh +++ b/scripts/generate-icons.sh @@ -56,15 +56,15 @@ magick "$SOURCE_ICON" -resize 192x192 android/app/src/main/res/mipmap-xxxhdpi/ic magick "$SOURCE_ICON" -resize 192x192 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png magick "$SOURCE_ICON" -resize 122x122 -background none -gravity center -extent 192x192 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -# Update icon background color +# Update icon background color (using dark theme background) BACKGROUND_COLOR_FILE="android/app/src/main/res/values/ic_launcher_background.xml" mkdir -p android/app/src/main/res/values cat > "$BACKGROUND_COLOR_FILE" << 'EOF' - #ffffff + #14161f EOF echo -e "\n${GREEN}✅ Android icons generated successfully!${NC}" -echo -e "Icon background color: ${GREEN}#ffffff${NC}" +echo -e "Icon background color: ${GREEN}#14161f${NC} (dark theme)"