Skip to content

[AI] Match mobile app branding to PWA - #8552

Merged
jfdoming merged 1 commit into
actualbudget:masterfrom
jfdoming:jfdoming/mobile-pwa-branding
Jul 23, 2026
Merged

jfdoming merged 1 commit into
actualbudget:masterfrom
jfdoming:jfdoming/mobile-pwa-branding

Conversation

@jfdoming

@jfdoming jfdoming commented Jul 22, 2026 •

Copy link
Copy Markdown
Member

Description

Changes the mobile app icon from the default to the Actual logo, and the branding colour from the default to Actual purple (matching the PWA).

Codex (GPT 5.6 Sol) produced the images for me (I'm not too familiar with ImageMagick).

Codex's own description of the commands it ran

The native image variants were generated mechanically with ImageMagick from the existing PWA assets:

  • android-chrome-512x512.png was resized for traditional Android launcher icons.
  • maskable-512x512.png was used for adaptive icons, round icons, splash screens, and the high-resolution iOS artwork.
  • Android round icons were created by applying a circular alpha mask.
  • Android adaptive foregrounds were resized for each density while retaining the PWA artwork’s safe area.
  • Splash images were created as solid #5c3dbb canvases with the maskable icon resized and centered.
  • The iOS app icon was cropped from the higher-resolution maskable artwork to match the proportions of the PWA’s Apple touch icon, then resized to 1024×1024.
  • Splash images were converted to 8-bit RGB PNGs for compact, native-compatible assets.

No generative image model or manual redrawing was used.

Codex's commands
pwa_any=packages/desktop-client/public/android-chrome-512x512.png
pwa_maskable=packages/desktop-client/public/maskable-512x512.png
pwa_ios=packages/desktop-client/public/apple-touch-icon.png
android_res=packages/mobile-client/android/app/src/main/res
ios_assets=packages/mobile-client/ios/App/App/Assets.xcassets

magick "$pwa_ios" -filter Lanczos -resize 1024x1024\! -alpha off -strip "$ios_assets/AppIcon.appiconset/[email protected]"

magick -size 2732x2732 'xc:#5C3DBB' \( "$pwa_maskable" -filter Lanczos -resize 360x360\! \) -gravity center -composite -alpha off -strip "$ios_assets/Splash.imageset/splash-2732x2732.png"
cp "$ios_assets/Splash.imageset/splash-2732x2732.png" "$ios_assets/Splash.imageset/splash-2732x2732-1.png"
cp "$ios_assets/Splash.imageset/splash-2732x2732.png" "$ios_assets/Splash.imageset/splash-2732x2732-2.png"

for density_and_size in mdpi:48 hdpi:72 xhdpi:96 xxhdpi:144 xxxhdpi:192; do
  density=${density_and_size%%:*}
  size=${density_and_size##*:}
  destination="$android_res/mipmap-$density"
  magick "$pwa_any" -filter Lanczos -resize "${size}x${size}!" -strip "$destination/ic_launcher.png"
  magick "$pwa_maskable" -filter Lanczos -resize "${size}x${size}!" \( -size "${size}x${size}" xc:none -fill white -draw "circle $((size / 2)),$((size / 2)) $((size / 2)),0" \) -alpha off -compose CopyOpacity -composite -strip "$destination/ic_launcher_round.png"
  foreground_size=$((size * 9 / 4))
  magick "$pwa_maskable" -filter Lanczos -resize "${foreground_size}x${foreground_size}!" -strip "$destination/ic_launcher_foreground.png"
done

for splash_spec in \
  drawable/splash.png:480x320:144 \
  drawable-land-mdpi/splash.png:480x320:144 \
  drawable-port-mdpi/splash.png:320x480:144 \
  drawable-land-hdpi/splash.png:800x480:216 \
  drawable-port-hdpi/splash.png:480x800:216 \
  drawable-land-xhdpi/splash.png:1280x720:216 \
  drawable-port-xhdpi/splash.png:720x1280:216 \
  drawable-land-xxhdpi/splash.png:1600x960:288 \
  drawable-port-xxhdpi/splash.png:960x1600:288 \
  drawable-land-xxxhdpi/splash.png:1920x1280:288 \
  drawable-port-xxxhdpi/splash.png:1280x1920:288; do
  relative_path=${splash_spec%%:*}
  remaining=${splash_spec#*:}
  canvas_size=${remaining%%:*}
  icon_size=${remaining##*:}
  magick -size "$canvas_size" 'xc:#5C3DBB' \( "$pwa_maskable" -filter Lanczos -resize "${icon_size}x${icon_size}!" \) -gravity center -composite -alpha off -strip "$android_res/$relative_path"
done
magick packages/desktop-client/public/maskable-512x512.png -crop 362x362+83+66 +repage -filter Lanczos -resize 1024x1024\! -alpha off -strip packages/mobile-client/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected]
magick mogrify -depth 8 packages/mobile-client/android/app/src/main/res/drawable*/splash.png packages/mobile-client/ios/App/App/Assets.xcassets/Splash.imageset/*.png

Related issue(s)

none

Testing

image image

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I have read every line of this diff and can explain what each change does and why it is needed

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 39 13.19 MB 0%
loot-core 1 4.62 MB 0%
api 2 3.84 MB 0%
cli 1 8.02 MB 0%
crdt 1 11.16 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
39 13.19 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/index.js 1.55 MB 0%
static/js/AppliedFilters.js 35.51 kB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/FormulaEditor.js 762.13 kB 0%
static/js/ManageRules.js 68.85 kB 0%
static/js/PayeeRuleCountLabel.js 9.41 kB 0%
static/js/ReportRouter.js 1.2 MB 0%
static/js/ScheduleEditForm.js 140.4 kB 0%
static/js/SchedulesTable.js 170.95 kB 0%
static/js/TransactionEdit.js 107.62 kB 0%
static/js/TransactionList.js 79.07 kB 0%
static/js/Value.js 2 MB 0%
static/js/bootstrapHyperFormula.js 302 B 0%
static/js/ca.js 171.84 kB 0%
static/js/chart-theme.js 670.14 kB 0%
static/js/client.js 452.05 kB 0%
static/js/da.js 95.93 kB 0%
static/js/de.js 179.3 kB 0%
static/js/en-GB.js 11.1 kB 0%
static/js/en.js 208.88 kB 0%
static/js/es.js 165.25 kB 0%
static/js/fr.js 166.78 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 152.74 kB 0%
static/js/narrow.js 330.95 kB 0%
static/js/nb-NO.js 136.65 kB 0%
static/js/nl.js 144.95 kB 0%
static/js/pl.js 137.12 kB 0%
static/js/pt-BR.js 179.81 kB 0%
static/js/ru.js 142.5 kB 0%
static/js/th.js 165.62 kB 0%
static/js/theme.js 31.1 kB 0%
static/js/uk.js 200.9 kB 0%
static/js/useDateFormat.js 2.91 MB 0%
static/js/useFormatList.js 9.31 kB 0%
static/js/useTransactionBatchActions.js 9.77 kB 0%
static/js/wide.js 269.73 kB 0%
static/js/workbox-window.prod.es5.js 7.21 kB 0%
static/js/zh-Hans.js 107.6 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.62 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.CLKxGEvc.js 4.62 MB 0%

api

Total

Files count Total bundle size % Changed
2 3.84 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 3.84 MB 0%
models.js 0 B 0%

cli

Total

Files count Total bundle size % Changed
1 8.02 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 8.02 MB 0%

crdt

Total

Files count Total bundle size % Changed
1 11.16 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 11.16 kB 0%

@netlify

netlify Bot commented Jul 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit d8d935f
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget/deploys/6a614c0e2c27050008b82511
😎 Deploy Preview https://deploy-preview-8552.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hello contributor!

We would love to review your PR! Before we can do that, please make sure:

  • ✅ All CI checks pass
  • ✅ The PR is moved from draft to open (if applicable)
  • ✅ The "[WIP]" prefix is removed from the PR title
  • ✅ The PR description follows the provided template, with all checklist boxes filled in
  • ✅ All CodeRabbit code review comments are resolved (if you disagree with anything - reply to the bot with your reasoning so we can read through it). The bot will eventually approve the PR.
  • ✅ Any AI usage is disclosed (see our AI Usage Policy)

A quick note on volume: please get one PR reviewed and merged before opening several more. A stack of simultaneous, similar PRs from one author is reviewed slowly, and low-effort, untested, or undisclosed-AI PRs may be closed without a detailed review.

We do this to reduce the TOIL the core contributor team has to go through for each PR and to allow for speedy reviews and merges.

For more information, please see our Contributing Guide.

@jfdoming
jfdoming marked this pull request as ready for review July 22, 2026 23:16
@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Android launcher background changes from white to purple, and a release note documents updates to the iOS and Android app icons and launch screens to match the PWA.

Changes

Mobile app branding

Layer / File(s) Summary
Launcher branding and release note
packages/mobile-client/android/app/src/main/res/values/ic_launcher_background.xml, upcoming-release-notes/match-mobile-app-branding.md
The Android launcher background changes to #5C3DBB, and an enhancement release note documents matching mobile branding to the PWA.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested labels: size small

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: matching the mobile app branding to the PWA.
Description check ✅ Passed The description directly describes the icon and color branding updates to match the PWA.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jfdoming
jfdoming added this pull request to the merge queue Jul 23, 2026
Merged via the queue into actualbudget:master with commit 5c774f3 Jul 23, 2026
50 checks passed
@jfdoming
jfdoming deleted the jfdoming/mobile-pwa-branding branch July 23, 2026 01:02
RafaelEspino pushed a commit to RafaelEspino/actual that referenced this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants