Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions articles/upgrading/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ The `themeFor` parameter of the [classname]`@CssImport` annotation (for shadow-D

The special [filename]`document.css` file (for loading styles into the document root in embedded components) is removed as no longer necessary.

You can use [classname]`@ColorScheme` for choosing between light or dark color scheme.
See <<{articles}/styling/themes#color-schemes, Color Schemes>> for more details on using color schemes.

=== Spring Security and StyleSheet

By default, Vaadin Spring Security denies access to URLs that are not explicitly allowed in the <<{articles}/upgrading#security-configuration-changes, security configuration>>. To allow access to custom resources such as `@import 'css/foo.css'`, you need to configure permission for the relevant path in your security settings:
Expand Down
Loading