thomasloven / hass-fontawesome

🔹 Use icons from fontawesome in home-assistant
Other
274 stars 52 forks source link

Inconsistent Font Sizes #11

Closed lordgoata closed 3 years ago

lordgoata commented 4 years ago

This is more a question than a bug report, but I am curious about icon sizes.

In my lovelace front end, I am displaying two icons:

image

If I view the same icons on the Font Awesome website, the icon used for Wind Gust (fal:wind-warning) seems larger and more consistent in size with the Wind Lull (fal:wind) icon:

image

I'm sure there is a logical reason (icon sized on width, rather than height maybe?), but I was curious as to why and if there was a way to address it?

Thank you in advance!

thomasloven commented 3 years ago

You are right. This is because Home Assistant scales icons to a consistent width rather than height. Some cards, i.e. the button card lets you specify the icon height yourself. That would help.

Beyond that, there's nothing I can do, unfortunately.

tagcashdev commented 3 years ago

Hi, I have a question :) I am creating my custom card and i have install hass-fontawesome for use fontawesome icons in my custom card.

I would therefore like to customize the size of the icons but unfortunately I can not, have an idea how to do?