maxim / bootswatch-rails

Bootswatches converted to SCSS ready to use in Rails asset pipeline.
MIT License
488 stars 84 forks source link

Fix simplex/_bootswatch.scss for box-shadow error #32

Closed murtra closed 11 years ago

murtra commented 11 years ago

I had this error when using the simplex template with bootswatch-rails 0.3.1, rails 3.2.11 and ruby 1.9.2:

Mixin box-shadow takes 1 argument but 2 were passed. 

The reason was that "to pass multiple values to the Bootstrap mixins, you must escape the values or else the Sass parser will choke on the commas" (https://github.com/thomas-mcdonald/bootstrap-sass#passing-multiple-values-to-mixins).

maxim commented 11 years ago

Thanks for this. I added this logic to the converter and pushed the result to keep this fix sustainable. The fix is in 0.3.2.