style: finish frontend token cleanup
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user