How can I use Ruby/Rails variables inside Sass?

You can add .erb extention to your .sass file and then add your variables just like in regular .erb file:

<%= APP_CONFIG[:yourkey] %>

More information:

Leave a Comment