Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
/ normality Public archive

Include normalize.css functionality in your Rails app using SASS/SCSS.

License

Notifications You must be signed in to change notification settings

unindented/normality

Repository files navigation

Normality Version Build Status Abandoned

Include 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:

gem 'sass-rails'
gem 'normality'

Then run:

bundle install

Restart your server.

To start using Normality in your SCSS stylesheets, rename application.css to application.css.scss:

mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss

Delete the Sprocket directives in application.css.scss:

/*
 *= require_self
 *= require_tree .
 */

And finally import Normality (and your own stylesheets) in application.css.scss using @import:

@import "normalize";

@import "home";
@import "users";

Meta

Contributors

License

Copyright (c) 2013 Daniel Perez Alvarez (unindented.org). This is free software, and may be redistributed under the terms specified in the LICENSE file.

About

Include normalize.css functionality in your Rails app using SASS/SCSS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published