Skip to content
Snippets Groups Projects
Commit 4b012977 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#7 - improved colors

parent 473ea62f
No related branches found
No related tags found
No related merge requests found
......@@ -37,9 +37,9 @@ class CurrentTemperatureTile(Tile):
@staticmethod
def __determine_color_for_temperature(temperature: float):
if temperature < 0:
return 'rgba(75, 123, 236, 1)'
return 'rgba(70, 138, 221, 1)'
elif temperature < 10:
return 'rgba(149, 224, 108, 1)'
return 'rgba(117, 190, 84, 1)'
elif temperature < 20:
return 'rgba(254, 151, 0, 1)',
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment