Skip to content

Commit

Permalink
feat: add logo and splash (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
SolMendiola authored Oct 22, 2023
1 parent d1ede4b commit 7a95ae9
Show file tree
Hide file tree
Showing 106 changed files with 46 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/android/app/src/main/res/drawable-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/android/app/src/main/res/drawable-mdpi/android12splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/android/app/src/main/res/drawable-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/android/app/src/main/res/drawable-v21/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
<item>
<bitmap android:gravity="bottom" android:src="@drawable/branding"/>
</item>
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/android/app/src/main/res/drawable-xhdpi/splash.png
Binary file modified mobile/android/app/src/main/res/drawable-xxhdpi/splash.png
Binary file modified mobile/android/app/src/main/res/drawable-xxxhdpi/splash.png
Binary file modified mobile/android/app/src/main/res/drawable/background.png
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
<item>
<bitmap android:gravity="bottom" android:src="@drawable/branding"/>
</item>
</layer-list>
Binary file modified mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file modified mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file modified mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file modified mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file modified mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#ffffff</item>
<item name="android:windowSplashScreenBackground">#0B0C0D</item>
<item name="android:windowSplashScreenBrandingImage">@drawable/android12branding</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
Expand Down
2 changes: 1 addition & 1 deletion mobile/android/app/src/main/res/values-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#ffffff</item>
<item name="android:windowSplashScreenBackground">#0B0C0D</item>
<item name="android:windowSplashScreenBrandingImage">@drawable/android12branding</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
Expand Down
2 changes: 1 addition & 1 deletion mobile/android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#ee1a64</color>
<color name="ic_launcher_background">#10B981</color>
</resources>
Binary file modified mobile/icons/ic_launcher.png
Binary file modified mobile/icons/ic_launcher_foreground.png
Binary file modified mobile/icons/ic_launcher_ios.png
Binary file modified mobile/icons/splash_branding.png
Binary file modified mobile/icons/splash_logo.png
Binary file modified mobile/icons/splash_logo_android_12.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "BrandingImage.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 5 additions & 1 deletion mobile/ios/Runner/Base.lproj/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="LaunchBackground" translatesAutoresizingMaskIntoConstraints="NO" id="tWc-Dq-wcI"/>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4"></imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="BrandingImage" translatesAutoresizingMaskIntoConstraints="NO" id="Uyq-Kz-ftE"/>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="Uyq-Kz-ftE" secondAttribute="bottom" id="8Yb-q4-8bl"/>
<constraint firstItem="Uyq-Kz-ftE" firstAttribute="centerX" secondItem="YRO-k0-Ey4" secondAttribute="centerX" id="3kg-TC-cPP"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="3T2-ad-Qdv"/>
<constraint firstItem="tWc-Dq-wcI" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="RPx-PI-7Xg"/>
<constraint firstItem="tWc-Dq-wcI" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="SdS-ul-q2q"/>
Expand All @@ -38,7 +41,8 @@
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="564" height="936"/>
<image name="LaunchImage" width="1136" height="382"/>
<image name="LaunchBackground" width="1" height="1"/>
<image name="BrandingImage" width="1" height="1"/>
</resources>
</document>
5 changes: 3 additions & 2 deletions mobile/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,17 @@ flutter_launcher_icons:
image_path: 'icons/ic_launcher.png'
image_path_ios: 'icons/ic_launcher_ios.png' # Transparency not supported on IOS
adaptive_icon_foreground: 'icons/ic_launcher_foreground.png'
adaptive_icon_background: '#ee1a64'
adaptive_icon_background: '#10B981'
remove_alpha_ios: true
web:
generate: true
windows:
generate: false

flutter_native_splash:
color: '#ffffff'
color: '#0B0C0D'
image: 'icons/splash_logo.png'
branding: 'icons/splash_branding.png'
android_12:
image: 'icons/splash_logo_android_12.png'
branding: 'icons/splash_branding.png'
Binary file modified mobile/web/favicon.png
Binary file modified mobile/web/icons/Icon-192.png
Binary file modified mobile/web/icons/Icon-512.png
Binary file modified mobile/web/icons/Icon-maskable-192.png
Binary file modified mobile/web/icons/Icon-maskable-512.png
7 changes: 6 additions & 1 deletion mobile/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
body {
margin: 0;
min-height: 100%;
background-color: #ffffff;
background-color: #0B0C0D;
background-size: 100% 100%;
}

Expand Down Expand Up @@ -106,6 +106,11 @@
</script>
</head>
<body>
<picture id="splash-branding">
<source srcset="splash/img/branding-1x.png 1x, splash/img/branding-2x.png 2x, splash/img/branding-3x.png 3x, splash/img/branding-4x.png 4x" media="(prefers-color-scheme: light)">
<source srcset="splash/img/branding-dark-1x.png 1x, splash/img/branding-dark-2x.png 2x, splash/img/branding-dark-3x.png 3x, splash/img/branding-dark-4x.png 4x" media="(prefers-color-scheme: dark)">
<img class="bottom" aria-hidden="true" src="splash/img/branding-1x.png" alt="">
</picture>
<picture id="splash">
<source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x" media="(prefers-color-scheme: light)">
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
Expand Down
Binary file added mobile/web/splash/img/branding-1x.png
Binary file added mobile/web/splash/img/branding-2x.png
Binary file added mobile/web/splash/img/branding-3x.png
Binary file added mobile/web/splash/img/branding-4x.png
Binary file added mobile/web/splash/img/branding-dark-1x.png
Binary file added mobile/web/splash/img/branding-dark-2x.png
Binary file added mobile/web/splash/img/branding-dark-3x.png
Binary file added mobile/web/splash/img/branding-dark-4x.png
Binary file modified mobile/web/splash/img/dark-1x.png
Binary file modified mobile/web/splash/img/dark-2x.png
Binary file modified mobile/web/splash/img/dark-3x.png
Binary file modified mobile/web/splash/img/dark-4x.png
Binary file modified mobile/web/splash/img/light-1x.png
Binary file modified mobile/web/splash/img/light-2x.png
Binary file modified mobile/web/splash/img/light-3x.png
Binary file modified mobile/web/splash/img/light-4x.png

0 comments on commit 7a95ae9

Please sign in to comment.