ux: change style for commit ref decorators (#395)

* change font from `Fonts.Monospace` to `Fonts.Primary`
* increase the font size
This commit is contained in:
leo 2024-08-23 17:41:38 +08:00
parent 854563ef41
commit 8f114e8a32
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

View file

@ -100,8 +100,8 @@
BranchNameBackground="{DynamicResource Brush.DecoratorBranch}" BranchNameBackground="{DynamicResource Brush.DecoratorBranch}"
TagNameBackground="{DynamicResource Brush.DecoratorTag}" TagNameBackground="{DynamicResource Brush.DecoratorTag}"
LabelForeground="{DynamicResource Brush.DecoratorFG}" LabelForeground="{DynamicResource Brush.DecoratorFG}"
FontFamily="{DynamicResource Fonts.Monospace}" FontFamily="{DynamicResource Fonts.Primary}"
FontSize="10" FontSize="11"
VerticalAlignment="Center" VerticalAlignment="Center"
Refs="{Binding Decorators}"/> Refs="{Binding Decorators}"/>
</Border> </Border>

View file

@ -72,8 +72,8 @@
BranchNameBackground="{DynamicResource Brush.DecoratorBranch}" BranchNameBackground="{DynamicResource Brush.DecoratorBranch}"
TagNameBackground="{DynamicResource Brush.DecoratorTag}" TagNameBackground="{DynamicResource Brush.DecoratorTag}"
LabelForeground="{DynamicResource Brush.DecoratorFG}" LabelForeground="{DynamicResource Brush.DecoratorFG}"
FontFamily="{DynamicResource Fonts.Monospace}" FontFamily="{DynamicResource Fonts.Primary}"
FontSize="10" FontSize="11"
VerticalAlignment="Center" VerticalAlignment="Center"
Refs="{Binding Decorators}"/> Refs="{Binding Decorators}"/>

View file

@ -11,7 +11,6 @@ using Avalonia.Input;
using Avalonia.Interactivity; using Avalonia.Interactivity;
using Avalonia.Media; using Avalonia.Media;
using Avalonia.Threading; using Avalonia.Threading;
using Avalonia.Utilities;
using Avalonia.VisualTree; using Avalonia.VisualTree;
namespace SourceGit.Views namespace SourceGit.Views