0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
family.scss is a set of Sass mixins which will help you to manage the style of :nth-child'ified elements, in an easy way. This gem allows you to easily import family.scss into your Rails project.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
< 5, >= 3.1
~> 10.0

Runtime

< 4, >= 3.3
 Project Readme

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