forked from MaterialDesignInXAML/MaterialDesignInXamlToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTheme.cs
More file actions
58 lines (51 loc) · 2.24 KB
/
Copy pathTheme.cs
File metadata and controls
58 lines (51 loc) · 2.24 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
using System;
using System.Windows.Media;
using MaterialDesignColors;
namespace MaterialDesignThemes.Wpf
{
public class Theme : ITheme
{
public static IBaseTheme Light { get; } = new MaterialDesignLightTheme();
public static IBaseTheme Dark { get; } = new MaterialDesignDarkTheme();
public static Theme Create(IBaseTheme baseTheme, Color primary, Color accent)
{
if (baseTheme == null) throw new ArgumentNullException(nameof(baseTheme));
var theme = new Theme();
theme.SetBaseTheme(baseTheme);
theme.SetPrimaryColor(primary);
theme.SetSecondaryColor(accent);
return theme;
}
public ColorPair SecondaryLight { get; set; }
public ColorPair SecondaryMid { get; set; }
public ColorPair SecondaryDark { get; set; }
public ColorPair PrimaryLight { get; set; }
public ColorPair PrimaryMid { get; set; }
public ColorPair PrimaryDark { get; set; }
public Color ValidationError { get; set; }
public Color Background { get; set; }
public Color Paper { get; set; }
public Color CardBackground { get; set; }
public Color ToolBarBackground { get; set; }
public Color Body { get; set; }
public Color BodyLight { get; set; }
public Color ColumnHeader { get; set; }
public Color CheckBoxOff { get; set; }
public Color CheckBoxDisabled { get; set; }
public Color Divider { get; set; }
public Color Selection { get; set; }
public Color FlatButtonClick { get; set; }
public Color FlatButtonRipple { get; set; }
public Color ToolTipBackground { get; set; }
public Color ChipBackground { get; set; }
public Color SnackbarBackground { get; set; }
public Color SnackbarMouseOver { get; set; }
public Color SnackbarRipple { get; set; }
public Color TextBoxBorder { get; set; }
public Color TextFieldBoxBackground { get; set; }
public Color TextFieldBoxHoverBackground { get; set; }
public Color TextFieldBoxDisabledBackground { get; set; }
public Color TextAreaBorder { get; set; }
public Color TextAreaInactiveBorder { get; set; }
}
}