When casting, hc-launch-screen ignores dark mode setting
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
- [X] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
Any time you cast a lovelace view, the initial screen displayed is almost entirely white. With otherwise dark-mode screens, it's a bit of a flash-bang at night.
This is the only file that references the nabu-loves-hass.png image that is displayed on that initial screen, so I believe the color is set here https://github.com/home-assistant/frontend/blob/dev/cast/src/receiver/layout/hc-launch-screen.ts#L31
Describe the behavior you expected
The initially displayed screen should either match the theme, support a minimal light/dark mode option, or even just default to something darker (a momentary dark screen when casting in light mode is much less noticeable).
Steps to reproduce the issue
- Set your home assistant profile to dark mode
- Install the Google Cast integration
- Cast a lovelace dashboard to a device
What version of Home Assistant Core has the issue?
core-2024.6.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response