This folder contains graphic assets that are used to generate assets for either the app or platforms where the app is distributed.
The Android-feature-graphics.psd
file should be used to generate a PNG image to be used as the
feature graphics in the app's Google Play Store listing. The PNG image should be placed in the
android/app/src/main/play/listings/en-US/graphics/feature-graphics/
directory.
The main and official mole logo. Used to generate icons on a bunch of platforms.
If icon.svg
is changed. You need to run the following to generate new assets:
- Desktop:
desktop/packages/mullvad-vpn/scripts/build-logo-icons.sh
- Android:
android/scripts/generate-pngs.sh
This is the regular mole but instead of being placed in a blue circle the entire background is just blue.
The mole is placed slightly to the right compared to icon.svg
to appear more centered. And the mole
is a little bit smaller so it fits better when corners are rounded off during icon creation.
The square icon is used on desktop as the base for the macOS icons. To update them:
- Create the macOS icons by inserting the updated
/graphics/icon-square.svg
into Apple's macOS icon template available at https://developer.apple.com/design/resources/. - Save the icons to
/graphics/macOS/
- Run
scripts/build-logo-icons.sh
The icon-square.svg
is used to generate Android's square icon used in the app's Google Play Store
listing. The resulting 512x512 PNG image should be placed in the
android/app/src/main/play/listings/en-US/graphics/icon/
directory. The file can be generate with the
following command:
rsvg-convert ./icon-square.svg -w 512 -h 512 -o ../android/app/src/main/play/listings/en-US/graphics/icon/icon.png
icon-square.svg
is used to generate the app icon for iOS. To regenerate the assets run:
ios/convert-assets.rb --app-icon
The icon icon-android.svg
is used for Android adaptive icon. The icon converted to
Android Vector Drawable format and used as foreground layer for adaptive icon. For background layer is used
solid color layer. Full documentation about adaptive icon available on link below:
https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
icon-android-mono.svg
is the monochromatic version. It's used as "themed icons" on Android.
This is a simplified version of the logo with the whiskers and fur removed. This version should be used when rendering the mole icon in tiny versions where the little details in the logo would not be visible anyway, and would just make the small assets look less clean.
It is currently used to generate small icon assets for Android: android/scripts/generate-pngs.sh
.