mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
switch local forecast to mixed case for better readability and to match the latest captures from the late '00s
This commit is contained in:
@@ -37,9 +37,9 @@ class LocalForecast extends WeatherDisplay {
|
||||
// read each text
|
||||
this.screenTexts = conditions.map((condition) => {
|
||||
// process the text
|
||||
let text = `${condition.DayName.toUpperCase()}...`;
|
||||
let text = `${condition.DayName}...`;
|
||||
const conditionText = condition.Text;
|
||||
text += conditionText.toUpperCase().replace('...', ' ');
|
||||
text += conditionText.replace('...', ' ');
|
||||
|
||||
return text;
|
||||
});
|
||||
@@ -257,7 +257,7 @@ const parse = (forecast, forecastUrl) => {
|
||||
|
||||
return activePeriods.slice(0, 6).map((text) => ({
|
||||
// format day and text
|
||||
DayName: text.name.toUpperCase(),
|
||||
DayName: text.name,
|
||||
Text: text.detailedForecast,
|
||||
}));
|
||||
};
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
.forecast {
|
||||
font-family: 'Star4000';
|
||||
font-size: 24pt;
|
||||
text-transform: uppercase;
|
||||
@include u.text-shadow();
|
||||
min-height: 280px;
|
||||
line-height: 40px;
|
||||
|
||||
2
server/styles/ws.min.css
vendored
2
server/styles/ws.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user