You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing I have noticed in the basic template is that most of the base color is blue. From Tbens orginal post on the forum he described that he was using different colors for different type of objects, yellow for electicity etc.
I have noticed in the code that on some cards there is a default variable called color which is then used if the card is active.
For instance a I have a wireless wall switch that I use this code for and the default color would be blue. But since this is powering my christmas tree I want this to be yellow.
So my proposal is to make all the base card accept this parameter so it would be easy to change the base color if needed. The vertical cards already have this feature but would be nice to have on all cards.
In the base theme the following colors are available, blue, red, yellow, green, pink, purple. There is already templates for blue and blue_no_state that can be copied to handle the other colors.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
One thing I have noticed in the basic template is that most of the base color is blue. From Tbens orginal post on the forum he described that he was using different colors for different type of objects, yellow for electicity etc.
I have noticed in the code that on some cards there is a default variable called color which is then used if the card is active.
For instance a I have a wireless wall switch that I use this code for and the default color would be blue. But since this is powering my christmas tree I want this to be yellow.
so by adding the following lines the card could be changed to another color for highlighting the icon.
So my proposal is to make all the base card accept this parameter so it would be easy to change the base color if needed. The vertical cards already have this feature but would be nice to have on all cards.
In the base theme the following colors are available, blue, red, yellow, green, pink, purple. There is already templates for blue and blue_no_state that can be copied to handle the other colors.
Beta Was this translation helpful? Give feedback.
All reactions