Skip to content

Instantly share code, notes, and snippets.

@erikflowers
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikflowers/a60f51db078fad5eced1 to your computer and use it in GitHub Desktop.
Save erikflowers/a60f51db078fad5eced1 to your computer and use it in GitHub Desktop.
weather icon input/output
// Input format - a name and hex in a big list
day-cloudy, f002
day-sunny, f003
...
// Outputs
// File "weather-icons-variables.less" - Less Variable inside of array:
"day-cloudy" "\f002",
"day-sunny" "\f003",
...
// File "weather-icons-variables.scss" - Sass Variable inside of array
"day-cloudy": "\f002",
// File "icon-list.jade" - Jade, icon class name and hex twice
.icon-wrap
.icon  
.icon_name wi-day-cloudy 
.icon_unicode ()
.icon-wrap
.icon  
.icon_name wi-day-sunny 
.icon_unicode ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment