Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Overriding themes in Windows Phone 7

Is there a way to make the controls only use the Dark or Light theme? I'm working on an application that is mostly dark, we have some dark custom backgrounds. All the textblocks are handled, those are always white. But buttons, textboxes, checkboxes, radiobuttons. All those become black when the phone's theme is set to light, and they are barely visible.

The problem with this is that I found myself going to blend to handle the way each control looks on each of it states. E. G., in the Light theme, buttons text become black, and white only when pressed. Is there a way I can make the buttons only use the Dark theme? Disregarding what the actual theme setting for the phone is?

Thanks.

like image 312
Carlo Avatar asked Feb 10 '11 01:02

Carlo


1 Answers

I'm afraid you just have to colour them all manually. In Blend, this means clicking "convert to local value" on each of the properties you care about.

At least, that's what I did - hopefully someone else has a nicer answer!

like image 139
Chris Rae Avatar answered Oct 17 '22 22:10

Chris Rae