In addition to the accepted answer, you can specify a theme using the @Theme annotation in your user interface and expand the theme by creating a folder with the name of your theme in the VAADIN\themes section.
Inside this folder you must create styles.scss and .scss:
styles.scss
@import "licensing.scss"; .licensing { @include licensing; }
licensing.scss
@import "../valo/valo.scss"; @mixin licensing { @include valo; }
Thematic annotation: Example for github .
Theme Files: An example of a theme folder .
source share