eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.46k stars 314 forks source link

Cactus + Bourbon #195

Closed ederdesign closed 8 years ago

ederdesign commented 8 years ago

I'm having troubles using Bourbon CSS on my project.

Apparently the version Cactus uses to to compile the SASS isn't compatible with the version Bourbon uses. If I compile the file using "compass watch" I don't get any error.

Is there any way I can change the SASS version within Cactus or disable the pre-compiler?

This is the error I'm getting:

/*
Syntax error: Invalid CSS after "    eot": expected ")", was ":   "#{$file-pa..."
        on line 22 of /Users/eder/Sites/Machines/MAD/httpdocs/magento/skin/frontend/maddesig/default/cactus/static/css/bourbon/helpers/_font-source-declaration.scss
        from line 28 of /Users/eder/Sites/Machines/MAD/httpdocs/magento/skin/frontend/maddesig/default/cactus/static/css/bourbon/_bourbon.scss
        from line 1 of /Users/eder/Sites/Machines/MAD/httpdocs/magento/skin/frontend/maddesig/default/cactus/static/css/style.scss

17:   $font-url) {
18: 
19:   $src: ();
20: 
21:   $formats-map: (
22:     eot:   "#{$file-path}.eot?#iefix" format("embedded-opentype"),
23:     woff2: "#{$file-path}.woff2" format("woff2"),
24:     woff:  "#{$file-path}.woff" format("woff"),
25:     ttf:   "#{$file-path}.ttf" format("truetype"),
26:     svg:   "#{$file-path}.svg##{$font-family}" format("svg")
27:   );
krallin commented 8 years ago

Can you please provide the full output from Cactus?

Thanks!