hi there, after playing around with habpanel widgets, I’m starting my own template.
I would like to change the color value for the font of a numeric value.
In the sitemap I would do something like this:
```
Text item=Aqi_Level valuecolor=[
Aqi_Level=="-"="lightgray",
Aqi_Level>=300="#7e0023",
>=201="#660099",
>=151="#cc0033",
>=101="#ff9933",
>=51="#ffde33",
>=0="#009966"
]
```
using angular js I can switch between 2 colors with:
ng-style="{ color: itemValue(item.name)==‘OFF’?‘red’:‘green’ }"
but, what if I would have more conditions?
thanks