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

@@ -52,6 +52,8 @@
"backgroundColor": "#212121",
"messageColor": "#fff",
"dateColor": "#d9d9d9",
"lineColor": "#fff",
"weatherColor": "#d9d9d9",
"searchColor": "#fff",
"searchBackgroundColor": "#2e2e2e",
"squareColor": "#9e9e9e",

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"]
}