usernein / tv-card

📺 TV Remote Card (with touchpad and haptic feedback)
Apache License 2.0
107 stars 26 forks source link

Resize icons #1

Open Marcoske23 opened 2 years ago

Marcoske23 commented 2 years ago

Is your feature request related to a problem? Please describe. The size of icons is to big to respect to rest of lovelace icon

Describe the solution you'd like option inthe code for resize the icon

usernein commented 2 years ago

It's cool to have this option for resizing the card elements. I'll try to add it within the future updates. For now you can use this trick with card_mod:

card_mod:
  style: |
      ha-icon-button {
         --mdc-icon-size: 40px;
      }

For the slider, you can override its options using slider_config, but not exactly now (while testing these instructions i discovered a bug which i'm going to push a fix in some minutes)

slider_config:
  height: 30px
gerardsyd commented 2 years ago

Ah nice! Is there a way to change the height of the rows? Great mod by the way!