Reputation: 6129
ColorZilla's gradient editor says
// needs latest Compass, add '@import "compass"' to your scss
Well I've found that's not so easy. Obviously if you just throw @import "compass"; at the top of your .scss file, Sass won't compile because _compass.scss can't be found.
compass init
, compass create
, compass install
. None of them even give me compass's mixins.I expected this to work like bourbon, though I know this isn't compass's primary goal.
What am I missing?
Upvotes: 0
Views: 6753
Reputation: 386
Install the library
bower install compass-sass-mixins
Import the compass into your SASS file
@import "bower_components/compass-sass-mixins/lib/compass"
Checkout SASS function list:
Upvotes: 7