ux: foreground color for dark theme (#156)

This commit is contained in:
leo 2024-05-31 14:18:08 +08:00
parent 7f29d313c7
commit 7c8b04e84e
2 changed files with 8 additions and 2 deletions

View file

@ -97,7 +97,12 @@
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
<Style Selector="SelectableTextBlock">
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
</Style>
<Style Selector="SelectableTextBlock[IsEnabled=True]">
<Setter Property="ContextFlyout">
<Setter.Value>
@ -123,6 +128,7 @@
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Border1}"/>
<Setter Property="Background" Value="{DynamicResource Brush.Contents}"/>
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
<Setter Property="ContextFlyout">
<Setter.Value>
<MenuFlyout>