Hi,
I’m setting up a new Weather Widget, based on the darksky binding. For the wind direction I’m using the weathericons from eric flowers. I’m rotating the SVG image using CSS. I also want to color the icon to white, but that does not work with the “fill” property in the css class.
.darksky-wind-icon{
fill: white !important;
transform: rotate({{itemValue('localCurrentWindDirection')}}deg);
}
and the widget contains:
<img height="92" src="{{ServerPath}}/static/icons/wi-wind-deg.svg" style="width: 92px;" class="darksky-wind-icon"/>
the rotation woks, but the SVG does not accept the “fill” in CSS. Is there any other way to get the icon/ image colored?
Thank you in advance!