UI-Lovelace-Minimalist / UI

UI-Lovelace-Minimalist is a "theme" for HomeAssistant
https://ui-lovelace-minimalist.github.io/UI/
Other
1.57k stars 420 forks source link

Specify all theme colors in HEX #1476

Closed jasperweiss closed 3 months ago

jasperweiss commented 3 months ago

Would it be possible to specify all theme colors in HEX? RGB values do not work well with mini graph card's smooth transition (see related issue)

If a value set in the color thresholds is out of range for the current graph, the color is black. A solution would be to set the lower and upper bounds of the graph but that ends up making the graph appear as a flat line most of the time for some use-cases (I.e humidity would be between 0-100 but usually only varies a couple of percentage points in the displayed time range).

The color interpolation works fine with HEX values however. You could set them manually but then dark/light mode stops working properly.

jasperweiss commented 3 months ago

The colors I'm using seem to all reference HEX values. Perhaps this isn't the issue.