From 6ff8efacb38e3399680d8593d7c1e5b29c3f73ba Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sat, 11 Feb 2023 19:50:48 +0100 Subject: Adjust icons: make them consistent --- js/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/index.js b/js/index.js index 459a22c..1244a18 100644 --- a/js/index.js +++ b/js/index.js @@ -23,7 +23,7 @@ const WEATHERS = [ // We can use some symbols from here: // https://www.alt-codes.net/weather-symbols.php const WEATHER2ICON = { - CLEAR_SKY: "☀", + CLEAR_SKY: "🌣", MAINLY_CLEAR: "🌤", FOG: "🌫", DRIZZLE: "🌦", @@ -33,9 +33,9 @@ const WEATHER2ICON = { SNOW_FALL: "🌨", SNOW_GRAINS: "🌨", RAIN_SHOWERS: "🌧", - SNOW_SHOWERS: "⛇", - THUNDERSTORM: "⛈", - THUNDERSTORM_HAIL: "⛈", + SNOW_SHOWERS: "🌨", + THUNDERSTORM: "🌩", + THUNDERSTORM_HAIL: "🌩", }; const WMO_CONVERTER = { 0: "CLEAR_SKY", @@ -95,8 +95,8 @@ function Day(date, t_max, t_min, weather){

${this.weather_desc}

${WEATHER2ICON[this.weather]}`; -- cgit v1.2.3