mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 08:07:11 +00:00
fix: show a white splash in light mode
The splash background was #09090b in both modes, so in light mode a cold start went from a near-black splash to the white first frame. It is now #ffffff by day and #09090b at night (`values-night`), as `splash.backgroundColor` and `splash.dark.backgroundColor` in app.config.js already ask for, so a later `expo prebuild` writes the same colours. Checked on the API 35 emulator: light mode stays white from splash to login screen, dark mode is unchanged.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<resources>
|
||||
<!-- As `splash.dark.backgroundColor` in app.config.js. -->
|
||||
<color name="splashscreen_background">#09090b</color>
|
||||
<!-- Matches the dark palette background (src/theme/tokens.ts). -->
|
||||
<color name="window_background">#09090b</color>
|
||||
</resources>
|
||||
@@ -1,5 +1,6 @@
|
||||
<resources>
|
||||
<color name="splashscreen_background">#09090b</color>
|
||||
<!-- Splash background, as `splash.backgroundColor` in app.config.js; the dark one is in values-night. -->
|
||||
<color name="splashscreen_background">#ffffff</color>
|
||||
<color name="iconBackground">#09090b</color>
|
||||
<color name="colorPrimary">#023c69</color>
|
||||
<color name="colorPrimaryDark">#09090b</color>
|
||||
|
||||
Reference in New Issue
Block a user