mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-21 11:09:30 -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
|
// read each text
|
||||||
this.screenTexts = conditions.map((condition) => {
|
this.screenTexts = conditions.map((condition) => {
|
||||||
// process the text
|
// process the text
|
||||||
let text = `${condition.DayName.toUpperCase()}...`;
|
let text = `${condition.DayName}...`;
|
||||||
const conditionText = condition.Text;
|
const conditionText = condition.Text;
|
||||||
text += conditionText.toUpperCase().replace('...', ' ');
|
text += conditionText.replace('...', ' ');
|
||||||
|
|
||||||
return text;
|
return text;
|
||||||
});
|
});
|
||||||
@@ -257,7 +257,7 @@ const parse = (forecast, forecastUrl) => {
|
|||||||
|
|
||||||
return activePeriods.slice(0, 6).map((text) => ({
|
return activePeriods.slice(0, 6).map((text) => ({
|
||||||
// format day and text
|
// format day and text
|
||||||
DayName: text.name.toUpperCase(),
|
DayName: text.name,
|
||||||
Text: text.detailedForecast,
|
Text: text.detailedForecast,
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
.forecast {
|
.forecast {
|
||||||
font-family: 'Star4000';
|
font-family: 'Star4000';
|
||||||
font-size: 24pt;
|
font-size: 24pt;
|
||||||
text-transform: uppercase;
|
|
||||||
@include u.text-shadow();
|
@include u.text-shadow();
|
||||||
min-height: 280px;
|
min-height: 280px;
|
||||||
line-height: 40px;
|
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