switch local forecast to mixed case for better readability and to match the latest captures from the late '00s

This commit is contained in:
Matt Walsh
2026-04-14 08:52:36 -05:00
parent 994c9240b8
commit 62fbe1787f
4 changed files with 5 additions and 6 deletions

View File

@@ -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,
}));
};

View File

@@ -25,7 +25,6 @@
.forecast {
font-family: 'Star4000';
font-size: 24pt;
text-transform: uppercase;
@include u.text-shadow();
min-height: 280px;
line-height: 40px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long