style: finish frontend token cleanup

This commit is contained in:
zv
2026-06-04 20:22:42 +02:00
parent cdce40e69c
commit 4e66fb549a
5 changed files with 19 additions and 16 deletions

View File

@@ -183,14 +183,3 @@ export function getWeatherDescription(station: SynopStation, language: Language
if ((station.humidity ?? 0) >= 90) return translate(language, "weather.humid");
return translate(language, "weather.calm");
}
export function moodAccentClass(mood: WeatherMood) {
return {
warm: "border-accent/25 bg-accent/10 text-accent",
cloudy: "border-border/70 bg-surface-muted text-muted",
wind: "border-border/70 bg-surface-muted text-muted",
cold: "border-border/70 bg-surface-muted text-muted",
night: "border-border/70 bg-surface-muted text-muted",
mild: "border-accent/25 bg-accent/10 text-accent",
}[mood];
}