First off, Iām an amature with a capital AMATURE when it comes to CSS/Javascript/etc, so forgive the basic questionsā¦
Iāve got a set of chips, and for several of them Iād like to set the icon color based on the on/off state colors of the current theme. I think Iāve narrowed it down to using var(--state-on-color) or var(--state-off-color) in the icon_color: parameter for the chip. However, when referencing those, the icon is always grey, regardless of state. Iāve gotten the --rdb-accent-color and --rgb-primary-color to work at setting the color, but not the other values. Iām assuming itās because the --rgb-* values are RGB value vs hex values for the others.
So, is there a way to use values like --state-on-color in the icon_color: value?
Hi there do you know if i can change the background color and transparency of the cover-card?
I have a cover card in an picture-elements and want to change the style:
Hereās some of my dashboard, on my homepage I like using the slider card to add quick actions. For rooms with media players, I show whatās currently playing and that allows for play/pause. Quick access to lights, locks and garage doors is also really handy.
Hereās one of my room cards, again using the slider card to condense the page. I used a state switch card to rearrange my slider card based on media playing; if no media is playing the temp/humidity card becomes the first card. For RGBW lights, I added a button to set the white instead of the colour temp slider as they only have one white setting. For group lights, I added the dropdown so the option of group and individual control is still available.
The RGB lights in this room can also be controlled by an AppDaemon app that sets the colour based on the artwork.
The swipe card idea is actually really nice, Iāve been wondering how to convert my tablet layout to mobile without having to scroll endlessly on one page. Thanks for the ideas, Iāll continue building!