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}"
TagNameBackground="{DynamicResource Brush.DecoratorTag}"
LabelForeground="{DynamicResource Brush.DecoratorFG}"
FontFamily="{DynamicResource Fonts.Monospace}"
FontSize="10"
FontFamily="{DynamicResource Fonts.Primary}"
FontSize="11"
VerticalAlignment="Center"
Refs="{Binding Decorators}"/>
</Border>

View file

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

View file

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