Closed alexandruv closed 11 years ago
Hmm, it shouldn't be. Sass and SCSS should be handled by the same compiler.
Can you post an example of the error?
(Note: I'm not familiar with Fire App, but I'd be curious to see what it says.)
See the attached file.
Not sure what is the problem here :(
On Fri, Jun 14, 2013 at 4:20 PM, Nathan Smith notifications@github.comwrote:
Hmm, it shouldn't be. Sass and SCSS should be handled by the same compiler.
Can you post an example of the error?
(Note: I'm not familiar with Fire App, but I'd be curious to see what it says.)
— Reply to this email directly or view it on GitHubhttps://github.com/nathansmith/unsemantic/issues/22#issuecomment-19459582 .
Variables in Sass are declared with a colon, not an equals sign. This should work.
If it's a *.sass file, you needn't put the trailing ;
because it will throw an error…
$linkColor: #000
Whereas, with a *.scss file, trailing semicolons are required…
$linkColor: #000;
Reason being, when the compiler sees =
it thinks that you are attempting to declare a *.sass mixin…
// Declaring
=special-mixin
color: red
.special-class
// Using
+special-mixin
With *.scss, that would be…
// Declaring
@mixin special-mixin {
color: red;
}
.special-class {
// Using
@include special-mixin;
}
Wow, how come i didnt think of that? Thanks a lot! I'll test it out! — Best regards / Pozdrawiam / Mulțumesc
On Fri, Jun 14, 2013 at 5:42 PM, Nathan Smith notifications@github.com wrote:
Variables in Sass are declared with a colon, not an equals sign. This should work… $linkColor: #000 Also, if it's a *.sass file, you needn't put the trailing
;
because it will throw an error.Whereas, with a *.scss file, trailing semicolons are required.
Reply to this email directly or view it on GitHub: https://github.com/nathansmith/unsemantic/issues/22#issuecomment-19464729
I'm trying to run this through Fire App but it's giving me strange errors. Could it be because it's not scss but saas files?