kinghat / tabbed-card

a custom card for home assistant that utilizes tabs to segregate individual cards.
MIT License
87 stars 10 forks source link

Feature Requests: remove force CAP and add center align and icon color #34

Closed ASNNetworks closed 1 year ago

ASNNetworks commented 1 year ago

Hi,

So I really dig this custom card! I used state-switch with custom button cards to create own tabs, but this card makes it a lot easier and manageable, great work! One thing I notice I hope to see changed is the labels. Everything is forced in CAPS while I want it to be case sensitive. Could you change it so the label is identical to the input? This way people can decide themselves if they want all caps, lower caps or start with a cap.

Also I notice the label and icon are not aligned in the center. It's now aligned at the top, which makes it look kinda messy. image

Also, the style option only affects the text-color, but not the icon. Could you also provide a variable to alter the icon color? Currently the text changes color, but the icon is hardcoded (the unselected tab). When I use a dark mode theme, the icon becomes invisible due to the hardcoded color. image

ASNNetworks commented 1 year ago

Edit: the icon and text alignment seems to be browser based. On Desktop it shows like the screenshot, on mobile however it's aligned properly. Hard to say what the issue might be.