contao / standard-edition

[DEPRECATED] Do not use anymore!
33 stars 8 forks source link

@import "partial.scss" fails when using externals stylesheets in layout settings #44

Closed markocupic closed 8 years ago

markocupic commented 8 years ago

@import "bootstrap.scss" fails when using it as an externals stylesheets in the layout settings: This is the error message in app/logs: [2016-08-08 22:03:39] app.CRITICAL: An exception occurred. {"exception":"[object](Leafo\ScssPhp\Exception\CompilerException%28code: 0%29: Undefined variable $i: line: 48 at C:\xampp\htdocs\vendor\leafo\scssphp\src\Compiler.php:3301)"} []

The error occures when parsing this section in _grid_framework.scss on line 48:

@include make-col($i, $columns, $gutter);

markocupic commented 8 years ago

The error doesn't occures when using the leafo/scssphp compiler from contao 3.5.15.

markocupic commented 8 years ago

There is already an open issue for this error: https://github.com/leafo/scssphp/issues/446

leofeyer commented 8 years ago

It does not seem as if anybody was working on the issue though, does it?

markocupic commented 8 years ago

Hi Leo I don't know. Could you reproduce the bug? Regards Marko

leofeyer commented 8 years ago

Which version of scssphp are you using?

markocupic commented 8 years ago

Hi Leo The error occures, when I'm using Version 0.6.5. When I'm using Version 0.6.3. everything works fine.

Regards Marko

leofeyer commented 8 years ago

There is version 0.6.6 now. Can you please check if it fixes the issue?

markocupic commented 8 years ago

Hi Leo Now everything works fine. It looks like the issue has been fixed in version 0.6.6. Thank you for the support. Marko