family-rails provides the famliy.scss set of Sass mixins to the Rails asset pipeline.
Family.scss is a set of 26 smart Sass mixins which will help you to manage the style of :nth-child'ified elements, in an easy and classy way.
Website : http://lukyvj.github.io/family.scss/
Installation
Add this to your Gemfile:
gem "family-rails"
and run bundle install
.
Or install it yourself as:
$ gem install family-rails
Usage
In your application.sass
, include the following:
@import "family"
Dependencies
- Sass
>=3.3
and<4
(because source maps)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
New Version
In case the vendored version of family.scss in this project is outdated, please take 5-10 minutes to contribute:
- Name your feature branch after the latest version of family.scss (i.e.
update-to-x.x.x
) - Run
sh ./update_from_vendor.sh
in your console - Update the gem version in
./lib/family-rails/version.rb
- Commit & push your changes
- Create new Pull Request
License
- family.scss is licensed under the MIT License
- family-rails is licensed under the MIT License