Last active
December 22, 2020 16:21
-
-
Save joshualyon/7bb3b2a9e2a6801ff673bf4c1e159452 to your computer and use it in GitHub Desktop.
SharpTools Weather Tile Icon Mappings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"chanceflurries": {"weatherIcon": "snow-wind"}, | |
"chancerain": {"weatherIcon": "rain"}, | |
"chancesleet": {"weatherIcon": "sleet"}, | |
"chancesnow": {"weatherIcon": "snow"}, | |
"chancetstorms": {"weatherIcon": "thunderstorm"}, | |
"clear": {"weatherIcon": "day-sunny"}, | |
"cloudy": {"weatherIcon": "day-cloudy"}, | |
"flurries": {"weatherIcon": "snow-wind"}, | |
"fog": {"weatherIcon": "day-fog"}, | |
"hazy": {"weatherIcon": "day-haze"}, | |
"mostlycloudy": {"weatherIcon": "day-cloudy"}, | |
"mostlysunny": {"weatherIcon": "day-sunny"}, | |
"partlycloudy": {"weatherIcon": "day-cloudy"}, | |
"partlysunny": {"weatherIcon": "day-sunny"}, | |
"rain": {"weatherIcon": "showers"}, | |
"sleet": {"weatherIcon": "sleet"}, | |
"snow": {"weatherIcon": "snow"}, | |
"sunny": {"weatherIcon": "day-sunny"}, | |
"tstorms": {"weatherIcon": "thunderstorm"}, | |
"nt_chanceflurries": {"weatherIcon": "night-alt-snow-wind"}, | |
"nt_chancerain": {"weatherIcon": "night-alt-rain"}, | |
"nt_chancesleet": {"weatherIcon": "night-alt-sleet"}, | |
"nt_chancesnow": {"weatherIcon": "night-alt-snow"}, | |
"nt_chancetstorms": {"weatherIcon": "night-alt-thunderstorm"}, | |
"nt_clear": {"weatherIcon": "night-clear"}, | |
"nt_cloudy": {"weatherIcon": "night-alt-cloudy"}, | |
"nt_flurries": {"weatherIcon": "night-alt-snow-wind"}, | |
"nt_fog": {"weatherIcon": "night-fog"}, | |
"nt_hazy": {"weatherIcon": "night-alt-cloud-windy"}, | |
"nt_mostlycloudy": {"weatherIcon": "night-alt-cloudy"}, | |
"nt_mostlysunny": {"weatherIcon": "night-clear"}, | |
"nt_partlycloudy": {"weatherIcon": "night-alt-cloudy"}, | |
"nt_partlysunny": {"weatherIcon": "night-clear"}, | |
"nt_sleet": {"weatherIcon": "night-alt-sleet"}, | |
"nt_rain": {"weatherIcon": "night-alt-rain"}, | |
"nt_snow": {"weatherIcon": "night-alt-snow"}, | |
"nt_sunny": {"weatherIcon": "night-clear"}, | |
"nt_tstorms": {"weatherIcon": "night-alt-thunderstorm"} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to include both Weather Underground style icon codes and The Weather Company (weather.com) style codes.
Weather Underground
Weather Underground codes are in a descriptive format:
chanceflurries
,chancerain
,clear
,cloudy
There are also night time variants with
nt_
prefixed:nt_chanceflurries
,nt_chancerain
,nt_clear
,nt_cloudy
The Weather Company
The Weather Company codes are numeric:
06
= sleet12
= rainIn the file above, the definition for each of these is expanded to include a description and indication of it the icon is intended for day, night, or both to make it easier to understand their usages.