-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing Compass + Singularitygs's background-grid mixin causes SassMeister being unable to compile the stylesheet #168
Comments
@lolmaus It's not related to any sassmeister gist, including a blank one, but I'll create one in a few moments showing this behavior. Steps to Reproduce The Problem
ExampleAn example from a gist I happen to have open. BeforeAfter |
No need to keep going, I know what the issue is. Working to fix |
The issue still happens. I just tried to use Singularity 1.2 & Compass 1.0.0.alpha18 and still got the same error. |
Same issue here Singularity 1.2 & Compass 1.0.0.alpha19 |
I ran into the same issue. Without Compass it’s working (Demo: http://sassmeister.com/gist/9992763). When using Compass the error occurs. Using Compass 1.0.0.alpha19. |
It looks like the |
Suggested Fix:
|
in my case then there is another problem in background-build mixin:
|
sass file @include sgs-change('debug', true);
.grid {
@include background-grid;
} Suggested Fix above: @if $bkpt != -1px {
@include breakpoint($bkpt) {
// background-image: linear-gradient(to opposite-direction($Direction), $Gradient);
background-image: unquote('linear-gradient(to #{opposite-direction($Direction)}, #{$Gradient})');
}
}
@else {
// background-image: linear-gradient(to opposite-direction($Direction), $Gradient);
background-image: unquote('linear-gradient(to #{opposite-direction($Direction)}, #{$Gradient})');
} Result Running "compass:dist" (compass) task
error css/src/styles.scss (Line 172 of _background-grid.scss: Function column-count finished without @return)
overwrite css/styles.css
Compilation took 1.412s |
The fix isn't implemented yet, however, initial testing suggests you should not be getting those results. Those were really notes for me. |
Just to say, that the Suggested Fix worked well for me : |
@Snugug do you have any suggestions what we do until a fix can be released? |
Just released v1.2.1 that includes my recommended fix |
Perfect! Thank you for fixing this @Snugug |
Attempting to import Compass (
@import "compass"
) and then trying to use singularitygs'sbackground-grid
causes SassMeister to fail in its attempt to compile the stylesheet.Version of Compass being used by Singularity:
1.0.0.alpha.18
Version of Sass:
3.3.0
Version of Singularitygs:
1.2.0.rc.6
http://sassmeister.com/gist/9478983
The text was updated successfully, but these errors were encountered: