4.9.1
Fix vehicle day tabs
This commit is contained in:
+7
-1
@@ -1312,9 +1312,15 @@ export function UTCIForecast() {
|
||||
color: feelLum > 165 ? '#1a1a1a' : '#ffffff',
|
||||
...(cat.fontWeight ? { fontWeight: cat.fontWeight } : {}),
|
||||
};
|
||||
// Card wears the same hue as its feel tag, washed right back so
|
||||
// the tag still reads as the strong swatch on top of it.
|
||||
const cardRgb = fscRgb(dispTemp, 0.70) || [245, 245, 245];
|
||||
return html`
|
||||
<div key=${r.iso} class=${'fsc-card' + (isNow ? ' fsc-card--now' : '')}
|
||||
style=${fscPlot && { gridColumn: fscPlot.cardCol(fscPlot.landing[ri]) }}>
|
||||
style=${{
|
||||
background: `rgb(${cardRgb[0]},${cardRgb[1]},${cardRgb[2]})`,
|
||||
...(fscPlot ? { gridColumn: fscPlot.cardCol(fscPlot.landing[ri]) } : {}),
|
||||
}}>
|
||||
<div class="fsc-time">${localHHMMs}</div>
|
||||
<div class="fsc-scope-wrap">
|
||||
<${SkyScope} elev=${r.elev} dt=${r.dt} glob=${r.glob} size=${42} />
|
||||
|
||||
Reference in New Issue
Block a user