-
Notifications
You must be signed in to change notification settings - Fork 19
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make icon sizable in template card #13
Comments
I'd love this too |
@sotima @totalitarian you should be able to change icon size with mushroom 1.8.1. Mushroom:
mush-chip-icon-size: 0.6em
mush-chip-font-size: 0.4em
mush-icon-size: 54px
modes:
light: {}
dark: {} |
Will try this as soon as possible! Thanks a lot! |
Works as described. Many thanks! Is it possible to only apply this to certain cards though? I only want to change the icon size for 2 out of 5 cards on a view... |
There is a PR (work in progress) for that : piitaya/lovelace-mushroom#423 But for now, you can define type: custom:mushroom-entity-card
entity: light.kitchen_light
card_mod:
style: |
ha-card {
--icon-size: 54px;
} |
We can't but you're not the first to ask it. Maybe we can add an |
That would be great! |
I tried this but I get this error. Visual editor is not supported for this configuration: type: custom:mushroom-entity-card You can still edit your config in YAML. |
First of all: Thank you for your outstanding work on mushroom-cards.
I would love to use them but encountered a small problem. I would like to be able to enlarge the icon size of (at least) the template card. Right now it seems to be fixed at 20px which for my eyes (I am 60 years young) on my phone is a bit small. I even tried to edit it in the mushroom.js (--mdc-icon-size in .shape ha-icon class) - but I can´t get it to work. So it would be much appreciated if you could make this size adjustable via a themes variable.
Thanks again!
Matthias
The text was updated successfully, but these errors were encountered: