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
- 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