bdkjones / CodeKit-1-Old

146 stars 1 forks source link

Error when passing single-transition SCSS #563

Open seanherron opened 11 years ago

seanherron commented 11 years ago

Just upgraded to 1.6.1 and I'm now getting the following error when I try and run some SCSS:

 Mixin single-transition takes 3 arguments but 4 were passed

The single-transition compass mixin takes 4 arguments: http://compass-style.org/reference/compass/css3/transition/

bdkjones commented 11 years ago

Hi Sean,

First of all, can you post your code so we can verify there's nothing wrong there?

Compass was not updated in the 1.6.1 release of CodeKit, so I'm not sure why you'd see this behavior. My first guess is: Sass was updated to version 3.2.6 in the last release of CodeKit, and since Compass depends on Sass, it may be the case that Compass 0.12.2 is not compatible with the latest release of Sass. 

I've tagged @chriseppstein (Compass's developer) to see if he can provide more guidance.
seanherron commented 11 years ago

Bryan,

Thanks for the quick reply. Here's the code in question:

a {
        color:$link;
        &:hover {
            color:$link-highlight;
            @include single-transition(color, 0.25s, ease-in-out, 0);
        }
    }

($link and $link-highlight are declared earlier as #0f3763 and #399dfa)

In the morning I will try seeing if I can run this with an older version Sass. I haven't touched this particular project since upgrading, so I don't think any of my dependencies have changed, but I'll double check that as well. Appreciate your help.

seanherron commented 11 years ago

Okay, so it appears this was actually an issue with backwards compatibility of Zurb Foundation. I've been using bundle to run an older version of Foundation for this specific project, and CodeKit was using the latest version, hence the error.

That said, is there a way to have codekit do something similar to

bundle exec compass watch

?

bdkjones commented 11 years ago

Unfortunately, no. CodeKit is not currently compatible with bundler. I've had a few emails about it, though, so I'm investigating future support for it. That's probably still a ways off though.

rcaracaus commented 11 years ago

@bdkjones I would also like to see codekit have bundle support.