jhardy / Sassy-Buttons

MIT License
287 stars 59 forks source link

Newbie install problem #27

Closed dnm0321 closed 12 years ago

dnm0321 commented 12 years ago

I'm sure I have lots still to read, but I'm not sure how to tackle this problem:

screen.scss: @import "sassybuttons"; @include sassy-button

$ compass watch

Change detected at 16:13:06 to: screen.scss error sass/screen.scss (Line 65 of _sassy-buttons.sass: Properties are only allowed within rules, directives, mixin includes, or other properties.)

sassy buttons 0.1.4. line 65 is the font-size: line, which is the first entry in the sassy-button-structure mixin. compass-0.12.2, sass-3.2.1, all installed today. Just trying to get started.

TIA, Dave

jhardy commented 12 years ago

hey @dnm0321, looks like you are not including the sassy-button mixin under a rule. Try something like this

button { @include sassy-button }

Let me know if that works, if not paste any other errors here and I will try to help.

dnm0321 commented 12 years ago

d'oh! Thanks. That fixed it.

CoinXu commented 10 years ago

@jhardy I met the same error.Thanks for your remind.