Seems that in the latest version of Xamarin.Forms, the AppThemeColor
is deprecated.
So the following code, with which I was able to define a color for light and dark mode is not valid anymore.
<Color x:Key="DarkBlueColor">#0A1B2F</Color> <Color x:Key="WhiteColor">#FFFFFF</Color> <AppThemeColor x:Key="PageBackgroundMain" Light="{StaticResource WhiteColor}" Dark="{StaticResource DarkBlueColor}"/>
With what code can I replace the depracated AppThemeColor
?