diff --git a/src/lib/components/WeatherCalendar.svelte b/src/lib/components/WeatherCalendar.svelte index daebab85..f36bb5a5 100644 --- a/src/lib/components/WeatherCalendar.svelte +++ b/src/lib/components/WeatherCalendar.svelte @@ -176,10 +176,10 @@ }; const getDayCellClasses = (cell: CalendarCellDay) => [ - 'flex min-h-[140px] flex-col gap-3 rounded-lg border bg-neutral-50 p-2 text-xs shadow-sm transition dark:bg-neutral-800', + 'flex min-h-[140px] flex-col gap-3 rounded-lg border bg-white p-3 text-xs text-neutral-800 shadow-sm transition dark:bg-neutral-800 dark:text-neutral-100', cell.isToday - ? 'border-accent-500 ring-1 ring-accent-500/60 dark:border-accent-300' - : 'border-neutral-200 dark:border-neutral-700' + ? 'border-accent-500 ring-1 ring-accent-500/60 dark:border-orange-600' + : 'border-neutral-300 dark:border-neutral-700' ].join(' '); @@ -193,7 +193,7 @@
{#each weekdays as label (label)} @@ -216,29 +216,35 @@ {@const day = cell as CalendarCellDay}
- {weekdays[day.date.weekday % 7]} - {weekdays[day.date.weekday % 7]} + {day.date.day}
{#if day.weather}
{formatTemp(day.weather.maxtemp_c)}°C - + Low {formatTemp(day.weather.mintemp_c)}°C
- {day.weather.condition.icon} + {day.weather.condition.icon}
- {day.weather.condition.text} - + + {day.weather.condition.text} + + {formatPrecip(day.weather.totalprecip_mm)} mm
@@ -252,7 +258,7 @@
{#each day.events as event, idx (event.id ?? idx)}
{getEventTitle(event)}
diff --git a/src/routes/app/dashboard/location/[location_id]/devices/[devEui]/+page.svelte b/src/routes/app/dashboard/location/[location_id]/devices/[devEui]/+page.svelte index 8347db1b..32714b83 100644 --- a/src/routes/app/dashboard/location/[location_id]/devices/[devEui]/+page.svelte +++ b/src/routes/app/dashboard/location/[location_id]/devices/[devEui]/+page.svelte @@ -373,7 +373,7 @@ } const formatTrafficTitle = (counts: Record, total: number) => { - const lines: string[] = [`Total: ${total.toLocaleString()}`]; + const lines: string[] = [`Everything Total: ${total.toLocaleString()}`]; const orderedKeys = Object.keys(counts).sort(); for (const key of orderedKeys) { const value = counts[key] ?? 0;