No commit activity in last 3 years
No release in over 3 years
I like weather-icons and I like rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 5.0, >= 4.1
 Project Readme

weather-icons-for-rails Gem Version

Codeship

weather-icons-for-rails provides the Weather Icons web fonts and stylesheets as a Rails engine for use with the asset pipeline.

Installation

Add this to your Gemfile:

gem 'weather-icons-for-rails'

and run bundle install.

Usage

In your application.css, include the css file:

/*
 *= require weather-icons
 */

In order to use the wind icons and API mappings, you must include *= require weather-icons-wind.

Then restart your webserver if it was previously running.

Sass Support

If you prefer SCSS, add this to your application.css.scss file:

@import "weather-icons";

Include @import "weather-icons-wind" to use the wind icons and API mappings.

If you use the Sass indented syntax, add this to your application.css.sass file:

@import weather-icons

Include @import weather-icons-wind to use the wind icons and API mappings.

License

  • The Weather Icons font is licensed under the SIL Open Font License.
  • Weather Icons CSS files are licensed under the MIT License.
  • The remainder of the weather-icons-for-rails project is licensed under the MIT License.