Package com.vaadin.flow.theme
Annotation Type NoTheme
-
@Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public @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.
- Since:
- 1.0
- If a