fix(auth): update splash screen
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 98 KiB |
BIN
auth/android/app/src/main/res/drawable-night-hdpi/splash.png
Normal file
After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 38 KiB |
BIN
auth/android/app/src/main/res/drawable-night-mdpi/splash.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
auth/android/app/src/main/res/drawable-night-v21/background.png
Normal file
After Width: | Height: | Size: 69 B |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 188 KiB |
BIN
auth/android/app/src/main/res/drawable-night-xhdpi/splash.png
Normal file
After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 480 KiB |
BIN
auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png
Normal file
After Width: | Height: | Size: 386 KiB |
Before Width: | Height: | Size: 388 KiB After Width: | Height: | Size: 850 KiB |
BIN
auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png
Normal file
After Width: | Height: | Size: 553 KiB |
BIN
auth/android/app/src/main/res/drawable-night/background.png
Normal file
After Width: | Height: | Size: 69 B |
Before Width: | Height: | Size: 764 KiB After Width: | Height: | Size: 69 B |
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 182 KiB |
Before Width: | Height: | Size: 386 KiB After Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 553 KiB After Width: | Height: | Size: 590 KiB |
Before Width: | Height: | Size: 764 KiB After Width: | Height: | Size: 69 B |
|
@ -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">#12001B</item>
|
||||
<item name="android:windowSplashScreenBackground">#000000</item>
|
||||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
|
||||
</style>
|
||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||
|
|
|
@ -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">#F1D6FF</item>
|
||||
<item name="android:windowSplashScreenBackground">#FFFFFF</item>
|
||||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
|
||||
</style>
|
||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||
|
|
Before Width: | Height: | Size: 764 KiB |
BIN
auth/assets/splash/splash-icon-fg-light.png
Normal file
After Width: | Height: | Size: 566 KiB |
|
@ -2,16 +2,17 @@
|
|||
"images" : [
|
||||
{
|
||||
"filename" : "background.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "darkbackground.png",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
|
|
Before Width: | Height: | Size: 764 KiB After Width: | Height: | Size: 69 B |
BIN
auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png
vendored
Normal file
After Width: | Height: | Size: 69 B |
|
@ -5,15 +5,48 @@
|
|||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "LaunchImageDark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "LaunchImage@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "LaunchImageDark@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "LaunchImage@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "LaunchImageDark@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
|
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 182 KiB |
Before Width: | Height: | Size: 386 KiB After Width: | Height: | Size: 412 KiB |
BIN
auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png
vendored
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png
vendored
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png
vendored
Normal file
After Width: | Height: | Size: 386 KiB |
|
@ -153,8 +153,10 @@ flutter_icons:
|
|||
remove_alpha_ios: true
|
||||
|
||||
flutter_native_splash:
|
||||
background_image: assets/splash/splash-bg.png
|
||||
image: assets/splash/splash-icon-fg.png
|
||||
color: "#FFFFFF"
|
||||
color_dark: "#000000"
|
||||
image: "assets/splash/splash-icon-fg-light.png"
|
||||
image_dark: "assets/splash/splash-icon-fg.png"
|
||||
android_gravity: center
|
||||
ios_content_mode: center
|
||||
android_12:
|
||||
|
@ -165,10 +167,10 @@ flutter_native_splash:
|
|||
# 640 pixels in diameter.
|
||||
# App icon without an icon background: This should be 1152×1152 pixels, and fit within a circle
|
||||
# 768 pixels in diameter.
|
||||
image: assets/splash/splash-fg.png
|
||||
image: "assets/splash/splash-fg.png"
|
||||
|
||||
# Splash screen background color.
|
||||
color: "#F1D6FF"
|
||||
color: "#FFFFFF"
|
||||
|
||||
# App icon background color.
|
||||
#icon_background_color: "#111111"
|
||||
|
@ -179,6 +181,6 @@ flutter_native_splash:
|
|||
# The image_dark, color_dark, icon_background_color_dark, and branding_dark set values that
|
||||
# apply when the device is in dark mode. If they are not specified, the app will use the
|
||||
# parameters from above.
|
||||
#image_dark: assets/android12splash-invert.png
|
||||
color_dark: "#12001B"
|
||||
image_dark: "assets/generation-icons/icon-light.png"
|
||||
color_dark: "#000000"
|
||||
#icon_background_color_dark: "#eeeeee"
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
||||
|
||||
|
||||
|
||||
<style id="splash-screen-style">
|
||||
html {
|
||||
height: 100%
|
||||
|
@ -40,9 +42,8 @@
|
|||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
background-color: #ffffff;
|
||||
background-image: url("splash/img/light-background.png");
|
||||
background-size: 100% 100%;
|
||||
background-color: #FFFFFF;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.center {
|
||||
|
@ -90,6 +91,12 @@
|
|||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #000000;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script id="splash-screen-script">
|
||||
function removeSplashFromWeb() {
|
||||
|
@ -107,6 +114,7 @@
|
|||
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
|
||||
</picture>
|
||||
|
||||
|
||||
<!-- This script installs service_worker.js to provide PWA functionality to
|
||||
application. For more information, see:
|
||||
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
||||
|
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 182 KiB |
Before Width: | Height: | Size: 386 KiB After Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 553 KiB After Width: | Height: | Size: 590 KiB |
Before Width: | Height: | Size: 764 KiB |