Pivotal::Sass

A set of mixins for use across Pivotal Labs internal projects released in a Gem for a Rails 3.2+ project.

Installation

Add this line to your application's Gemfile:

gem 'pivotal-sass'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pivotal-sass

Usage

Rails 3.2+

application.css

@import pivotal

button {
  @include pivotal_primary_button
}

Examples

There is an example app in this repo used to help build out the mixins. Follow these steps to get it running or just take a look in the source directory.

$ bundle
$ bundle exec middleman server

Then visit localhost:4567 to see an example of usage.

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