Style data grid with danger buttons, other UI tweaks

This commit is contained in:
2026-02-16 13:32:52 +09:00
parent e19359755e
commit 7218eee197
4 changed files with 30 additions and 24 deletions
+12
View File
@@ -71,6 +71,18 @@
</BehaviorCollectionTemplate>
</Setter>
</Style>
<Style Selector="Button.Danger">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background" Value="#d90202"/>
<Style Selector="^:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background" Value="#b70000"/>
</Style>
<Style Selector="^:pressed /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background" Value="#9a0000"/>
</Style>
</Style>
</Application.Styles>
<Application.DataTemplates>
<DataTemplate DataType="{x:Type viewModels:MainViewModel}">