Changing theme Light/Dark

Jun 18, 2014 at 10:16 AM
Hi!

I am using ModernUI design for my application and I want to change the colors of font and some other stuff when I change the theme from Light to Dark.
How can I do it? Are there any properties or events that I could use?

Thanks :-)
Jun 24, 2014 at 1:27 AM
Edited Jun 24, 2014 at 1:30 AM
To do what you want, please see SettingsAppearanceViewModel.cs of ModernUI Demo project (FirstFloor.ModernUI.App).
Sep 6, 2014 at 11:35 AM
Edited Sep 6, 2014 at 11:36 AM
Can anyone Please Guide us step by step ,
Please!!
Sep 24, 2014 at 6:39 PM
AppearanceManager.Current.AccentColor = (Color)ColorConverter.ConvertFromString("#FFFF1493"); 
AppearanceManager.Current.ThemeSource = (iWantDark) ? AppearanceManager.DarkThemeSource : AppearanceManager.LightThemeSource;
Setting either of those should get the job done. In the example I'm using a lovely shade of hot pink for the accent color while the theme triggers based on a bool value of iWantDark.