Documentation

Documentation versions (currently viewingVaadin 24)

Disabling the Default Theme

Explains how to disable the Lumo theme for an application.

Although not a recommended approach to styling Vaadin applications, the default Lumo theme can be disabled using the @NoTheme annotation. This is applied to the same class to which you would normally apply the @Theme annotation.

@NoTheme
public class Application implements AppShellConfigurator {
    …
}

With the Lumo theme disabled, Vaadin components will load with only the most basic CSS required for them to be functional.

8079fc46-85db-4311-b682-11a574270222