Windows Phone 7.1 Light/Dark themes management

windows-phone, windows-phone-7, windows-phone-7.1

Solution

Have you seen these?

Theme Overview for Windows Phone

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402557(v=vs.105).aspx

Theme Resources for Windows Phone

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769552(v=vs.105).aspx

How to: Apply Theme Resources for Windows Phone

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769545(v=vs.105).aspx

Problem

How does exactly work themes switching in application? What if I override the default styles? Can I also define different styles for light and dark themes separately? Why the icons colos get changed - i.e. the black background of icons changes into white if the theme is set to Dark. Will it also be changed to white if I override the background style of application bar to white explicitly? How can I make sure nothing gets changed and my app looks the same in Light and Dark themes?

Original source