This causes an exception in the compiler. To reproduce:
Create a vaadin add-on with it's own scss styles
Make sure your main project uses Valo as the base theme
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).
Originally by @tepi
This causes an exception in the compiler. To reproduce:
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