README.md in google-buttons-sass-0.1.1 vs README.md in google-buttons-sass-0.1.2
- old
+ new
@@ -1,8 +1,8 @@
# Google Buttons for Sass
-`google-buttons-sass` is an Sass-powered version of [CSS3 Google Buttons by Tim O'Donnell](https://github.com/todc/css3-google-buttons), ready to drop right into your Sass powered applications.
+`google-buttons-sass` is an SASS-powered version of [CSS3 Google Buttons by Tim O'Donnell](https://github.com/todc/css3-google-buttons), ready to drop right into your Rails apps.
This gem is based off of [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass), a project by [Thomas McDonald](https://twitter.com/#!/thomasmcdonald_). I replaced Twitter Bootstrap with the Google Buttons project.
This project requires [Twitter Bootstrap](http://twitter.github.com/bootstrap), which can be installed via gem `bootstrap-sass`
@@ -15,12 +15,15 @@
### Rails
In your Gemfile:
gem 'sass-rails', '~> 3.1'
+ gem 'google-buttons-sass'
+
+If you don't have Twitter Bootstrap assets installed into your project manually, you may want to install [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass):
+
gem 'bootstrap-sass', '~> 2.0.4.0'
- gem 'google-buttons-sass', '~> 0.1.0'
#### CSS
Import "google-buttons" in your SCSS file of choice to get all of the styles, mixins and variables! We recommend against using `//= require` directives, since none of your other stylesheets will be [able to use](https://github.com/thomas-mcdonald/bootstrap-sass/issues/79#issuecomment-4428595) the awesome mixins that Bootstrap has defined.
@@ -75,17 +78,5 @@
$btnPrimaryBackground: #f00;
@import "google-buttons";
**Note**: It's important that the file you are importing is not named `google-buttons`, since this will cause an import loop. As a general rule, errors are something you should try to avoid.
-
-### Passing multiple values to mixins
-
-Some CSS3 properties take multiple values, such as `box-shadow` or `text-shadow`. To pass multiple values to the Bootstrap mixins, you must escape the values or else the Sass parser will choke on the commas. Here's how to escape the values in Sass:
-
- .selector {
- @include box-shadow(#{0 2px 5px rgba(0,0,0,.25) inset, 0 -2px 5px rgba(0,0,0,.25) inset});
- }
-
-### Bundler?
-
- gem 'google-buttons-sass', '~> 0.1.0'
\ No newline at end of file