-
Notifications
You must be signed in to change notification settings - Fork 0
/
Styles.axaml
42 lines (38 loc) · 1.52 KB
/
Styles.axaml
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
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Design.PreviewWith>
<Border Padding="20">
<!-- Add Controls for Previewer Here -->
</Border>
</Design.PreviewWith>
<!-- Button styles -->
<Style Selector="Button">
<Setter Property="Background" Value="#dc98a4" />
<Setter Property="Cursor" Value="Hand" />
</Style>
<Style Selector="Button:pointerover /template/ ContentPresenter">
<Setter Property="Background" Value="#AD6874" />
</Style>
<Style Selector="Button:disabled /template/ ContentPresenter">
<Setter Property="Background" Value="#816066" />
</Style>
<Style Selector="Button:pressed /template/ ContentPresenter">
<Setter Property="Background" Value="#924956" />
</Style>
<!-- TextBox styles -->
<Style Selector="TextBox">
<Setter Property="IsUndoEnabled" Value="True" />
<Setter Property="BorderBrush" Value="#dc98a4" />
<Setter Property="MaxHeight" Value="0" />
<Setter Property="Margin" Value="6" />
</Style>
<!-- CheckBox Styles -->
<Style Selector="CheckBox">
<Setter Property="Cursor" Value="Hand" />
</Style>
<Style Selector="CheckBox /template/ Border#NormalRectangle">
<Setter Property="BorderBrush" Value="#dc98a4" />
</Style>
<Style Selector="CheckBox:pointerover /template/ Border#NormalRectangle">
<Setter Property="BorderBrush" Value="#AD6874" />
</Style>
</Styles>