Widget style based on sensor value?

Struggling with the search here, and on google.

Simple question - is it possible to change a widget style based on a sensor value? e.g. I have a widget that displays available electricity in kWh - I’d like to change the background to Red when it goes below a threshold.

is not possible (yet) with the existing widgets, but i know there have been people that created custom widgets with that option.

if searching doesnt work, then maybe scroll through the dashboard section.

It’s been on my todo list for a while but work and a neck injury have kept me away from AppDaemon development for a while - hopefully both will improve soon!