mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-10 05:15:00 +00:00
style<*>: text render styles
This commit is contained in:
parent
316344939a
commit
76a4e37736
31 changed files with 139 additions and 144 deletions
|
@ -46,9 +46,12 @@
|
|||
ContentSource="Header"
|
||||
Margin="8,4">
|
||||
<ContentPresenter.Resources>
|
||||
<Style TargetType="{x:Type TextBlock}">
|
||||
<Style TargetType="{x:Type TextBlock}" BasedOn="{x:Null}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
|
||||
<Setter Property="FontWeight" Value="DemiBold"/>
|
||||
<Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
|
||||
<Setter Property="FontSize" Value="9pt"/>
|
||||
<Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabItem}}, Path=IsSelected}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Accent1}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue