Vaadin Sass Compiler 0.9.6 Map type

@function packGradientSettings($pos, $G1, $G2: null,$G3: null, $G4: null,$G5: null, $G6: null,$G7: null, $G8: null,
                               $G9: null, $G10: null, $fallback: null) {


  @return ("pos": $pos,"g1":$G1);

}


ERROR] com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file helpers
[ERROR]
 Encountered ":" at line 67, column 17.
[ERROR]
 Was expecting one of:
[ERROR]
     <S> ...
[ERROR]
     "," ...
[ERROR]
     ")" ...
[ERROR]
     <S> ...
[ERROR]
     
[ERROR]
     at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:185)
[ERROR]
     at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:114)
[ERROR]
     at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:60)
[ERROR]
     at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:69)
[ERROR]
     at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:69)
[ERROR]
     at com.vaadin.sass.internal.ScssStylesheet.importOtherFiles(ScssStylesheet.java:255)
[ERROR]
     at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:247)
[ERROR]
     at com.vaadin.sass.SassCompiler.main(SassCompiler.java:57)
[ERROR]
 

Btw Valo use bourbon.io , but bourbon use map types - how ?

Hi,

The Vaadin Sass compiler is still under development, and the Valo theme is still not 100% compilable with it. We’re using the Ruby Sass compiler (v.3.2) for Valo development.

The 1.0 version of the Vaadin Sass compiler aims for Sass 3.2 compatibility, and since the Sass map type is a 3.3 feature, it won’t be supported initially. After a robust 3.2 version we can start looking at the new 3.3 features to add.

Bourbon is indeed bundled with Valo, but an older version which doesn’t use maps yet (version 3). Bourbon v.4 requires Sass 3.3.