Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 7.1 Light/Dark themes management

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?

like image 281
Marc Andreson Avatar asked Apr 16 '12 20:04

Marc Andreson


2 Answers

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

like image 132
Derek Beattie Avatar answered Nov 15 '22 10:11

Derek Beattie


I personally use PhoneThemeManager from Jeff Wilcox for theme overriding works!

like image 20
Pedro Lamas Avatar answered Nov 15 '22 12:11

Pedro Lamas