Colored badges in Glance cards based on entity active state #11236
Replies: 4 comments
-
This could be inconsistent with other cards. Ex: Button Card |
Beta Was this translation helpful? Give feedback.
-
You are correct. The concept here is colouring the background of an icon, instead of colouring the icon, based on the active state, for a faster status recognition. Entity card and Button card should be considered as well. |
Beta Was this translation helpful? Give feedback.
-
I do like this idea for Glance and only Glance |
Beta Was this translation helpful? Give feedback.
-
I like this! We should do this for the Glance card |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
State of the art
Glance cards currently provide a way to color the entity icon based on its active state:
The request
It would be nice if there was the option of coloring the circle behind the icon, instead of the icon, so the active state stands out better, either when it's on or off:
Readability improves.
Additional information
No change to the HTML structure is needed, as it would be just a matter of styling the already present
<state-badge>
element, that represents the circle behind the icon:Beta Was this translation helpful? Give feedback.
All reactions