/family-rails

The family.scss set of Sass mixins as a gem.

Primary LanguageRubyMIT LicenseMIT

family-rails Gem Version

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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:

  1. Name your feature branch after the latest version of family.scss (i.e. update-to-x.x.x)
  2. Run sh ./update_from_vendor.sh in your console
  3. Update the gem version in ./lib/family-rails/version.rb
  4. Commit & push your changes
  5. Create new Pull Request

License