This project is read-only.

Confusion on theme-Colors.xaml vs. other shell values

Mar 14, 2013 at 10:58 PM
I am looking at the Battleship-Shell.xaml and am trying to figure out why it has colors specified as part of the settings instead of using the colors in the Battleship-Colors.xaml file. I thought the whole idea was to isolate settings like these so that we can change how the application appears by just changing the appropriate theme settings.

example from the Notification layout section:
</Grid.Effect>
<Border Background="#eeeeee" BorderBrush="Black" BorderThickness="1" />
<Border BorderThickness="2,2,0,0" BorderBrush="DarkGray" Margin="6" />
<Border BorderThickness="0,0,2,2" BorderBrush="WhiteSmoke" Margin="6" /
.....

I am sure there is a good reason for this, just not sure, so I thought I would ask.

Thanks
Mar 16, 2013 at 4:41 PM
No, no good reason. The battleship theme so far has been more of just a quick & dirty sample. We have decided to clean it up and ship it for real as part of the next build. So within a matter of days (fingers crossed! ;-)), we should have a battleship theme that is a) more usable for real in how it looks and behaves, and b) have its source cleaned up.

Markus