tomkr4l / font_awesome5_rails

font_awesome_5_rails is font awesome 5 gem bundled for rails asset pipeline
https://fontawesome.com/
MIT License
158 stars 25 forks source link

Set type option for each stacked icon #7

Closed bhavyanshu closed 6 years ago

bhavyanshu commented 6 years ago

There should be a way to define type for each stacked icon.

For example,

<%= fa_stacked_icon "terminal inverse", base: "square", type: "fas", class: "fa-4x" %>

The above works perfectly fine.

But what if I want the terminal icon to be "fas" and the square icon to be "far". Is there already a way to define it? I couldn't find it in the documentation.

tomkr4l commented 6 years ago

Hi, I added this feature to version 0.3.0. You can now define different base icon type through base_type option.