FlagIconSass
---
This project integrates [https://github.com/lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) in a Ruby Gem but only the sass version.
**THIS GEM IS IN EARLY BETA STATE SO USE AT YOUR OWN RISK**
### Installation
In your Gemfile include:
```ruby
gem 'flag-icon-sass'
```
And then execute:
```sh
bundle install
```
Import the FlagIconSass styles in your `app/assets/stylesheets/application.scss`.
```scss
@import "flag-icon-sass";
```
#### Plain usage
In your view:
```html
```
```html
```
#### Rails Helper usage
In your view:
```ruby
flag_icon(:it)
# =>
```
```ruby
flag_icon(:it, true)
# =>
```
```ruby
flag_icon(:it, id: 'my-flag', class: 'strong')
# =>
```
### Thanks
* [https://github.com/lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) for flags-icon-css
* [font-awesome-sass gem](https://github.com/FortAwesome/font-awesome-sass) for inspiration
* [bootstrap-sass gem](https://github.com/twbs/bootstrap-sass) for inspiration