0.0
No commit activity in last 3 years
No release in over 3 years
Blaze CSS is the best CSS framework I have ever used. It is simple, small, and elegant. This gem combines the elegance of Blaze CSS with the power of the Rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

< 5.1, >= 3.2

Runtime

< 5.1, >= 3.2
< 6.0, >= 4.0
 Project Readme

blaze-css-rails

Gem Version

Blaze Css Rails gemifies the outstanding Blaze CSS Framework for Ruby on Rails applications. This gem is built with two main goals:

  • Instantly install Blaze CSS in the Rails asset pipeline.
  • Give you full power to customize your theme directly within the asset pipeline.

In order to simplify things, this gem's version now aligns with the bundled version of Blaze CSS. Any updates to this gem will be tracked in the fourth position of the version number (ie. 3.1.0.x).

Installation

Add the following line of code to your application's Gemfile:

gem 'blaze-css-rails'

and run bundle install.

Useage

Sprockets

If you are using Sprockets with the asset pipeline, include this in your app/stylesheets/application.css:

/*
 *= require blaze
 */

You now have access to all of the classes in the Blaze library.

Sass

If you prefer Sass (like me) you can instead add @import 'blaze' into your import file.

Customizing

As it is bundled, this gem includes the default settings in Blaze CSS. Customizing these settings is extremely simple though, just import a file containing your custom variables before importing 'blaze'.

The settings available for you to over-ride can be found here.

Additionally, I've found it useful to extend or modify certain classes in my own applications. This can easily be done by importing your customizations after you import 'blaze'.