-
Notifications
You must be signed in to change notification settings - Fork 3.5k
PaletteHelper doesn't work anymore #2432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @kacciocciacciara are you able to share more information about your code. I am not currently able to replicate the issue. Can you confirm that you are seeing the |
Yes, I can confirm. |
@kacciocciacciara are you able to share the project? I am not able to replicate the issue. |
Hi @Keboo |
Hi @Keboo |
Hi @kacciocciacciara thank you for the example. That is very helpful. <materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="Blue" SecondaryColor="Green" ColorAdjustment="{materialDesign:ColorAdjustment}"/> And this: <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Green.xaml" /> Both set the color theme resources. I recommend that you only use one of them (my preference is the first one). Only having one of those in the App.xaml will resolve the issue you are seeing. |
Hi @Keboo |
@kacciocciacciara Unforuently right now you sort of have to decide between the XAML intellisense of the second option I posted, and the convenience of the BundledTheme. That is something that is working on being addressed in the 4.3.0 release as part of #2435 |
@Keboo I read the issue about the color naming. Very interesting, and I feel like it's better than the actual system. |
Uh oh!
There was an error while loading. Please reload this page.
I have the following snippet of code that updates my base theme:
version 4.1.0 - working
update to 4.2.1 - not working
rollback to 4.1.0 - working
In the new version, my application starts with the light theme and never updates to dark.
The text was updated successfully, but these errors were encountered: