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:
Linus Rath
2026-09-24 22:14:35 +02:00
parent 5ddc2df64b
commit a764a07c65
2 changed files with 4 additions and 1 deletions
@@ -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>
+2 -1
View File
@@ -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>