Skip to content

Commit b5c0981

Browse files
committed
Updated button styles
1 parent 994488a commit b5c0981

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

ZXBStudio/App.axaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<Setter Property="Background" Value="#505050" />
8181
</Style>
8282
<Style Selector="Button.toolbar">
83-
<Setter Property="Background" Value="#fff0f0f0" />
83+
<Setter Property="Background" Value="#ffb0b0b0" />
8484
<Setter Property="Width" Value="24" />
8585
<Setter Property="Height" Value="24" />
8686
<Setter Property="Padding" Value="2" />
@@ -95,12 +95,20 @@
9595
<Setter Property="CornerRadius" Value="4" />
9696
<Setter Property="Focusable" Value="False"></Setter>
9797
</Style>
98+
<Style Selector="ToggleButton.checked">
99+
<Setter Property="Background" Value="#ffb0b0b0" />
100+
<Setter Property="Width" Value="24" />
101+
<Setter Property="Height" Value="24" />
102+
<Setter Property="Padding" Value="2" />
103+
<Setter Property="CornerRadius" Value="4" />
104+
<Setter Property="Focusable" Value="False"></Setter>
105+
</Style>
98106
<Style Selector="Button.toolbar:disabled">
99107
<Setter Property="Background" Value="#ff606060" />
100108
<Setter Property="BorderBrush" Value="#ff606060" />
101109
</Style>
102110
<Style Selector="Button.toolbar:pointerover /template/ ContentPresenter#PART_ContentPresenter">
103-
<Setter Property="Background" Value="#ffb0b0b0" />
111+
<Setter Property="Background" Value="#fff0f0f0" />
104112
</Style>
105113
<Style Selector="Button.toolbar:pressed /template/ ContentPresenter#PART_ContentPresenter">
106114
<Setter Property="Background" Value="#ff606060" />

0 commit comments

Comments
 (0)