fuelux-rails-sass
Fuel UX for Rails asset pipeline
Installation
- Add to your
Gemfileand install with bundler:
gem 'fuelux-rails-sass'bundle install- Add to your
config/initializers/assets.rbin order to have the fonts for Fuel UX precompiled:
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/- Require the modified Fuel UX javascript file in
app/assets/javascripts/application.js:
//= require fueluxOr in app/assets/javascripts/application.js.coffee:
#= require fuelux- Require the modified Fuel UX css file in
app/assets/stylesheets/application.css:
*= require fueluxOr in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:
@import "fuelux";@import fuelux- Add the
fueluxclass to a page wrapper (usually either<html>tag or<body>tag)
<html class="fuelux">Acknowledgements
Fuel UX created by Salesforce Marketing Cloud, Inc., licensed under the BSD-3 license
Copyright Gavin Lam, released under the MIT License.