Skip to content

fix(splash): follow the system theme - #81

Merged
dargmuesli merged 3 commits into
mainfrom
fix/splash/light-background
Nov 17, 2026
Merged

dargmuesli merged 3 commits into
mainfrom
fix/splash/light-background

Conversation

@dargmuesli

@dargmuesli dargmuesli commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The splash screen used themeColorDark regardless of the system theme, while the web app's manifest declares a white background_color, so the installed PWA and the Android app open on different colors in light mode. The splash background now follows the system theme: white in light mode, matching the web manifest, and #191911 in dark mode, matching the dark status and navigation bars. android-browser-helper resolves @color/backgroundColor at launch through ContextCompat.getColor, so the color moves from a Gradle resValue, which cannot carry a night qualifier, into values/colors.xml and values-night/colors.xml. The splash logo has a transparent background and works on both.

@dargmuesli dargmuesli changed the title fix(splash): use the light background like the web manifest fix(splash): follow the system theme Nov 17, 2026
@dargmuesli
dargmuesli marked this pull request as ready for review November 17, 2026 17:41
@dargmuesli
dargmuesli merged commit 682cdd0 into main Nov 17, 2026
11 checks passed
@dargmuesli
dargmuesli deleted the fix/splash/light-background branch November 17, 2026 17:41
maevsi-bot pushed a commit that referenced this pull request Nov 17, 2026
## [0.6.4](0.6.3...0.6.4) (2026-11-17)

### Bug Fixes

* **splash:** follow the system theme ([#81](#81)) ([682cdd0](682cdd0))
@maevsi-bot

Copy link
Copy Markdown

🎉 This PR is included in version 0.6.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants