piitaya / lovelace-mushroom-themes

Additional themes for Lovelace Mushroom Cards 🍄
Apache License 2.0
238 stars 19 forks source link

Map background to dark #51

Closed RobertoCravallo closed 10 months ago

RobertoCravallo commented 11 months ago

I really like the SQUARE theme, but for on problem. The map background should be light, as is, it is hardly possible to recognize anything. Can I change this myself? Fooled around a bit in the theme, but got nowhere.... See the attached example...

IdAW – Home Assistant 2023-10-21 13-57-37

piitaya commented 10 months ago

Hi 👋 The Mushroom theme doesn't change the color of the map. Every Home Assistant dark theme show the dark map and I'm not sure there is a theme variable for that.

RobertoCravallo commented 10 months ago

Thank you for your work by the way!!! No workaround for this? To bad, I will have to "live with it".... Regards from Germany, Robert

piitaya commented 10 months ago

There is a Home Assistant variable to change the map filter using theme : --map-filter But there was a bug (https://github.com/home-assistant/frontend/pull/18667). It's now fixed and should be possible with the next HA version (2023.12).

You should be able to remove the map filter in dark mode by adding "map-filter: none" in the dark section in your theme.

RobertoCravallo commented 10 months ago

Y E S!!! Perfect as of the upgrade today... Thank you.