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:windowFullscreen">false</item>
|
||||||
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
||||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</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>
|
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- 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:windowFullscreen">false</item>
|
||||||
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
||||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</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>
|
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- 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" : [
|
"images" : [
|
||||||
{
|
{
|
||||||
"filename" : "background.png",
|
"filename" : "background.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal"
|
||||||
"scale" : "1x"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idiom" : "universal",
|
"appearances" : [
|
||||||
"scale" : "2x"
|
{
|
||||||
},
|
"appearance" : "luminosity",
|
||||||
{
|
"value" : "dark"
|
||||||
"idiom" : "universal",
|
}
|
||||||
"scale" : "3x"
|
],
|
||||||
|
"filename" : "darkbackground.png",
|
||||||
|
"idiom" : "universal"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"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",
|
"idiom" : "universal",
|
||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"appearances" : [
|
||||||
|
{
|
||||||
|
"appearance" : "luminosity",
|
||||||
|
"value" : "dark"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename" : "LaunchImageDark.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"filename" : "LaunchImage@2x.png",
|
"filename" : "LaunchImage@2x.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"appearances" : [
|
||||||
|
{
|
||||||
|
"appearance" : "luminosity",
|
||||||
|
"value" : "dark"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename" : "LaunchImageDark@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"filename" : "LaunchImage@3x.png",
|
"filename" : "LaunchImage@3x.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"appearances" : [
|
||||||
|
{
|
||||||
|
"appearance" : "luminosity",
|
||||||
|
"value" : "dark"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename" : "LaunchImageDark@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"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
|
remove_alpha_ios: true
|
||||||
|
|
||||||
flutter_native_splash:
|
flutter_native_splash:
|
||||||
background_image: assets/splash/splash-bg.png
|
color: "#FFFFFF"
|
||||||
image: assets/splash/splash-icon-fg.png
|
color_dark: "#000000"
|
||||||
|
image: "assets/splash/splash-icon-fg-light.png"
|
||||||
|
image_dark: "assets/splash/splash-icon-fg.png"
|
||||||
android_gravity: center
|
android_gravity: center
|
||||||
ios_content_mode: center
|
ios_content_mode: center
|
||||||
android_12:
|
android_12:
|
||||||
|
@ -165,10 +167,10 @@ flutter_native_splash:
|
||||||
# 640 pixels in diameter.
|
# 640 pixels in diameter.
|
||||||
# App icon without an icon background: This should be 1152×1152 pixels, and fit within a circle
|
# App icon without an icon background: This should be 1152×1152 pixels, and fit within a circle
|
||||||
# 768 pixels in diameter.
|
# 768 pixels in diameter.
|
||||||
image: assets/splash/splash-fg.png
|
image: "assets/splash/splash-fg.png"
|
||||||
|
|
||||||
# Splash screen background color.
|
# Splash screen background color.
|
||||||
color: "#F1D6FF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
# App icon background color.
|
# App icon background color.
|
||||||
#icon_background_color: "#111111"
|
#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
|
# 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
|
# apply when the device is in dark mode. If they are not specified, the app will use the
|
||||||
# parameters from above.
|
# parameters from above.
|
||||||
#image_dark: assets/android12splash-invert.png
|
image_dark: "assets/generation-icons/icon-light.png"
|
||||||
color_dark: "#12001B"
|
color_dark: "#000000"
|
||||||
#icon_background_color_dark: "#eeeeee"
|
#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">
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style id="splash-screen-style">
|
<style id="splash-screen-style">
|
||||||
html {
|
html {
|
||||||
height: 100%
|
height: 100%
|
||||||
|
@ -40,9 +42,8 @@
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-color: #ffffff;
|
background-color: #FFFFFF;
|
||||||
background-image: url("splash/img/light-background.png");
|
background-size: 100% 100%;
|
||||||
background-size: 100% 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
|
@ -90,6 +91,12 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script id="splash-screen-script">
|
<script id="splash-screen-script">
|
||||||
function removeSplashFromWeb() {
|
function removeSplashFromWeb() {
|
||||||
|
@ -107,6 +114,7 @@
|
||||||
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
|
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
|
||||||
</picture>
|
</picture>
|
||||||
|
|
||||||
|
|
||||||
<!-- This script installs service_worker.js to provide PWA functionality to
|
<!-- This script installs service_worker.js to provide PWA functionality to
|
||||||
application. For more information, see:
|
application. For more information, see:
|
||||||
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
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 |