This project is read-only.

Setting Default Accent Color for ModernUI.Light.xaml

May 29, 2014 at 11:00 AM

I need to keep a default accent color i.e. charcoal whenever the ModernUI.Light.xaml theme will be selected such as snowflakes theme for e.g. uses blue color as its accent color but its a resource dictionary and how can I set the default accent color for light theme & I think it needs to be done in ModernUI project code, could anyone help me out

Thanks in advance,
Abdul Mateen.
Jun 5, 2014 at 7:53 PM
Define the default accent color like so in your App.xaml. By defining the resource in your App.xaml, you will override the default setting in ModernUI.xaml
<Color x:Key="AccentColor">#e51400</Color>
Jul 11, 2014 at 9:01 AM
Hi Kozw,

Sorry for late reply, I had tried this but it didn't work, and this requirement has not been addressed to me after its initial talk so I left it as its not required. But I would like to know how to do this still any time :) .

Abdul Mateen.