Change icon-size in template-card version v5.x #1769
-
|
Hi everyone, In version 4.x, I used card_mod to increase the icon size with the following style: card_mod:
style: |
:host {
--mush-icon-symbol-size: 50px;
--mush-icon-size: 70px;
}However, this no longer works in the latest version. Does anyone know what the new style is to increase the icon size? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
-
|
I already find the solution https://community.home-assistant.io/t/mushroom-cards-card-mod-styling-config-guide/600472/1442 card_mod:
style:
ha-tile-icon$: |
.container {
width: 70px !important;
height: 70px !important;
border-radius: 50% !important;
}
.: |
ha-tile-icon {
--mdc-icon-size: 50px !important;
}
ha-card {
margin-top: 0px !important;
margin-left: 00px !important;
} |
Beta Was this translation helpful? Give feedback.
I already find the solution
https://community.home-assistant.io/t/mushroom-cards-card-mod-styling-config-guide/600472/1442