It appears that the brand images being used for each integration are chosen with the assumption that the user is using a light theme. I have a dark theme applied which makes some of the icons illegible. I wonder if it’s worth having a “light” and “dark” version of logos?
I noticed this with the Yamaha logo. There’s a purple version I’m considering submitting instead of the black one. You could do the same for black logos you notice.
I think a stable solution would be, that those logos always get displayed with a white background, but with some degree of transparency to let the theme color shimmer through. So with f. ex. 50% transparency it would be a neutral grey on a black background, light red on a red background etc…
Darn it! You went and made a sensible suggestion, that’ll never work
Thinking about it a bit more I guess it wouldn’t fix much after all. If the theme is red, and making the background a light red via transparency, the logo would be hard to see if it’s light red itself.
Well, then just force a white background. Except for white logos.
Am I the only one who thinks the old style was far easier in actual use?
You are not the only one
Unfortunately this is not always possible. Vizio, as an example, only has a black or white logo
Yeah I was just thinking about that. What if someone has a nice purple card theme?
The only solution that I can think of is to not allow theming of the cards.
My suggestion would be to amend the brand image repo build to serve also dark mode assets if provided.
Then we’d just need to point to the new assets if the user has dark mode activated:
https://brands.home-assistant.io/[domain]/icon.png
https://brands.home-assistant.io/[domain]/icon_dark.png
I’m not sure how these feature requests work, but I’d be happy to open a PR
With 2021.9 this problem is solved I think. @ludeeus made it possible to have dark and light mode brand images. Thanks!