Skip to content

Commit 750072a

Browse files
committed
Merge pull request #88 from erikflowers/2.0-wip
2.0 wip
2 parents 706ae48 + d477a14 commit 750072a

File tree

240 files changed

+102299
-1008
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+102299
-1008
lines changed

README.md

+19-35
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,39 @@
11
# Weather Icons
2-
*Version 1.3 - November 30th, 2014*
2+
*Version 2.0 - August 2015*
33

4-
## A free, open source icon-font of Weather icons
4+
## 215 Weather Themed Icons and CSS
55

6-
Weather Icons is a font of 189 weather themed icons, ready to be dropped right into [Bootstrap](http://www.getbootstrap.com) or any other project.
6+
Weather Icons is the only icon font and CSS with 215 weather themed icons, ready to be dropped right into [Bootstrap](http://www.getbootstrap.com), or any project that needs high quality weather, maritime, and meteorological based icons!
77

8-
Inspired by [Font Awesome](http://fontawesome.io/), they work in essentially the same way. They are infinitley scalable and any CSS that can be applied to text can be applied to them. All you need to do to insert an icon is add the base class and the specific icon class to an "i" element:
8+
Get started at [http://weathericons.io](http://weathericons.io)!
99

10-
``<i class="wi wi-day-lightning"></i>``
10+
![Icon Preview](http://i.imgur.com/XmZW2q3.png)
1111

12-
At this time, there are no other effects/mixins to do advanced icon manipulation yet.
12+
## Basic Usage
1313

14-
![Icon Preview](http://wes.io/WeM5/preview.png)
14+
Place the 5 font files and the main `weather-icons.min.css` file in your project, with the assumption that the fonts are located up `../` from your CSS directory.
1515

16-
####[View demo and full icon reference](http://erikflowers.github.io/weather-icons/)
16+
The icons are displayed by using an `i` element and adding the base class `wi` and then the icon class you want, such as `day-sunny`. This then looks like `<i class="wi wi-day-sunny"></i>`.
1717

18-
## Getting Started
19-
Getting started is easy. First, put the fonts in the directory ABOVE your css directory. By default, the fonts are referencing a ../fonts/ folder that is on the same level as /css. This can be changed via the `@WeatherIconPath` variable in variables.less
18+
To add a modifier, include the class you want after the icon name, which looks like `<i class="wi wi-day-sunny wi-flip-vertical"></i>`. You can flip, rotate, or add a fixed with. See it all at [http://weathericons.io](http://weathericons.io).
2019

21-
Include in your main .less file `weather-icons/weather-icons.less` and that is all you need to do.
20+
## Wind Usage
2221

23-
It is best to download the [repo](http://www.github.com/erikflowers/weather-icons) from Github if you want to keep up to date. Please report any issues or requests to the repository here
22+
To use the wind indicators, you must also use `weather-icons-wind.min.css` along with the default CSS file. To dispay a wind indicator, you must use the base class `wi` and `wi-wind`, and then include the towards/from direction you want, like `from-293-deg`. This ends up looking like . You can use any degree from 0 to 359 in this manner. **Note:** A "from" class has the point of the arrow at the opposite end of the degree. For example, a "from 90 degrees" icon would point to the 270 degree mark, wheras a "towards 270 degrees" would point at the same 270 degree mark.
2423

25-
#### CSS Only Method
26-
If you just want to add a css file to your project with no Less compiling, you just need to reference the `weather-icons.css` included in the css folder. *If you are not familiar with using Bootstrap, or using Bootstrap in the precompiled Less mode, I would recommend you give it a try)*
24+
Included in the set as well are aliases to point to cardinal directions. They work the same as degrees, for example `<i class="wi wi-wind towards-sse"></i>` would be an arrow pointing to the South by Southeast (roughly 158 degrees).
2725

28-
### Bower
29-
`bower install weather-icons`
30-
31-
Be sure to reference css when using the icons:
32-
33-
`<link rel="stylesheet" type="text/css" href="bower_components/weather-icons/css/weather-icons.min.css">`
34-
35-
## New in version 1.3
36-
Umbrella, day-windy, night-alt-cloudy, up-left, down-right, day-sleet, night-sleet, night-alt-sleet, sleet, day-haze.
37-
38-
28 moon phase icons
39-
40-
12 clock icons
41-
42-
13 Beaufort Scale icons
43-
44-
### Collaboration
45-
If you feel so inclined to add icon ideas, icon art, or other fixes/changes to how the package works, feel free to help! I'd also love it if someone wanted to make this a component as well for bower, npm, component, etc. No idea how to do that myself (yet).
26+
## Contributing
27+
If you feel so inclined to add icon ideas, icon art, or other fixes/changes to how the package works, feel free to help!
4628

4729
## Credit
4830
The icon designs are originally by [Lukas Bischoff](http://www.twitter.com/artill). Icon art for v1.1 forward, HTML, Less, and CSS are by [me (Erik)](http://www.helloerik.com).
4931

50-
None of this would be possible without [Bootstrap](http://www.getbootstrap.com), [Font Awesome](http://fontawesome.io/) and [Lukas Bischoff](http://www.twitter.com/artill). I just put it all together into a neat package. Cheatsheet provided by Michael Woywod.
32+
## Licensing
5133

52-
Weather Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL) &mdash; Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html) &mdash; Documentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0)
34+
* Weather Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL)
35+
* Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)
36+
* Documentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0)
5337

5438
## Contact
55-
Weather Icons is maintained by me, Erik Flowers. Reach me at [@Erik_UX](http://www.twitter.com/Erik_UX) or at [http://www.helloerik.com](http://www.helloerik.com).
39+
Weather Icons is maintained by Erik Flowers. Reach me at [@Erik_UX](http://www.twitter.com/Erik_UX) or at [http://www.helloerik.com](http://www.helloerik.com).

_builder/beaufort.edn

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{:columns [label code]
2+
:outputs
3+
[{:name "../less/icon-variables/variables-beaufort.less"
4+
:before ""
5+
:join ";\n"
6+
:row [\@ label \: " " \" \\ code \"]
7+
:after ";"}
8+
9+
10+
{:name "../sass/icon-variables/variables-beaufort.scss"
11+
:before ""
12+
:join ";\n"
13+
:row [\$ label \: " " \" \\ code \"]
14+
:after "\n"}
15+
16+
17+
{:name "../less/icon-classes/classes-beaufort.less"
18+
:before ""
19+
:join "\n"
20+
:row [".wi-" label ":before {content: @" label ";}"]
21+
:after ""}
22+
23+
24+
{:name "../sass/icon-classes/classes-beaufort.scss"
25+
:before ""
26+
:join "\n"
27+
:row [".wi-" label ":before {content: $" label ";}"]
28+
:after ""}
29+
30+
31+
{:name "../_docs/jade/icon-list-beaufort.jade"
32+
:before ""
33+
:join "\n"
34+
:row [".icon-wrap" "\n"
35+
" .icon &#x" code \; "\n"
36+
" .icon-name wi-" label "\n"
37+
" .icon_unicode " code \ ""]
38+
:after ""}
39+
]}

_builder/csv/bak.csv

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
_reserved_, f049
2+
alien, f075
3+
celsius, f03c
4+
cloud, f041
5+
cloud-down, f03d
6+
cloud-refresh, f03e
7+
cloud-up, f040
8+
cloudy, f013
9+
cloudy-gusts, f011
10+
cloudy-windy, f012
11+
day-cloudy, f002
12+
day-cloudy-gusts, f000
13+
day-cloudy-windy, f001
14+
day-fog, f003
15+
day-hail, f004
16+
day-haze, f0b6
17+
day-lightning, f005
18+
day-rain, f008
19+
day-rain-mix, f006
20+
day-rain-wind, f007
21+
day-showers, f009
22+
day-sleet, f0b2
23+
day-sleet-storm, f068
24+
day-snow, f00a
25+
day-snow-thunderstorm, f06b
26+
day-snow-wind, f065
27+
day-sprinkle, f00b
28+
day-storm-showers, f00e
29+
day-sunny, f00d
30+
day-sunny-overcast, f00c
31+
day-thunderstorm, f010
32+
day-windy, f085
33+
degrees, f042
34+
direction-down, f044
35+
direction-down-left, f043
36+
direction-down-right, f088
37+
direction-left, f048
38+
direction-right, f04d
39+
direction-up, f058
40+
direction-up-left, f087
41+
direction-up-right, f057
42+
dust, f063
43+
fahrenheit, f045
44+
fog, f014
45+
hail, f015
46+
horizon, f047
47+
horizon-alt, f046
48+
hot, f072
49+
hurricane, f073
50+
lightning, f016
51+
lunar-eclipse, f070
52+
meteor, f071
53+
moon-3rd-quarter, f0aa
54+
moon-first-quarter, f09c
55+
moon-full, f0a3
56+
moon-new, f095
57+
moon-waning-crescent-1, f0ab
58+
moon-waning-crescent-2, f0ac
59+
moon-waning-crescent-3, f0ad
60+
moon-waning-crescent-4, f0ae
61+
moon-waning-crescent-5, f0af
62+
moon-waning-crescent-6, f0b0
63+
moon-waning-gibbous-1, f0a4
64+
moon-waning-gibbous-2, f0a5
65+
moon-waning-gibbous-3, f0a6
66+
moon-waning-gibbous-4, f0a7
67+
moon-waning-gibbous-5, f0a8
68+
moon-waning-gibbous-6, f0a9
69+
moon-waxing-cresent-1, f096
70+
moon-waxing-cresent-2, f097
71+
moon-waxing-cresent-3, f098
72+
moon-waxing-cresent-4, f099
73+
moon-waxing-cresent-5, f09a
74+
moon-waxing-cresent-6, f09b
75+
moon-waxing-gibbous-1, f09d
76+
moon-waxing-gibbous-2, f09e
77+
moon-waxing-gibbous-3, f09f
78+
moon-waxing-gibbous-4, f0a0
79+
moon-waxing-gibbous-5, f0a1
80+
moon-waxing-gibbous-6, f0a2
81+
night-alt-cloudy, f086
82+
night-alt-cloudy-gusts, f022
83+
night-alt-cloudy-windy, f023
84+
night-alt-hail, f024
85+
night-alt-lightning, f025
86+
night-alt-rain, f028
87+
night-alt-rain-mix, f026
88+
night-alt-rain-wind, f027
89+
night-alt-showers, f029
90+
night-alt-sleet, f0b4
91+
night-alt-sleet-storm, f06a
92+
night-alt-snow, f02a
93+
night-alt-snow-thunderstorm, f06d
94+
night-alt-snow-wind, f067
95+
night-alt-sprinkle, f02b
96+
night-alt-storm-showers, f02c
97+
night-alt-thunderstorm, f02d
98+
night-clear, f02e
99+
night-cloudy, f031
100+
night-cloudy-gusts, f02f
101+
night-cloudy-windy, f030
102+
night-fog, f04a
103+
night-hail, f032
104+
night-lightning, f033
105+
night-partly-cloudy, f083
106+
night-rain, f036
107+
night-rain-mix, f034
108+
night-rain-wind, f035
109+
night-showers, f037
110+
night-sleet, f0b3
111+
night-sleet-storm, f069
112+
night-snow, f038
113+
night-snow-thunderstorm, f06c
114+
night-snow-wind, f066
115+
night-sprinkle, f039
116+
night-storm-showers, f03a
117+
night-thunderstorm, f03b
118+
rain, f019
119+
rain-mix, f017
120+
rain-wind, f018
121+
refresh, f04c
122+
refresh-alt, f04b
123+
showers, f01a
124+
sleet, f0b5
125+
smog, f074
126+
smoke, f062
127+
snow, f01b
128+
snow-wind, f064
129+
snowflake-cold, f076
130+
solar-eclipse, f06e
131+
sprinkle, f01c
132+
sprinkles, f04e
133+
stars, f077
134+
storm-showers, f01d
135+
strong-wind, f050
136+
sunrise, f051
137+
sunset, f052
138+
thermometer, f055
139+
thermometer-exterior, f053
140+
thermometer-internal, f054
141+
thunderstorm, f01e
142+
time-1, f08a
143+
time-10, f093
144+
time-11, f094
145+
time-12, f089
146+
time-2, f08b
147+
time-3, f08c
148+
time-4, f08d
149+
time-5, f08e
150+
time-6, f08f
151+
time-7, f090
152+
time-8, f091
153+
time-9, f092
154+
tornado, f056
155+
umbrella, f084
156+
wind-default, f0b1
157+
wind-east, f061
158+
wind-north, f060
159+
wind-north-east, f05e
160+
wind-north-west, f05d
161+
wind-south, f05c
162+
wind-south-east, f05b
163+
wind-south-west, f05a
164+
wind-west, f059
165+
windy, f021;

_builder/csv/beaufort.csv

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
wind-beaufort-0, f0b7
2+
wind-beaufort-1, f0b8
3+
wind-beaufort-2, f0b9
4+
wind-beaufort-3, f0ba
5+
wind-beaufort-4, f0bb
6+
wind-beaufort-5, f0bc
7+
wind-beaufort-6, f0bd
8+
wind-beaufort-7, f0be
9+
wind-beaufort-8, f0bf
10+
wind-beaufort-9, f0c0
11+
wind-beaufort-10, f0c1
12+
wind-beaufort-11, f0c2
13+
wind-beaufort-12, f0c3

_builder/csv/day.csv

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
day-sunny, f00d
2+
day-cloudy, f002
3+
day-cloudy-gusts, f000
4+
day-cloudy-windy, f001
5+
day-fog, f003
6+
day-hail, f004
7+
day-haze, f0b6
8+
day-lightning, f005
9+
day-rain, f008
10+
day-rain-mix, f006
11+
day-rain-wind, f007
12+
day-showers, f009
13+
day-sleet, f0b2
14+
day-sleet-storm, f068
15+
day-snow, f00a
16+
day-snow-thunderstorm, f06b
17+
day-snow-wind, f065
18+
day-sprinkle, f00b
19+
day-storm-showers, f00e
20+
day-sunny-overcast, f00c
21+
day-thunderstorm, f010
22+
day-windy, f085
23+
solar-eclipse, f06e
24+
hot, f072
25+
day-cloudy-high,f07d
26+
day-light-wind,f0c4

_builder/csv/direction.csv

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
direction-up, f058
2+
direction-up-right, f057
3+
direction-right, f04d
4+
direction-down-right, f088
5+
direction-down, f044
6+
direction-down-left, f043
7+
direction-left, f048
8+
direction-up-left, f087

_builder/csv/misc.csv

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
alien, f075
2+
celsius, f03c
3+
fahrenheit, f045
4+
degrees, f042
5+
thermometer, f055
6+
thermometer-exterior, f053
7+
thermometer-internal, f054
8+
cloud-down, f03d
9+
cloud-up, f040
10+
cloud-refresh, f03e
11+
horizon, f047
12+
horizon-alt, f046
13+
sunrise, f051
14+
sunset, f052
15+
moonrise, f0c9
16+
moonset, f0ca
17+
refresh, f04c
18+
refresh-alt, f04b
19+
umbrella, f084
20+
barometer,f079
21+
humidity,f07a
22+
na,f07b
23+
train,f0cb

_builder/csv/moon.csv

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
moon-new, f095
2+
moon-waxing-cresent-1, f096
3+
moon-waxing-cresent-2, f097
4+
moon-waxing-cresent-3, f098
5+
moon-waxing-cresent-4, f099
6+
moon-waxing-cresent-5, f09a
7+
moon-waxing-cresent-6, f09b
8+
moon-waxing-gibbous-1, f09d
9+
moon-waxing-gibbous-2, f09e
10+
moon-waxing-gibbous-3, f09f
11+
moon-waxing-gibbous-4, f0a0
12+
moon-waxing-gibbous-5, f0a1
13+
moon-waxing-gibbous-6, f0a2
14+
moon-full, f0a3
15+
moon-waning-gibbous-1, f0a4
16+
moon-waning-gibbous-2, f0a5
17+
moon-waning-gibbous-3, f0a6
18+
moon-waning-gibbous-4, f0a7
19+
moon-waning-gibbous-5, f0a8
20+
moon-waning-gibbous-6, f0a9
21+
moon-waning-crescent-1, f0ab
22+
moon-waning-crescent-2, f0ac
23+
moon-waning-crescent-3, f0ad
24+
moon-waning-crescent-4, f0ae
25+
moon-waning-crescent-5, f0af
26+
moon-waning-crescent-6, f0b0

0 commit comments

Comments
 (0)