diff --git a/articles/upgrading/index.adoc b/articles/upgrading/index.adoc index 1a5f738e34..183038ac05 100644 --- a/articles/upgrading/index.adoc +++ b/articles/upgrading/index.adoc @@ -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: