-
Notifications
You must be signed in to change notification settings - Fork 35
/
themes.xml
278 lines (227 loc) · 15.6 KB
/
themes.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<?xml version='1.0' encoding='utf-8'?>
<!--
NOTE: To be picked up at run-time, this file must be named themes.xml and reside in your applications base folder.
For design-time support, a copy of this file must be in your solution folder (NOT the project folder!)
-->
<metroframework
xmlns="http://thielj.github.io/MetroFramework/themes-2_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thielj.github.io/MetroFramework/themes-2_0.xsd
http://thielj.github.io/MetroFramework/themes-2_0.xsd"
>
<!--
The default theme must match one of the named themes below (e.g. 'Light' or 'Dark')
See MetroStyleManager.cs for documentation
-->
<themes default='Light'>
<theme name='Light'>
<!--
Font families and styles in use.
This is the only place where we can use FotFamily and FontStyle properties.
The Regular/Bold/Light variations are triggered by MetroFontWeight - see FontStyle.tt for details.
-->
<property name='*.FontFamily.*' value='Arial' type='System.String' />
<property name='*.FontStyle.*' value='Regular' type='System.Drawing.FontStyle' />
<property name='*.FontFamily.Regular' value='Arial' type='System.String' />
<property name='*.FontStyle.Regular' value='Regular' type='System.Drawing.FontStyle' />
<property name='*.FontFamily.Bold' value='Arial' type='System.String' />
<property name='*.FontStyle.Bold' value='Bold' type='System.Drawing.FontStyle' />
<property name='*.FontFamily.Light' value='Arial' type='System.String' />
<property name='*.FontStyle.Light' value='Regular' type='System.Drawing.FontStyle' />
<!--
Ultimate FontSize fallback values. These are in px (pixel).
The Small/Medium/Large variations are triggered by MetroFontSize - see FontStyle.tt for details.
-->
<property name='*.FontSize.*' value='14' type='System.Single' />
<property name='*.FontSize.Small' value='12' type='System.Single' />
<property name='*.FontSize.Medium' value='14' type='System.Single' />
<property name='*.FontSize.Large' value='18' type='System.Single' />
<!--
Ultimate MetroFontXXX fallback values.
The value here directs the font mappers into further lookups of FontFamily, FontStyle and FontSize.
See MetroControlBase's font section and FontStyle.tt for details
-->
<property name='*.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='*.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<!-- =============== USER THEMEABLE SECTION STARTS HERE ==================== -->
<!--
Ultimate color fallback values
See MetroControlBase.tt and Selectable.tt for details
-->
<property name='*.BackColor.*' value='#FFFFFF' type='System.Drawing.Color' />
<property name='*.ForeColor.*' value='#111111' type='System.Drawing.Color' />
<property name='*.ForeColor.Normal' value='#111111' type='System.Drawing.Color' />
<property name='*.ForeColor.Disabled' value='#888888' type='System.Drawing.Color' />
<property name='*.ForeColor.Hover' value='#999999' type='System.Drawing.Color' />
<property name='*.ForeColor.Press' value='#999999' type='System.Drawing.Color' />
<property name='Form.Title.FontSize.*' value='24' type='System.Single' />
<property name='Form.Title.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='Form.BorderStyle.Normal' value='None' type='MetroFramework.Drawing.MetroBorderStyle' />
<property name='Form.BorderStyle.Remote' value='FixedSingle' type='MetroFramework.Drawing.MetroBorderStyle' />
<property name='Form.BorderColor.Normal' value='#999999' type='System.Drawing.Color' />
<property name='Form.BorderColor.Remote' value='#999999' type='System.Drawing.Color' />
<property name='Form.ShadowType.Normal' value='SystemAeroShadow' type='MetroFramework.Forms.MetroForm+MetroFormShadowType' />
<property name='Form.ShadowType.Remote' value='None' type='MetroFramework.Forms.MetroForm+MetroFormShadowType' />
<!--
MetroButton
-->
<property name='Button.FontSize.*' value='11' type='System.Single' />
<property name='Button.MetroFontWeight.*' value='Bold' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='Button.BackColor.Normal' value='#EEEEEE' type='System.Drawing.Color' />
<property name='Button.BackColor.Disabled' value='#CCCCCC' type='System.Drawing.Color' />
<property name='Button.BackColor.Hover' value='#666666' type='System.Drawing.Color' />
<property name='Button.BackColor.Press' value='#333333' type='System.Drawing.Color' />
<property name='Button.BorderColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='Button.BorderColor.Disabled' value='#9B9B9B' type='System.Drawing.Color' />
<property name='Button.BorderColor.Hover' value='#666666' type='System.Drawing.Color' />
<property name='Button.BorderColor.Press' value='#333333' type='System.Drawing.Color' />
<property name='Button.ForeColor.Normal' value='#000000' type='System.Drawing.Color' />
<property name='Button.ForeColor.Disabled' value='#888888' type='System.Drawing.Color' />
<property name='Button.ForeColor.Hover' value='#FFFFFF' type='System.Drawing.Color' />
<property name='Button.ForeColor.Press' value='#FFFFFF' type='System.Drawing.Color' />
<!--
MetroCheckBox (also used by RadioButton and Toggle, change source if you need to differentiate these)
-->
<property name='CheckBox.MetroFontSize.*' value='Small' type='MetroFramework.Drawing.MetroFontSize' />
<property name='CheckBox.MetroFontWeight.*' value='Regular' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='CheckBox.BorderColor.Normal' value='#999999' type='System.Drawing.Color' />
<property name='CheckBox.BorderColor.Disabled' value='#CCCCCC' type='System.Drawing.Color' />
<property name='CheckBox.BorderColor.Hover' value='#333333' type='System.Drawing.Color' />
<property name='CheckBox.BorderColor.Press' value='#999999' type='System.Drawing.Color' />
<!--
MetroComboBox
-->
<property name='ComboBox.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='ComboBox.MetroFontWeight.*' value='Regular' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='ComboBox.BorderColor.Normal' value='#999999' type='System.Drawing.Color' />
<property name='ComboBox.BorderColor.Disabled' value='#CCCCCC' type='System.Drawing.Color' />
<property name='ComboBox.BorderColor.Hover' value='#333333' type='System.Drawing.Color' />
<property name='ComboBox.BorderColor.Press' value='#999999' type='System.Drawing.Color' />
<property name='ComboBox.ForeColor.Hover' value='#111111' type='System.Drawing.Color' />
<property name='ComboBox.ForeColor.Press' value='#111111' type='System.Drawing.Color' />
<!--
MetroLabel
-->
<property name='Label.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='Label.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<!--
MetroLink
-->
<property name='Link.MetroFontSize.*' value='Small' type='MetroFramework.Drawing.MetroFontSize' />
<property name='Link.MetroFontWeight.*' value='Bold' type='MetroFramework.Drawing.MetroFontWeight' />
<!--
MetroPanel
-->
<property name='Panel.BorderColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='Panel.BorderColor.Disabled' value='#9B9B9B' type='System.Drawing.Color' />
<!--
MetroProgressBar
-->
<property name='ProgressBar.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='ProgressBar.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='ProgressBar.ForeColor.Normal' value='#000000' type='System.Drawing.Color' />
<property name='ProgressBar.ForeColor.Disabled' value='#D1D1D1' type='System.Drawing.Color' />
<property name='ProgressBar.BorderColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='ProgressBar.BorderColor.Disabled' value='#9B9B9B' type='System.Drawing.Color' />
<property name='ProgressBar.BorderColor.Hover' value='#CCCCCC' type='System.Drawing.Color' />
<property name='ProgressBar.BorderColor.Press' value='#CCCCCC' type='System.Drawing.Color' />
<property name='ProgressBar.Bar.BackColor.Normal' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ProgressBar.Bar.BackColor.Disabled' value='#DDDDDD' type='System.Drawing.Color' />
<property name='ProgressBar.Bar.BackColor.Hover' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ProgressBar.Bar.BackColor.Press' value='#EAEAEA' type='System.Drawing.Color' />
<!--
MetroScrollBar
-->
<property name='ScrollBar.Bar.BackColor.Normal' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ScrollBar.Bar.BackColor.Disabled' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ScrollBar.Bar.BackColor.Hover' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ScrollBar.Bar.BackColor.Press' value='#EAEAEA' type='System.Drawing.Color' />
<property name='ScrollBar.Thumb.BackColor.Normal' value='#DDDDDD' type='System.Drawing.Color' />
<property name='ScrollBar.Thumb.BackColor.Disabled' value='#DDDDDD' type='System.Drawing.Color' />
<property name='ScrollBar.Thumb.BackColor.Hover' value='#111111' type='System.Drawing.Color' />
<property name='ScrollBar.Thumb.BackColor.Press' value='#111111' type='System.Drawing.Color' />
<!--MetroTabPage /-->
<!--
MetroTabControl (this is used to draw the UI to switch tab pages)
-->
<property name='TabControl.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='TabControl.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='TabControl.BorderColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TabControl.BorderColor.Disabled' value='#9B9B9B' type='System.Drawing.Color' />
<property name='TabControl.BorderColor.Hover' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TabControl.BorderColor.Press' value='#CCCCCC' type='System.Drawing.Color' />
<!--
MetroTextBox
-->
<property name='TextBox.MetroFontSize.*' value='Small' type='MetroFramework.Drawing.MetroFontSize' />
<property name='TextBox.MetroFontWeight.*' value='Regular' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='TextBox.BackColor.Normal' value='#EEEEEE' type='System.Drawing.Color' />
<property name='TextBox.BackColor.Disabled' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TextBox.BorderColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TextBox.BorderColor.Disabled' value='#9B9B9B' type='System.Drawing.Color' />
<property name='TextBox.ForeColor.Normal' value='#000000' type='System.Drawing.Color' />
<property name='TextBox.ForeColor.Disabled' value='#888888' type='System.Drawing.Color' />
<!--
MetroTile
-->
<property name='Tile.MetroFontSize.*' value='Medium' type='MetroFramework.Drawing.MetroFontSize' />
<property name='Tile.MetroFontWeight.*' value='Light' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='Tile.Count.FontSize.*' value='44' type='System.Single' />
<property name='Tile.Count.MetroFontWeight.*' value='Regular' type='MetroFramework.Drawing.MetroFontWeight' />
<property name='Tile.ForeColor.Normal' value='#FFFFFF' type='System.Drawing.Color' />
<property name='Tile.ForeColor.Disabled' value='#D1D1D1' type='System.Drawing.Color' />
<property name='Tile.ForeColor.Hover' value='#FFFFFF' type='System.Drawing.Color' />
<property name='Tile.ForeColor.Press' value='#FFFFFF' type='System.Drawing.Color' />
<!--
MetroTrackBar
-->
<property name='TrackBar.Bar.BackColor.Normal' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TrackBar.Bar.BackColor.Disabled' value='#E6E6E6' type='System.Drawing.Color' />
<property name='TrackBar.Bar.BackColor.Hover' value='#CCCCCC' type='System.Drawing.Color' />
<property name='TrackBar.Bar.BackColor.Press' value='#CCCCCC' type='System.Drawing.Color' />
<!--
MetroToolTip
-->
<property name='ToolTip.MetroFontSize.*' value='Small' type='MetroFramework.Drawing.MetroFontSize' />
<property name='ToolTip.BackColor.Normal' value='#111111' type='System.Drawing.Color' />
<property name='ToolTip.ForeColor.Normal' value='#FFFFFF' type='System.Drawing.Color' />
<property name='ToolTip.Border' value='None' type='MetroFramework.Drawing.MetroBorderStyle' />
<property name='ToolTip.BorderColor.Normal' value='#999999' type='System.Drawing.Color' />
</theme>
</themes>
<styles default='Blue'>
<color name='Black' value='#000000' type='System.Drawing.Color' />
<color name='White' value='#FFFFFF' type='System.Drawing.Color' />
<color name='Silver' value='#555555' type='System.Drawing.Color' />
<color name='Blue' value='#00567a' type='System.Drawing.Color' />
<color name='Green' value='#00B159' type='System.Drawing.Color' />
<color name='Lime' value='#8EBC00' type='System.Drawing.Color' />
<color name='Teal' value='#00AAAD' type='System.Drawing.Color' />
<color name='Orange' value='#F37735' type='System.Drawing.Color' />
<color name='Brown' value='#A55100' type='System.Drawing.Color' />
<color name='Pink' value='#E771BD' type='System.Drawing.Color' />
<color name='Magenta' value='#FF0094' type='System.Drawing.Color' />
<color name='Purple' value='#7C4199' type='System.Drawing.Color' />
<color name='Red' value='#D11141' type='System.Drawing.Color' />
<color name='Yellow' value='#FFC425' type='System.Drawing.Color' />
</styles>
</metroframework>
<!--
MetroFramework - Windows Modern UI for .NET WinForms applications
Copyright (c) 2013 Jens Thiel, http://thielj.github.io/MetroFramework
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the ''Software''), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Portions of this software are (c) 2011 Sven Walter, http://github.com/viperneo
-->