Testing vaadin 25 early access with spring boot 4

Correct, the file is not used with @CssImport, so if there is something custom configured there that might require alternatives. For example, if you use the Lumo utility classes, and your theme.json contained lumoImports: [..., 'utility'], then you also need to import utility classes from your main stylesheet like so:

@import '@vaadin/vaadin-lumo-styles/utility.css';

it seems to be in managed, so its using the version “25.0.0-alpha12” in the effective pom.
but @StyleSheet(“@vaadin/aura/aura.css”) does not work.

I do get <link href="/@vaadin/aura/aura.css" rel="stylesheet"> in the html but it doesn’t look much like the Starpass theme for Vaadin 24. I don’t know if it is because it is under development still or if I missed something. I have Aura in pom.xml.

You can implement AfterNavigationObserver

1 Like

thanks, i was not aware it works also in the AppLayout :)

I think it works but I am not sure, doesn’t look much like Starpass theme and is in my opinion not very nice. Does the Lumo theme in frontend folder interfer? I believe there must be something wrong still, even if some styling from Aura is applied.