-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow theming of template card icon and shape colour #196
Comments
I want to support this. I have the same situation where the colors of entitie cards and light cards dont mathc with my template cards. I would like to have an documented way to define these colors in my theme. The explanations in the mushroom theme's readme are somewhat confusing for me. I don't know if these styles are hard coded in the cards or can be changed by a theme. Please document it one time for everyone. I can't get it by my self. |
Thanks for the screenshots. I see the problem too. |
Thanks. That's what I wanted to say. I am looking forward to it. |
While you are working at this, would it be possible to also make the size of the icon adjustable via a theme variable? Right now they seem to be fixed at 20 px which is a bit small for my eyes on my phone. ;-) |
Changing icon size is now possible with theme : https://github.com/piitaya/lovelace-mushroom/releases/tag/v1.8.1 |
Is your feature request related to a problem? Please describe.
I have Mushroom Entity and Template cards in the same view, and want the icon colours to match and also have different colours in light or dark mode in my theme.
However, the default template icon colour appears to be based on the --primary-text-color
while the default icon colour for the entity card is based on --mush-rgb-state-entity
Describe the solution you'd like
I'd like a theme variable to define the icon colour for the template and preferably the shape.
Describe alternatives you've considered
By making mush-rgb-state-entity the same as primary-text-color in my theme, I can get the main icon colours to match, but the shape colours are different due to the different opacity being used.
Additional context
The text was updated successfully, but these errors were encountered: