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
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#ffffff</color>
|
||||
<color name="ic_launcher_background">#14161f</color>
|
||||
</resources>
|
||||
|
||||
@@ -12,7 +12,7 @@ const config: CapacitorConfig = {
|
||||
android: {
|
||||
// Enable safe area handling for notches and navigation bars
|
||||
allowMixedContent: false,
|
||||
backgroundColor: '#ffffff'
|
||||
backgroundColor: '#14161f'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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'
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#ffffff</color>
|
||||
<color name="ic_launcher_background">#14161f</color>
|
||||
</resources>
|
||||
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)"
|
||||
|
||||