-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathResourceDictionaryExtensions.g.cs
More file actions
252 lines (250 loc) · 29.3 KB
/
ResourceDictionaryExtensions.g.cs
File metadata and controls
252 lines (250 loc) · 29.3 KB
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
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by MaterialDesignToolkit.ResourceGeneration.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace MaterialDesignThemes.Wpf;
static partial class ResourceDictionaryExtensions
{
private static partial void LoadThemeColors(ResourceDictionary resourceDictionary, Theme theme)
{
theme.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.Background", "MaterialDesignPaper");
theme.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.Foreground", "MaterialDesignBody");
theme.ForegroundLight = GetColor(resourceDictionary, "MaterialDesign.Brush.ForegroundLight", "MaterialDesignBodyLight", "MaterialDesignCheckBoxOff", "MaterialDesignTextBoxBorder");
theme.ValidationError = GetColor(resourceDictionary, "MaterialDesign.Brush.ValidationError", "MaterialDesignValidationErrorBrush");
theme.Badgeds.DarkBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.Badged.DarkBackground");
theme.Badgeds.DarkForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.Badged.DarkForeground");
theme.Badgeds.LightBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.Badged.LightBackground");
theme.Badgeds.LightForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.Badged.LightForeground");
theme.Buttons.FlatClick = GetColor(resourceDictionary, "MaterialDesign.Brush.Button.FlatClick", "MaterialDesignFlatButtonClick");
theme.Buttons.Ripple = GetColor(resourceDictionary, "MaterialDesign.Brush.Button.Ripple", "MaterialDesignFlatButtonRipple", "MaterialDesignSnackbarRipple");
theme.Buttons.FlatRipple = GetColor(resourceDictionary, "MaterialDesign.Brush.Button.FlatRipple", "MaterialDesignFlatButtonRipple", "MaterialDesignSnackbarRipple");
theme.SnackBars.Ripple = GetColor(resourceDictionary, "MaterialDesign.Brush.SnackBar.Ripple", "MaterialDesignFlatButtonRipple", "MaterialDesignSnackbarRipple");
theme.SnackBars.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.SnackBar.Background", "MaterialDesignSnackbarBackground");
theme.SnackBars.MouseOver = GetColor(resourceDictionary, "MaterialDesign.Brush.SnackBar.MouseOver", "MaterialDesignSnackbarMouseOver");
theme.Cards.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.Card.Background", "MaterialDesignBackground", "MaterialDesignCardBackground");
theme.Cards.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.Card.Border");
theme.CheckBoxes.Disabled = GetColor(resourceDictionary, "MaterialDesign.Brush.CheckBox.Disabled", "MaterialDesignCheckBoxDisabled");
theme.CheckBoxes.UncheckedBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.CheckBox.UncheckedBorder");
theme.CheckBoxes.Off = GetColor(resourceDictionary, "MaterialDesign.Brush.CheckBox.Off", "MaterialDesignBodyLight", "MaterialDesignCheckBoxOff", "MaterialDesignTextBoxBorder");
theme.Chips.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.Chip.Background", "MaterialDesignChipBackground");
theme.Chips.OutlineBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.Chip.OutlineBorder");
theme.ColorZones.DarkBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ColorZone.DarkBackground");
theme.ColorZones.DarkForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.ColorZone.DarkForeground");
theme.ColorZones.LightBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ColorZone.LightBackground");
theme.ColorZones.LightForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.ColorZone.LightForeground");
theme.ComboBoxes.Disabled = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Disabled");
theme.ComboBoxes.FilledBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.FilledBackground");
theme.ComboBoxes.HoverBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.HoverBackground");
theme.ComboBoxes.OutlineInactiveBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.OutlineInactiveBorder");
theme.ComboBoxes.HoverBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.HoverBorder", "MaterialDesignBody");
theme.ComboBoxes.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Border", "MaterialDesignBodyLight", "MaterialDesignCheckBoxOff", "MaterialDesignTextBoxBorder");
theme.ComboBoxes.OutlineBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.OutlineBorder", "MaterialDesignColumnHeader", "MaterialDesignTextAreaBorder");
theme.ComboBoxes.Popups.DarkBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.DarkBackground");
theme.ComboBoxes.Popups.DarkForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.DarkForeground");
theme.ComboBoxes.Popups.LightBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.LightBackground");
theme.ComboBoxes.Popups.LightForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.LightForeground");
theme.DataGrids.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.Border");
theme.DataGrids.ButtonPressed = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.ButtonPressed");
theme.DataGrids.ComboBoxHover = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.ComboBoxHover");
theme.DataGrids.ComboBoxSelected = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.ComboBoxSelected");
theme.DataGrids.PopupBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.PopupBorder");
theme.DataGrids.RowHoverBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.RowHoverBackground", "MaterialDesignDataGridRowHoverBackground");
theme.DataGrids.Selected = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.Selected");
theme.DataGrids.ColumnHeaderForeground = GetColor(resourceDictionary, "MaterialDesign.Brush.DataGrid.ColumnHeaderForeground", "MaterialDesignColumnHeader", "MaterialDesignTextAreaBorder");
theme.TextBoxes.HoverBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.HoverBorder", "MaterialDesignBody");
theme.TextBoxes.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.Border", "MaterialDesignBodyLight", "MaterialDesignCheckBoxOff", "MaterialDesignTextBoxBorder");
theme.TextBoxes.OutlineBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.OutlineBorder", "MaterialDesignColumnHeader", "MaterialDesignTextAreaBorder");
theme.TextBoxes.DisabledBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.DisabledBackground", "MaterialDesignTextFieldBoxDisabledBackground");
theme.TextBoxes.FilledBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.FilledBackground", "MaterialDesignTextFieldBoxBackground");
theme.TextBoxes.HoverBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.HoverBackground", "MaterialDesignTextFieldBoxHoverBackground", "MaterialDesignDivider");
theme.TextBoxes.OutlineInactiveBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.TextBox.OutlineInactiveBorder", "MaterialDesignTextAreaInactiveBorder");
theme.PasswordBoxes.HoverBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.HoverBorder", "MaterialDesignBody");
theme.PasswordBoxes.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.Border", "MaterialDesignBodyLight", "MaterialDesignCheckBoxOff", "MaterialDesignTextBoxBorder");
theme.PasswordBoxes.OutlineBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.OutlineBorder", "MaterialDesignColumnHeader", "MaterialDesignTextAreaBorder");
theme.PasswordBoxes.FilledBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.FilledBackground", "MaterialDesignTextFieldBoxBackground");
theme.PasswordBoxes.HoverBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.HoverBackground", "MaterialDesignTextFieldBoxHoverBackground", "MaterialDesignDivider");
theme.PasswordBoxes.OutlineInactiveBorder = GetColor(resourceDictionary, "MaterialDesign.Brush.PasswordBox.OutlineInactiveBorder", "MaterialDesignTextAreaInactiveBorder");
theme.GridSplitters.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.GridSplitter.Background");
theme.GridSplitters.PreviewBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.GridSplitter.PreviewBackground");
theme.Headers.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.Header.Foreground", "MaterialDesignColumnHeader", "MaterialDesignTextAreaBorder");
theme.ListBoxItems.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.ListBoxItem.Border");
theme.ListBoxItems.Selected = GetColor(resourceDictionary, "MaterialDesign.Brush.ListBoxItem.Selected");
theme.ListViews.Hover = GetColor(resourceDictionary, "MaterialDesign.Brush.ListView.Hover");
theme.ListViews.Selected = GetColor(resourceDictionary, "MaterialDesign.Brush.ListView.Selected");
theme.ListViews.Separator = GetColor(resourceDictionary, "MaterialDesign.Brush.ListView.Separator");
theme.RadioButtons.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.RadioButton.Border");
theme.RadioButtons.Checked = GetColor(resourceDictionary, "MaterialDesign.Brush.RadioButton.Checked");
theme.RadioButtons.Disabled = GetColor(resourceDictionary, "MaterialDesign.Brush.RadioButton.Disabled");
theme.RadioButtons.Outline = GetColor(resourceDictionary, "MaterialDesign.Brush.RadioButton.Outline");
theme.RadioButtons.Chips.CheckedBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.RadioButton.Chip.CheckedBackground");
theme.ScrollBars.ActiveBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ScrollBar.ActiveBackground");
theme.ScrollBars.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.ScrollBar.Foreground");
theme.ScrollBars.RepeatButtonBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ScrollBar.RepeatButtonBackground");
theme.Separators.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.Separator.Background");
theme.StatusBars.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.StatusBar.Background");
theme.StatusBars.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.StatusBar.Foreground");
theme.TabControls.Divider = GetColor(resourceDictionary, "MaterialDesign.Brush.TabControl.Divider");
theme.ToolBars.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Background", "MaterialDesignToolBarBackground");
theme.ToolBars.Separator = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Separator");
theme.ToolBars.Thumbs.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Thumb.Foreground", "MaterialDesignTextFieldBoxHoverBackground", "MaterialDesignDivider");
theme.ToolBars.Items.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Item.Background", "MaterialDesignToolBackground");
theme.ToolBars.Items.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Item.Foreground", "MaterialDesignToolForeground");
theme.ToolBars.Overflows.Border = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolBar.Overflow.Border");
theme.ToggleButtons.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Background");
theme.ToggleButtons.Foreground = GetColor(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Foreground");
theme.ToggleButtons.Switches.TrackOffBackground = GetColor(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Switch.TrackOffBackground");
theme.ToolTips.Background = GetColor(resourceDictionary, "MaterialDesign.Brush.ToolTip.Background", "MaterialDesignToolTipBackground");
}
private static partial void ApplyThemeColors(ResourceDictionary resourceDictionary, Theme theme)
{
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Background", theme.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignPaper", theme.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Foreground", theme.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBody", theme.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ForegroundLight", theme.ForegroundLight);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBodyLight", theme.ForegroundLight);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxOff", theme.ForegroundLight);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextBoxBorder", theme.ForegroundLight);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ValidationError", theme.ValidationError);
SetSolidColorBrush(resourceDictionary, "MaterialDesignValidationErrorBrush", theme.ValidationError);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Badged.DarkBackground", theme.Badgeds.DarkBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Badged.DarkForeground", theme.Badgeds.DarkForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Badged.LightBackground", theme.Badgeds.LightBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Badged.LightForeground", theme.Badgeds.LightForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Button.FlatClick", theme.Buttons.FlatClick);
SetSolidColorBrush(resourceDictionary, "MaterialDesignFlatButtonClick", theme.Buttons.FlatClick);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Button.Ripple", theme.Buttons.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignFlatButtonRipple", theme.Buttons.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignSnackbarRipple", theme.Buttons.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Button.FlatRipple", theme.Buttons.FlatRipple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignFlatButtonRipple", theme.Buttons.FlatRipple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignSnackbarRipple", theme.Buttons.FlatRipple);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.SnackBar.Ripple", theme.SnackBars.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignFlatButtonRipple", theme.SnackBars.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesignSnackbarRipple", theme.SnackBars.Ripple);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.SnackBar.Background", theme.SnackBars.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignSnackbarBackground", theme.SnackBars.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.SnackBar.MouseOver", theme.SnackBars.MouseOver);
SetSolidColorBrush(resourceDictionary, "MaterialDesignSnackbarMouseOver", theme.SnackBars.MouseOver);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Card.Background", theme.Cards.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBackground", theme.Cards.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCardBackground", theme.Cards.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Card.Border", theme.Cards.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.CheckBox.Disabled", theme.CheckBoxes.Disabled);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxDisabled", theme.CheckBoxes.Disabled);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.CheckBox.UncheckedBorder", theme.CheckBoxes.UncheckedBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.CheckBox.Off", theme.CheckBoxes.Off);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBodyLight", theme.CheckBoxes.Off);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxOff", theme.CheckBoxes.Off);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextBoxBorder", theme.CheckBoxes.Off);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Chip.Background", theme.Chips.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignChipBackground", theme.Chips.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Chip.OutlineBorder", theme.Chips.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ColorZone.DarkBackground", theme.ColorZones.DarkBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ColorZone.DarkForeground", theme.ColorZones.DarkForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ColorZone.LightBackground", theme.ColorZones.LightBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ColorZone.LightForeground", theme.ColorZones.LightForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Disabled", theme.ComboBoxes.Disabled);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.FilledBackground", theme.ComboBoxes.FilledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.HoverBackground", theme.ComboBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.OutlineInactiveBorder", theme.ComboBoxes.OutlineInactiveBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.HoverBorder", theme.ComboBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBody", theme.ComboBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Border", theme.ComboBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBodyLight", theme.ComboBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxOff", theme.ComboBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextBoxBorder", theme.ComboBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.OutlineBorder", theme.ComboBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignColumnHeader", theme.ComboBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaBorder", theme.ComboBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.DarkBackground", theme.ComboBoxes.Popups.DarkBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.DarkForeground", theme.ComboBoxes.Popups.DarkForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.LightBackground", theme.ComboBoxes.Popups.LightBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ComboBox.Popup.LightForeground", theme.ComboBoxes.Popups.LightForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.Border", theme.DataGrids.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.ButtonPressed", theme.DataGrids.ButtonPressed);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.ComboBoxHover", theme.DataGrids.ComboBoxHover);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.ComboBoxSelected", theme.DataGrids.ComboBoxSelected);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.PopupBorder", theme.DataGrids.PopupBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.RowHoverBackground", theme.DataGrids.RowHoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignDataGridRowHoverBackground", theme.DataGrids.RowHoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.Selected", theme.DataGrids.Selected);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.DataGrid.ColumnHeaderForeground", theme.DataGrids.ColumnHeaderForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignColumnHeader", theme.DataGrids.ColumnHeaderForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaBorder", theme.DataGrids.ColumnHeaderForeground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.HoverBorder", theme.TextBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBody", theme.TextBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.Border", theme.TextBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBodyLight", theme.TextBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxOff", theme.TextBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextBoxBorder", theme.TextBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.OutlineBorder", theme.TextBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignColumnHeader", theme.TextBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaBorder", theme.TextBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.DisabledBackground", theme.TextBoxes.DisabledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxDisabledBackground", theme.TextBoxes.DisabledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.FilledBackground", theme.TextBoxes.FilledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxBackground", theme.TextBoxes.FilledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.HoverBackground", theme.TextBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxHoverBackground", theme.TextBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignDivider", theme.TextBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TextBox.OutlineInactiveBorder", theme.TextBoxes.OutlineInactiveBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaInactiveBorder", theme.TextBoxes.OutlineInactiveBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.HoverBorder", theme.PasswordBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBody", theme.PasswordBoxes.HoverBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.Border", theme.PasswordBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignBodyLight", theme.PasswordBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignCheckBoxOff", theme.PasswordBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextBoxBorder", theme.PasswordBoxes.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.OutlineBorder", theme.PasswordBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignColumnHeader", theme.PasswordBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaBorder", theme.PasswordBoxes.OutlineBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.FilledBackground", theme.PasswordBoxes.FilledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxBackground", theme.PasswordBoxes.FilledBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.HoverBackground", theme.PasswordBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxHoverBackground", theme.PasswordBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignDivider", theme.PasswordBoxes.HoverBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.PasswordBox.OutlineInactiveBorder", theme.PasswordBoxes.OutlineInactiveBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaInactiveBorder", theme.PasswordBoxes.OutlineInactiveBorder);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.GridSplitter.Background", theme.GridSplitters.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.GridSplitter.PreviewBackground", theme.GridSplitters.PreviewBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Header.Foreground", theme.Headers.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignColumnHeader", theme.Headers.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextAreaBorder", theme.Headers.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ListBoxItem.Border", theme.ListBoxItems.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ListBoxItem.Selected", theme.ListBoxItems.Selected);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ListView.Hover", theme.ListViews.Hover);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ListView.Selected", theme.ListViews.Selected);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ListView.Separator", theme.ListViews.Separator);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.RadioButton.Border", theme.RadioButtons.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.RadioButton.Checked", theme.RadioButtons.Checked);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.RadioButton.Disabled", theme.RadioButtons.Disabled);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.RadioButton.Outline", theme.RadioButtons.Outline);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.RadioButton.Chip.CheckedBackground", theme.RadioButtons.Chips.CheckedBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ScrollBar.ActiveBackground", theme.ScrollBars.ActiveBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ScrollBar.Foreground", theme.ScrollBars.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ScrollBar.RepeatButtonBackground", theme.ScrollBars.RepeatButtonBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.Separator.Background", theme.Separators.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.StatusBar.Background", theme.StatusBars.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.StatusBar.Foreground", theme.StatusBars.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.TabControl.Divider", theme.TabControls.Divider);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Background", theme.ToolBars.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignToolBarBackground", theme.ToolBars.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Separator", theme.ToolBars.Separator);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Thumb.Foreground", theme.ToolBars.Thumbs.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignTextFieldBoxHoverBackground", theme.ToolBars.Thumbs.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignDivider", theme.ToolBars.Thumbs.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Item.Background", theme.ToolBars.Items.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignToolBackground", theme.ToolBars.Items.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Item.Foreground", theme.ToolBars.Items.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesignToolForeground", theme.ToolBars.Items.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolBar.Overflow.Border", theme.ToolBars.Overflows.Border);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Background", theme.ToggleButtons.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Foreground", theme.ToggleButtons.Foreground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToggleButton.Switch.TrackOffBackground", theme.ToggleButtons.Switches.TrackOffBackground);
SetSolidColorBrush(resourceDictionary, "MaterialDesign.Brush.ToolTip.Background", theme.ToolTips.Background);
SetSolidColorBrush(resourceDictionary, "MaterialDesignToolTipBackground", theme.ToolTips.Background);
}
}