vaadin / sass-compiler

A Java Sass compiler implementation
53 stars 25 forks source link

Can't use Valo vars in function calls inside addon themes #295

Open vaadin-bot opened 9 years ago

vaadin-bot commented 9 years ago

Originally by @tepi


This causes an exception in the compiler. To reproduce:

  1. Create a vaadin add-on with it's own scss styles
  2. Make sure your main project uses Valo as the base theme
  3. Try to call any sass color functions from the add-on style, using Valo variables as parameters - e.g. the lighten() function using $v-selection-color as the parameter.

Result is a stack trace and a complaint about non-valid color being passed to the function. $v-selection-color can be otherwise used ok within the addon styles (e.g. assigning it directly as the color of some element).


Imported from https://dev.vaadin.com/ issue #17195