Docs

Documentation versions (currently viewingVaadin 25)
Documentation translations (currently viewingEnglish)

Aura Theme

Aura Theme Reference

Auto-Loading

When no AppShellConfigurator is defined in your application, the Aura theme CSS is automatically loaded as the default theme. In development mode, a log message suggests how to explicitly configure the theme.

To explicitly configure Aura, add the @StyleSheet annotation to your AppShellConfigurator:

Source code
Java
@StyleSheet(Aura.STYLESHEET)
public class Application implements AppShellConfigurator {
}

Explicit configuration is recommended for production applications so the theme choice is clearly documented in code.