GoogleChromeLabs / bubblewrap

Bubblewrap is a Command Line Interface (CLI) that helps developers to create a Project for an Android application that launches an existing Progressive Web App (PWAs) using a Trusted Web Activity.
Apache License 2.0
2.36k stars 161 forks source link

Splash Screen Background Color for Dark Mode #880

Open ghnp5 opened 1 month ago

ghnp5 commented 1 month ago

816 allows setting a themeColor for Dark Mode.

However, I believe the same should exist for backgroundColor, which sets the background color of the Splash Screen.

Currently, even if I'm on Dark Mode, the app shows a light-color screen while the app loads.

So, I propose a backgroundColorDark setting.

FAO @andreban

https://github.com/GoogleChromeLabs/bubblewrap/blob/2395d6aea6be141c146a1db435bc21fd06c41978/packages/core/template_project/app/src/main/AndroidManifest.xml#L135-L136

Thank you!