Project

normality

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Include normalize.css functionality in your Rails app using SASS/SCSS
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.0
 Project Readme

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.