Added new build system and mappings for weather.com

pull/143/head
Michael Cooke 8 years ago
parent 2688c49862
commit fdafe3ed88

3
.gitignore vendored

@ -1,2 +1,3 @@
config.codekit
*.sass-cache*
*.sass-cache*
node_modules

@ -0,0 +1,41 @@
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
less: {
development: {
files: {
"css/weather-icons-wind.css": "less/weather-icons-wind.less",
"css/weather-icons.css": "less/weather-icons.less"
}
},
dist: {
options: {
compress: true
},
files: {
"css/weather-icons-wind.min.css": "less/weather-icons-wind.less",
"css/weather-icons.min.css": "less/weather-icons.less"
}
}
},
sass: {
development: {
files: {
"css/weather-icons-wind.css": "sass/weather-icons-wind.scss",
"css/weather-icons.css": "sass/weather-icons.scss"
}
},
dist: {
options: {
style: 'compressed'
},
files: {
"css/weather-icons-wind.min.css": "sass/weather-icons-wind.scss",
"css/weather-icons.min.css": "sass/weather-icons.scss"
}
}
}
});
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
/*!
* Weather Icons 2.0.8
* Updated September 19, 2015
* Weather Icons 2.0
* Updated August 1, 2015
* Weather themed icons for Bootstrap
* Author - Erik Flowers - erik@helloerik.com
* Email: erik@helloerik.com
@ -819,6 +819,150 @@
.wi-wind-beaufort-12:before {
content: "\f0c3";
}
.wi-weather-channel-0:before {
content: "\f056";
}
.wi-weather-channel-1:before {
content: "\f01d";
}
.wi-weather-channel-2:before {
content: "\f073";
}
.wi-weather-channel-3:before {
content: "\f01e";
}
.wi-weather-channel-4:before {
content: "\f01d";
}
.wi-weather-channel-5:before {
content: "\f017";
}
.wi-weather-channel-6:before {
content: "\f017";
}
.wi-weather-channel-7:before {
content: "\f017";
}
.wi-weather-channel-8:before {
content: "\f015";
}
.wi-weather-channel-9:before {
content: "\f01a";
}
.wi-weather-channel-10:before {
content: "\f015";
}
.wi-weather-channel-11:before {
content: "\f01a";
}
.wi-weather-channel-12:before {
content: "\f019";
}
.wi-weather-channel-13:before {
content: "\f01b";
}
.wi-weather-channel-14:before {
content: "\f01b";
}
.wi-weather-channel-15:before {
content: "\f064";
}
.wi-weather-channel-16:before {
content: "\f01b";
}
.wi-weather-channel-17:before {
content: "\f015";
}
.wi-weather-channel-18:before {
content: "\f017";
}
.wi-weather-channel-19:before {
content: "\f063";
}
.wi-weather-channel-20:before {
content: "\f014";
}
.wi-weather-channel-21:before {
content: "\f012";
}
.wi-weather-channel-22:before {
content: "\f062";
}
.wi-weather-channel-23:before {
content: "\f021";
}
.wi-weather-channel-24:before {
content: "\f050";
}
.wi-weather-channel-25:before {
content: "\f076";
}
.wi-weather-channel-26:before {
content: "\f013";
}
.wi-weather-channel-27:before {
content: "\f031";
}
.wi-weather-channel-28:before {
content: "\f002";
}
.wi-weather-channel-29:before {
content: "\f031";
}
.wi-weather-channel-30:before {
content: "\f002";
}
.wi-weather-channel-31:before {
content: "\f02e";
}
.wi-weather-channel-32:before {
content: "\f00d";
}
.wi-weather-channel-33:before {
content: "\f083";
}
.wi-weather-channel-34:before {
content: "\f00c";
}
.wi-weather-channel-35:before {
content: "\f006";
}
.wi-weather-channel-36:before {
content: "\f072";
}
.wi-weather-channel-37:before {
content: "\f00e";
}
.wi-weather-channel-38:before {
content: "\f01d";
}
.wi-weather-channel-39:before {
content: "\f00e";
}
.wi-weather-channel-40:before {
content: "\f01a";
}
.wi-weather-channel-41:before {
content: "\f065";
}
.wi-weather-channel-42:before {
content: "\f01b";
}
.wi-weather-channel-43:before {
content: "\f064";
}
.wi-weather-channel-44:before {
content: "\f00c";
}
.wi-weather-channel-45:before {
content: "\f03a";
}
.wi-weather-channel-46:before {
content: "\f038";
}
.wi-weather-channel-47:before {
content: "\f01d";
}
.wi-yahoo-0:before {
content: "\f056";
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,75 @@
.@{wi-css-prefix}-weather-channel-0:before { content: @tornado; };
.@{wi-css-prefix}-weather-channel-1:before { content: @storm-showers; };
.@{wi-css-prefix}-weather-channel-2:before { content: @hurricane; };
.@{wi-css-prefix}-weather-channel-3:before { content: @thunderstorm; };
.@{wi-css-prefix}-weather-channel-4:before { content: @storm-showers; };
.@{wi-css-prefix}-weather-channel-5:before { content: @rain-mix; };
.@{wi-css-prefix}-weather-channel-6:before { content: @rain-mix; };
.@{wi-css-prefix}-weather-channel-7:before { content: @rain-mix; };
.@{wi-css-prefix}-weather-channel-8:before { content: @hail; };
.@{wi-css-prefix}-weather-channel-9:before { content: @showers; };
.@{wi-css-prefix}-weather-channel-10:before { content: @hail; };
.@{wi-css-prefix}-weather-channel-11:before { content: @showers; };
.@{wi-css-prefix}-weather-channel-12:before { content: @rain; };
.@{wi-css-prefix}-weather-channel-13:before { content: @snow; };
.@{wi-css-prefix}-weather-channel-14:before { content: @snow; };
.@{wi-css-prefix}-weather-channel-15:before { content: @snow-wind; };
.@{wi-css-prefix}-weather-channel-16:before { content: @snow; };
.@{wi-css-prefix}-weather-channel-17:before { content: @hail; };
.@{wi-css-prefix}-weather-channel-18:before { content: @rain-mix; };
.@{wi-css-prefix}-weather-channel-19:before { content: @dust; };
.@{wi-css-prefix}-weather-channel-20:before { content: @fog; };
.@{wi-css-prefix}-weather-channel-21:before { content: @cloudy-windy; };
.@{wi-css-prefix}-weather-channel-22:before { content: @smoke; };
.@{wi-css-prefix}-weather-channel-23:before { content: @windy; };
.@{wi-css-prefix}-weather-channel-24:before { content: @strong-wind; };
.@{wi-css-prefix}-weather-channel-25:before { content: @snowflake-cold; };
.@{wi-css-prefix}-weather-channel-26:before { content: @cloudy; };
.@{wi-css-prefix}-weather-channel-27:before { content: @night-cloudy; };
.@{wi-css-prefix}-weather-channel-28:before { content: @day-cloudy; };
.@{wi-css-prefix}-weather-channel-29:before { content: @night-cloudy; };
.@{wi-css-prefix}-weather-channel-30:before { content: @day-cloudy; };
.@{wi-css-prefix}-weather-channel-31:before { content: @night-clear; };
.@{wi-css-prefix}-weather-channel-32:before { content: @day-sunny; };
.@{wi-css-prefix}-weather-channel-33:before { content: @night-partly-cloudy; };
.@{wi-css-prefix}-weather-channel-34:before { content: @day-sunny-overcast; };
.@{wi-css-prefix}-weather-channel-35:before { content: @day-rain-mix; };
.@{wi-css-prefix}-weather-channel-36:before { content: @hot; };
.@{wi-css-prefix}-weather-channel-37:before { content: @day-storm-showers; };
.@{wi-css-prefix}-weather-channel-38:before { content: @storm-showers; };
.@{wi-css-prefix}-weather-channel-39:before { content: @day-storm-showers; };
.@{wi-css-prefix}-weather-channel-40:before { content: @showers; };
.@{wi-css-prefix}-weather-channel-41:before { content: @day-snow-wind; };
.@{wi-css-prefix}-weather-channel-42:before { content: @snow; };
.@{wi-css-prefix}-weather-channel-43:before { content: @snow-wind; };
.@{wi-css-prefix}-weather-channel-44:before { content: @day-sunny-overcast; };
.@{wi-css-prefix}-weather-channel-45:before { content: @night-storm-showers; };
.@{wi-css-prefix}-weather-channel-46:before { content: @night-snow; };
.@{wi-css-prefix}-weather-channel-47:before { content: @storm-showers; };

@ -24,6 +24,7 @@
@import "weather-icons-variables.less";
@import "weather-icons-classes.less";
// Mappings to various APIs
@import "mappings/wi-wchannel.less";
@import "mappings/wi-yahoo.less";
@import "mappings/wi-forecast-io.less";
@import "mappings/wi-wmo4680.less";

@ -1,6 +1,6 @@
{
"name": "weather-icons",
"version": "2.0.10",
"version": "2.0.10",
"description": "215 weather themed icons inspired by Font Awesome and ready for Bootstrap",
"scripts": {},
"authors": [
@ -8,9 +8,18 @@
],
"license": "MIT",
"dependencies": {},
"devDependencies": {},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-less": "^1.2.0",
"grunt-contrib-sass": "^0.9.2",
"load-grunt-tasks": "^3.4.0"
},
"homepage": "http://erikflowers.github.io/weather-icons/",
"keywords": [
"css", "icon-font", "weather", "icon", "icons"
]
"keywords": [
"css",
"icon-font",
"weather",
"icon",
"icons"
]
}

@ -0,0 +1,49 @@
.#{wi-css-prefix}-yahoo-0:before { content: $tornado; };
.#{wi-css-prefix}-yahoo-1:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-2:before { content: $hurricane; };
.#{wi-css-prefix}-yahoo-3:before { content: $thunderstorm; };
.#{wi-css-prefix}-yahoo-4:before { content: $thunderstorm; };
.#{wi-css-prefix}-yahoo-5:before { content: $rain-mix; };
.#{wi-css-prefix}-yahoo-6:before { content: $rain-mix; };
.#{wi-css-prefix}-yahoo-7:before { content: $rain-mix; };
.#{wi-css-prefix}-yahoo-8:before { content: $hail; };
.#{wi-css-prefix}-yahoo-9:before { content: $showers; };
.#{wi-css-prefix}-yahoo-10:before { content: $hail; };
.#{wi-css-prefix}-yahoo-11:before { content: $showers; };
.#{wi-css-prefix}-yahoo-12:before { content: $showers; };
.#{wi-css-prefix}-yahoo-13:before { content: $snow; };
.#{wi-css-prefix}-yahoo-14:before { content: $day-snow; };
.#{wi-css-prefix}-yahoo-15:before { content: $snow-wind; };
.#{wi-css-prefix}-yahoo-16:before { content: $snow; };
.#{wi-css-prefix}-yahoo-17:before { content: $hail; };
.#{wi-css-prefix}-yahoo-18:before { content: $rain-mix; };
.#{wi-css-prefix}-yahoo-19:before { content: $dust; };
.#{wi-css-prefix}-yahoo-20:before { content: $fog; };
.#{wi-css-prefix}-yahoo-21:before { content: $windy; };
.#{wi-css-prefix}-yahoo-22:before { content: $smoke; };
.#{wi-css-prefix}-yahoo-23:before { content: $strong-wind; };
.#{wi-css-prefix}-yahoo-24:before { content: $strong-wind; };
.#{wi-css-prefix}-yahoo-25:before { content: $snowflake-cold; };
.#{wi-css-prefix}-yahoo-26:before { content: $cloudy; };
.#{wi-css-prefix}-yahoo-27:before { content: $night-cloudy; };
.#{wi-css-prefix}-yahoo-28:before { content: $day-cloudy; };
.#{wi-css-prefix}-yahoo-29:before { content: $night-cloudy; };
.#{wi-css-prefix}-yahoo-30:before { content: $day-cloudy; };
.#{wi-css-prefix}-yahoo-31:before { content: $night-clear; };
.#{wi-css-prefix}-yahoo-32:before { content: $day-sunny; };
.#{wi-css-prefix}-yahoo-33:before { content: $night-partly-cloudy; };
.#{wi-css-prefix}-yahoo-34:before { content: $day-sunny-overcast; };
.#{wi-css-prefix}-yahoo-35:before { content: $rain-mix; };
.#{wi-css-prefix}-yahoo-36:before { content: $hot; };
.#{wi-css-prefix}-yahoo-37:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-38:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-39:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-40:before { content: $showers; };
.#{wi-css-prefix}-yahoo-41:before { content: $snow-wind; };
.#{wi-css-prefix}-yahoo-42:before { content: $snow; };
.#{wi-css-prefix}-yahoo-43:before { content: $snow-wind; };
.#{wi-css-prefix}-yahoo-44:before { content: $day-sunny-overcast; };
.#{wi-css-prefix}-yahoo-45:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-46:before { content: $snow; };
.#{wi-css-prefix}-yahoo-47:before { content: $day-storm-showers; };
.#{wi-css-prefix}-yahoo-3200:before { content: $stars; };

@ -24,6 +24,7 @@
@import 'weather-icons-variables.scss';
@import 'weather-icons-classes.scss';
// Mappings to various APIs
@import "mappings/wi-wchannel.scss";
@import "mappings/wi-yahoo.scss";
@import "mappings/wi-forecast-io.scss";
@import "mappings/wi-wmo4680.scss";

Loading…
Cancel
Save