From 02b763e8f3ee2217656ffb8a35fe2cdef567f4d4 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 14 Dec 2022 10:17:34 +0100 Subject: [PATCH] Add snow weather icon SVG class (#14655) fixes undefined --- src/data/weather.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/data/weather.ts b/src/data/weather.ts index 6c2fb20fcb..fe64a4ff8a 100644 --- a/src/data/weather.ts +++ b/src/data/weather.ts @@ -319,6 +319,12 @@ export const weatherSVGStyles = css` .cloud-front { fill: var(--weather-icon-cloud-front-color, #f9f9f9); } + .snow { + fill: var(--weather-icon-snow-color, #f9f9f9); + stroke: var(--weather-icon-snow-stroke-color, #d4d4d4); + stroke-width: 1; + paint-order: stroke; + } `; const getWeatherStateSVG = ( @@ -434,15 +440,15 @@ const getWeatherStateSVG = ( snowyStates.has(state) ? svg` `