Sha256: ac064015e2b00e321f68378c196d0b7ded06bf2a3ec1d307405864ca6a3b68da
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
# Normality Include [normalize.css](http://necolas.github.io/normalize.css/) functionality in your Rails app using SASS/SCSS. ## Install for Rails 4.0+ In your `Gemfile`, add `sass-rails` (if you don't have it already) and `normality`: ```ruby gem 'sass-rails' gem 'normality' ``` Then run: ```sh bundle install ``` Restart your server. To start using *Normality* in your SCSS stylesheets, rename `application.css` to `application.css.scss`: ```sh mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss ``` Delete the Sprocket directives in `application.css.scss`: ```css /* *= require_self *= require_tree . */ ``` And finally import *Normality* (and your own stylesheets) in `application.css.scss` using `@import`: ```scss @import "normalize"; @import "home"; @import "users"; ``` ## Meta * Code: `git clone git://github.com/unindented/normality.git` * Home: <https://github.com/unindented/normality/> ## Contributors * Daniel Perez Alvarez ([unindented@gmail.com](mailto:unindented@gmail.com)) ## License Copyright (c) 2013 Daniel Perez Alvarez ([unindented.org](http://unindented.org/)). This is free software, and may be redistributed under the terms specified in the LICENSE file.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
normality-0.1.0 | README.md |
normality-0.0.2 | README.md |