flutter: Android: Set splash screen color to aths_special

This commit is contained in:
Calcitem 2021-02-21 02:16:52 +08:00
parent 2cf96079cc
commit be4fd0246e
4 changed files with 11 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<item android:drawable="@color/aths_special" />
<!-- You can insert your own image assets here -->
<!-- <item>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#ffffff</color>
<color name="black">#000000</color>
<color name="asparagus">#769656</color>
<color name="aths_special">#eeeed2</color>
</resources>

View File

@ -13,6 +13,6 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowBackground">@color/aths_special</item>
</style>
</resources>

View File

@ -22,8 +22,8 @@ class UIColors {
// see:
// https://www.color-hex.com/color-palette/8548
// https://applecolors.com/palette/30822-chess-board-logo
static const asparagusColor = Color.fromARGB(0xFF, 118, 150, 86);
static const athsSpecialColor = Color.fromARGB(0xFF, 238, 238, 210);
static const asparagusColor = Color.fromARGB(0xFF, 118, 150, 86); // 769656
static const athsSpecialColor = Color.fromARGB(0xFF, 238, 238, 210); // eeeed2
static const turmericColor = Color.fromARGB(0xFF, 186, 202, 68);
static const logoColor = Color(0xFF6D000D);