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 871729c9..cfe61eb6 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ 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 3b72a3cb..922f510d 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index 871729c9..a27019d7 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ 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 76650a1b..0863854c 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png index b42d5aef..6b666cea 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 76650a1b..0863854c 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 22ed3f20..5b2b25c0 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png index 7cebb8d0..82f09771 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index 22ed3f20..b5d37d21 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index d817abdf..926c8450 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png index 5fcafd61..ec1be8cf 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index d817abdf..924cf143 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 6b9349bb..4ba1f167 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png index d7716263..227dc82e 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ 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 5f6df68e..b400ce6d 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png index d9644b93..526ac11c 100644 Binary files a/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png and b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index ba1d41fc..08a52a28 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon-16.png b/public/favicon-16.png index 611746c4..091df8c2 100644 Binary files a/public/favicon-16.png and b/public/favicon-16.png differ diff --git a/public/favicon-32.png b/public/favicon-32.png index a35a0bae..98287e16 100644 Binary files a/public/favicon-32.png and b/public/favicon-32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 46b2c2e9..41d3cb50 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/logo.png b/public/logo.png index 69f0c38e..fcd96d1b 100644 Binary files a/public/logo.png and b/public/logo.png differ diff --git a/public/logo.svg b/public/logo.svg index 2e59b22e..0d976b42 100644 --- a/public/logo.svg +++ b/public/logo.svg @@ -1,5 +1 @@ - - - - - + \ No newline at end of file diff --git a/scripts/generate-favicons.sh b/scripts/generate-favicons.sh index 63e3339f..aa68d76d 100755 --- a/scripts/generate-favicons.sh +++ b/scripts/generate-favicons.sh @@ -55,16 +55,17 @@ COLORED_SVG="$TMPDIR/logo_colored.svg" RAW_PNG="$TMPDIR/raw.png" MASTER_PNG="$TMPDIR/master.png" -# Recolor the SVG's black fill to the brand color, on transparent background. +# The phoenix logo.svg carries its own brand yellow (#fcd414); the sed only +# recolors legacy black-fill sources, so it's a no-op for the phoenix. sed 's/fill="black"/fill="'"$LOGO_COLOR"'"/g' "$SOURCE_SVG" > "$COLORED_SVG" -# The SVG's viewBox is 720x880 (taller than wide). Render at its native -# aspect ratio first so we don't squish the logo horizontally. +# The SVG's viewBox is 1446x1246 (wider than tall). Render at its native +# aspect ratio first so we don't squish the logo vertically. MASTER_BOX=512 # final square canvas size -MASTER_H=$MASTER_BOX # render the longer side at full size -MASTER_W=$(( MASTER_BOX * 720 / 880 )) # preserve 720:880 aspect +MASTER_W=$MASTER_BOX # render the longer side at full size +MASTER_H=$(( MASTER_BOX * 1246 / 1446 )) # preserve 1446:1246 aspect -echo "Rendering ${MASTER_W}x${MASTER_H} from $SOURCE_SVG (preserving 720:880 aspect)..." +echo "Rendering ${MASTER_W}x${MASTER_H} from $SOURCE_SVG (preserving 1446:1246 aspect)..." if [ "$SVG_RENDERER" = "inkscape" ]; then inkscape --export-type=png --export-filename="$RAW_PNG" \ -w "$MASTER_W" -h "$MASTER_H" --export-background-opacity=0 \ diff --git a/scripts/generate-icons.sh b/scripts/generate-icons.sh index f948689c..798d45a7 100644 --- a/scripts/generate-icons.sh +++ b/scripts/generate-icons.sh @@ -48,11 +48,12 @@ TMPDIR=$(mktemp -d) LOGO_WHITE_SVG="$TMPDIR/logo_white.svg" LOGO_WHITE="$TMPDIR/logo_white.png" -# Recolor the SVG fill to white before rasterizing. logo.svg declares the -# glyph with fill="black", so recolor both the attribute form and any hex. +# Recolor the SVG fill to white before rasterizing. The phoenix logo.svg +# declares fill="#fcd414"; older sources used black/purple, kept for safety. sed -e 's/fill="black"/fill="#ffffff"/g' \ -e 's/#000000/#ffffff/g' \ - -e 's/#7c52e0/#ffffff/g' "$SOURCE_SVG" > "$LOGO_WHITE_SVG" + -e 's/#7c52e0/#ffffff/g' \ + -e 's/#fcd414/#ffffff/g' "$SOURCE_SVG" > "$LOGO_WHITE_SVG" echo "Rendering white SVG (preserving aspect ratio)..." @@ -133,6 +134,9 @@ make_legacy_square 96 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png make_legacy_square 144 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png make_legacy_square 192 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +# Web logo.png (AppDownloadNudge) uses the same round brand-mark style. +make_legacy_round 512 public/logo.png + make_legacy_round 48 android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png make_legacy_round 72 android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png make_legacy_round 96 android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png