Include additional configuration for the line divider and the weather
This commit is contained in:
@@ -52,6 +52,8 @@
|
||||
"backgroundColor": "#212121",
|
||||
"messageColor": "#fff",
|
||||
"dateColor": "#d9d9d9",
|
||||
"lineColor": "#fff",
|
||||
"weatherColor": "#d9d9d9",
|
||||
"searchColor": "#fff",
|
||||
"searchBackgroundColor": "#2e2e2e",
|
||||
"squareColor": "#9e9e9e",
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user