Include additional configuration for the line divider and the weather

This commit is contained in:
Benji Hooper
2021-04-16 22:33:07 +01:00
parent 8b7e59ca50
commit 94894c7e6f
2 changed files with 8 additions and 0 deletions

View File

@@ -269,6 +269,12 @@ function parseAndCreate(jsonData) {
if (styleData["dateColor"]) {
document.getElementById(dateId).style.color = styleData["dateColor"]
}
if (styleData["lineColor"]) {
document.getElementById(lineId).style.color = styleData["lineColor"]
}
if (styleData["weatherColor"]) {
document.getElementById(weatherId).style.color = styleData["weatherColor"]
}
if (styleData["searchColor"]) {
document.getElementById(searchBarId).style.color = styleData["searchColor"]
}