Repository is archived
No commit activity in last 3 years
No release in over 3 years
Fuel UX for Rails asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

fuelux-rails-sass

Gem Version Gem Downloads

Fuel UX for Rails asset pipeline

  • Modified for Sprockets' asset digests compatibility

  • Fuel UX version: 3.14.2

Installation

  1. Add to your Gemfile and install with bundler:
gem 'fuelux-rails-sass'
bundle install
  1. Add to your config/initializers/assets.rb in order to have the fonts for Fuel UX precompiled:
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/
  1. Require the modified Fuel UX javascript file in app/assets/javascripts/application.js:
//= require fuelux

Or in app/assets/javascripts/application.js.coffee:

#= require fuelux
  1. Require the modified Fuel UX css file in app/assets/stylesheets/application.css:
*= require fuelux

Or in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:

@import "fuelux";
@import fuelux
  1. Add the fuelux class 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.