While Compiling Vaadin Theme Showing the Error

While compiling Vaadin theme it is showing the error:

select a theme file (.scss) or a vaadin project to compile
`@import "addons.scss";
@import "../ftpcapp/ftpcapp";
@import "../valo/valo";
@import "../ftpcapp/custom";
@import "AppTheme.scss";
@include variables($background18, $app18, black);
@include settings($app18, $background18);

.ftpcapp18 {
  @include addons;
  @include valo;
  @include themeitems($app18, $button-color18);
  @include ftpcapp;
  @include AppTheme;
  @include custom;
}

1 Answer

Check that your @Theme annotation theme name matches theme folder name src/main/VAADIN/themes and that there is correctly named .scss file like in this picture. I assume (based on the error message) you are using IDE plugin instead of maven to compile the theme. So you need to have the folder / theme file selected, when you when clicking the "paint"-icon of the plugin that triggers the theme compilation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest