Sha256: e7551ee9d425a54531450526abf090e2a6d3f9773af49f013e057930278e079c

Contents?: true

Size: 1.22 KB

Versions: 1

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 3.1+

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

1 entries across 1 versions & 1 rubygems

Version Path
normality-0.0.1 README.md