You should follow this wiki thread:
https://vaadin.com/wiki/-/wiki/Main/Creating%20a%20theme%20using%20sass