No commit activity in last 3 years
No release in over 3 years
New SASSC Implementation based on zaiste's Foundation Icons on Sass for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Foundation Icon Fonts on SASSC for Rails

New SASSC Implementation based on zaiste's Foundation Icons on Sass for Rails

Current version: Foundation Icon Fonts 3.

How to Install

For rails versions 4 and up

    gem 'sassc-rails', "  ~> x.x.x"
    gem 'coffee-rails', "~> x.x.x"
    gem 'uglifier'
    gem 'foundation-icons-sass-rails'

For rails versions < 4

Add foundation-icons-sassc-rails gem to the assets group in your Gemfile:

    group :assets do
      gem 'sassc-rails', "  ~> x.x.x"
      gem 'coffee-rails', "~> x.x.x"
      gem 'uglifier'
      gem 'foundation-icons-sass-rails'
    end

Then rename your app/assets/stylesheets/application.css to app/assets/stylesheets/application.css.scss and add:

@import 'foundation-icons';

Now, you can use it as follows:

<i class="fi-[icon]"></i>

Version 2.x

For Foundation Icon Fonts 2 use v2.x branch.

<i class="general foundicon-[icon]"></i>
<i class="general-enclosed foundicon-[icon]"></i>
<i class="social foundicon-[icon]"></i>
<i class="accessibility foundicon-[icon]"></i>

License

Foundation Icon Fonts 3 and Foundation Icon Fonts 2 are created by ZURB and licensed under MIT.

Rest of the code is also under MIT.