0.03
No commit activity in last 3 years
No release in over 3 years
Purecss CSS toolkit for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

< 6, >= 3.2.6
 Project Readme

Purecss Rails

Pure (http://purecss.io/) is ridiculously tiny. The entire set of modules clocks in at 4.4KB minified and gzipped, without forgoing responsive styles, design, or ease of use. Crafted with mobile devices in mind, it was important to us to keep our file sizes small, and every line of CSS was carefully considered. If you decide to only use a subset of these modules, you'll save even more bytes.

purecss-rails project integrates Pure CSS toolkit for Rails Asset Pipeline

Build Status Code Climate

Installation

Inside your Gemfile add the following line:

  gem 'purecss-rails'

Then run bundle install to install the gem.

What now?

$ rails g purecss:install

or

$ rails g purecss:install nonresponsive

To add a module, use the file app/assets/stylesheets/purecss.css like this:

= require purecss/<module_name>

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request