Theme Sass Compilation Error

I managed sass compiler to work, l have now the last version Ruby 2.2 (Gem; Sass), but still the problems remain:

  1. VAADIN “made me” compile every scss file from reindeer and base theme. I wonder if this is really necessary?

  2. So, I copied to VAADIN/themes all the files sass compiler required and then this error occurr.
    Error: Undefined operation: “none times -1”.
    on line 409 of E:/Proyects/CapitanNemoStock/web/WEB-INF/VAADIN/themes/base/grid/grid.scss, in `base-grid’

. #{$primaryStyleName}-editor-footer {
display: table;
height: $v-grid-row-height;
border-top: $v-grid-cell-horizontal-border;
margin-top: nth($v-grid-cell-horizontal-border, 1) * -1; // line 409
background: $v-grid-row-background-color;
padding: 0 5px;

+ .#{$primaryStyleName}-editor-cells > div {  // editor marks here an error "Unexpected Token" !!!
  border-bottom: none;
  border-top: $v-grid-cell-horizontal-border;

&:first-child {
  border-top: none;
  margin-top: 0;
  border-bottom: $v-grid-cell-horizontal-border;
  margin-bottom: nth($v-grid-cell-horizontal-border, 1) * -1;


  1. I still would like to know how to use my theme including one of the VAADIN directly without scss compiling to scc
  2. How to use VAADIN Sass compiler in netbeans.


Hi again!

I think that is something wrong with VAADIN 7.5.1. In my thema cnstema.css I have only this:

@import “…/reindeer/styles.css”; // @import “…/reindeer/legacy-styles.css” → this option didn’t work either

.v-verticallayout {
background-color: yellow;

.v-ui {
background: green;

When I add
@Theme(“cnstema”) it broke everything.

So, I can’t use
because throws sass compiler compilation error and neither can use
“plain old CSS Themes”.

So, I want to know, if I’m doing something wrong, or VAADI 7.5.1 has a bug, before I decide to change the VAADIN version.


I still can’t get rid of this problem. But today I found an error in the tomcat’s 8 log:

INFO: Requested resource
[/VAADIN/themes/cnstema/styles.css] not found from filesystem or through class loader.

searching for answers I realized that my web.xml has a correct servlet mapping




my thema is in this folder>

What is


I use Windows 7 and netbeans 8, java 8: