I’m using vaadin 18, would you like to put a background image in the login overlay is it possible?
vaddin 18.0.3
I’m using vaadin 18, would you like to put a background image in the login overlay is it possible?
vaddin 18.0.3
You can style the background if you add your own css into the shadow-dom of vaadin-login-overlay-wrapper
, and then use the selector [part="backdrop"]
.
Here is the [link to my answer]
(https://stackoverflow.com/a/55489989/3441504) on how I did it back in Vaadin 13.
But now since Vaadin 14 we can import it as a pure .css file by adding the following annotation to your LoginView class:
@CssImport(value = "./styles/loginBackground.css", theme-for = "vaadin-login-overlay-wrapper")
This should still work in Vaadin 18
Thank you worked leaving only the css