We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.theme.
Package com.vaadin.flow.theme
Annotation Interface NoTheme
A marker annotation to avoid applying any default theme to the application.
Flow uses the following logic to determine which theme to use for the application:
- If a
Theme
annotation is found on the AppShellConfigurator, the theme defined by it is used. - If a
NoTheme
annotation is found on the AppShellConfigurator, theming is disabled. - If the
com.vaadin.flow.theme.lumo.Lumo
class is available in the classpath (which comes from the vaadin-lumo-theme project), then it is used as the default theme.
NoTheme
annotation should be added to the AppShellConfigurator
implementation.
Since:
1.0