I was recently talking to a developer working on a Windows store app and he said: “Dude, why the dark background for the apps? Shouldn’t Windows 8 apps be a bit brighter and cheerful? I had to show a good amount of text in my app, so I ended up setting the background to white and foreground to black on the various UI elements and it’s awful! Buttons don’t work as expected, they disappear when I do a mouse-over!”
He was pretty frustrated and I could imagine many others potentially facing this issue.
The solution is surprisingly simple, though!
Open your App.xaml file and set the application’s “RequestedTheme” property to Light.
And we’re done!
Undo all the hardcoded backgrounds and foregrounds on all the UI elements – leave them to the defaults and you’ll have a light background with dark UI elements!
The light theme is generally recommended for apps with a lot of text.
Thanks for reading!
PS: You can follow me on twitter at “_amarnit”, where I share some quick tips/learning at times!