blob: 16e3ccdd4ba9d23a847df664e3b0978da286650e (
plain)
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
|
using MaterialDesignColors;
namespace MaterialDesignThemes.Wpf
{
/// <summary>
/// Provides full information about a palette.
/// </summary>
public class Palette
{
public Palette(Swatch primarySwatch, Swatch accentSwatch, int primaryLightHueIndex, int primaryMidHueIndex, int primaryDarkHueIndex, int accentHueIndex)
{
PrimarySwatch = primarySwatch;
AccentSwatch = accentSwatch;
PrimaryLightHueIndex = primaryLightHueIndex;
PrimaryMidHueIndex = primaryMidHueIndex;
PrimaryDarkHueIndex = primaryDarkHueIndex;
AccentHueIndex = accentHueIndex;
}
public Swatch PrimarySwatch { get; }
public Swatch AccentSwatch { get; }
public int PrimaryLightHueIndex { get; }
public int PrimaryMidHueIndex { get; }
public int PrimaryDarkHueIndex { get; }
public int AccentHueIndex { get; }
}
}
|