feature: add new color key Color.DecoratorFG to customize foreground color of commit refs (#225)

This commit is contained in:
leo 2024-07-01 20:27:59 +08:00
parent fb5a7111c6
commit 366e467578
No known key found for this signature in database
4 changed files with 6 additions and 2 deletions

View file

@ -94,7 +94,7 @@
<Path Width="8" Height="8" Data="{Binding Type, Converter={x:Static c:DecoratorTypeConverters.ToIcon}}" Fill="{DynamicResource Brush.DecoratorIcon}"/>
</Border>
<Border Background="{Binding Type, Converter={x:Static c:DecoratorTypeConverters.ToBackground}}">
<TextBlock Classes="monospace" Text="{Binding Name}" FontSize="10" Margin="4,0" Foreground="Black"/>
<TextBlock Classes="monospace" Text="{Binding Name}" FontSize="10" Margin="4,0" Foreground="{DynamicResource Brush.DecoratorFG}"/>
</Border>
</StackPanel>
</Border>