imathis / fancy-buttons

Fancy CSS Buttons using Compass
http://brandonmathis.com/projects/fancy-buttons/
819 stars 55 forks source link

Not compatible with haml >= 3.1.0 #26

Open hoisie opened 13 years ago

hoisie commented 13 years ago

Haml was just upgraded to 3.1.0. Fancy-buttons is getting these kinds of error messages: error app/stylesheets/slowcop.scss (Line 24: Not a valid color stop: #009800 40%) @include fancy-button-matte(#00AC00, 24px, 10px, 0px); produces: Syntax error: Not a valid color stop: #009800 40% on line 24 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-gradient.sass, inlinear-gradient' from line 24 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-gradient.sass, in fancy-matte-gradient-active' from line 101 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, infb-state-colors' from line 88 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fb-color' from line 38 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, infancy-button-colors' from line 68 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fancy-button-colors-matte' from line 59 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, infancy-button-matte' from line 337 of /Users/mike/workspace/slowcop/app/stylesheets/slowcop.scss`

One fix is to force haml to use version 3.0.x: gem 'haml', '< 3.1.0'

chriseppstein commented 13 years ago

I'm pretty sure the pre-release works. Brandon has been just waiting for the sass release to make that official.