Skip to content

Commit 6d1506e

Browse files
committed
feat: use user-defined accent color for the "add task" button
1 parent e7a0cb1 commit 6d1506e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Desktop/Project/TasksList.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
<Button Grid.Column="1" AutomationProperties.AutomationId="AddTask" HorizontalAlignment="Right"
2121
VerticalAlignment="Center"
2222
Content="+" FontSize="20"
23-
Command="{Binding Add}" />
23+
Background="{DynamicResource {x:Static SystemColors.AccentColorBrushKey}}"
24+
Command="{Binding Add}">
25+
</Button>
2426
</Grid>
2527

2628
<ListBox ItemsSource="{Binding Tasks}" Margin="{StaticResource SmallMarginAtTop}">

0 commit comments

Comments
 (0)