mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
refactor: change the way loading custom fonts
This commit is contained in:
parent
636096c713
commit
f834af10a2
31 changed files with 136 additions and 183 deletions
|
@ -17,7 +17,7 @@
|
|||
BorderThickness="0"
|
||||
Foreground="{DynamicResource Brush.FG1}"
|
||||
SecondaryFG="{DynamicResource Brush.FG2}"
|
||||
FontFamily="{StaticResource JetBrainsMono}"
|
||||
FontFamily="fonts:SourceGit#JetBrains Mono"
|
||||
FontSize="12"
|
||||
DiffData="{Binding}"
|
||||
SyncScrollOffset="{Binding $parent[v:DiffView].DataContext.(vm:DiffContext).SyncScrollOffset, Mode=TwoWay}"/>
|
||||
|
@ -34,7 +34,7 @@
|
|||
BorderThickness="0"
|
||||
Foreground="{DynamicResource Brush.FG1}"
|
||||
SecondaryFG="{DynamicResource Brush.FG2}"
|
||||
FontFamily="{StaticResource JetBrainsMono}"
|
||||
FontFamily="fonts:SourceGit#JetBrains Mono"
|
||||
FontSize="12"
|
||||
DiffData="{Binding}"/>
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
BorderThickness="0"
|
||||
Foreground="{DynamicResource Brush.FG1}"
|
||||
SecondaryFG="{DynamicResource Brush.FG2}"
|
||||
FontFamily="{StaticResource JetBrainsMono}"
|
||||
FontFamily="fonts:SourceGit#JetBrains Mono"
|
||||
FontSize="12"
|
||||
DiffData="{Binding}"/>
|
||||
</Grid>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue