home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.06k stars 2.78k forks source link

When casting, hc-launch-screen ignores dark mode setting #21113

Closed Matthew-Whitlock closed 1 month ago

Matthew-Whitlock commented 4 months ago

Checklist

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

  1. Set your home assistant profile to dark mode
  2. Install the Google Cast integration
  3. 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

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.