Skip to content

Commit

Permalink
修复卡片字色发灰的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy committed Jan 3, 2024
1 parent 7534f83 commit 1d04ea9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/App/Controls/Base/CardPanel/CardPanel.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Setter Property="StrokeThickness" Value="1" />
<Setter Property="BorderBrush" Value="{ThemeResource CardStrokeColorDefaultBrush}" />
<Setter Property="Padding" Value="0" />
<Setter Property="Foreground" Value="{ThemeResource TextFillColorSecondaryBrush}" />
<Setter Property="Foreground" Value="{ThemeResource TextFillColorPrimaryBrush}" />
<Setter Property="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
<Setter Property="PointerOverBackground" Value="{ThemeResource ControlFillColorSecondaryBrush}" />
<Setter Property="PointerOverBorderBrush" Value="{ThemeResource DividerStrokeColorDefaultBrush}" />
Expand Down Expand Up @@ -53,7 +53,8 @@
VerticalContentAlignment="Stretch"
Canvas.ZIndex="1"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}" />
ContentTemplate="{TemplateBinding ContentTemplate}"
Foreground="{TemplateBinding Foreground}" />
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
Expand Down

0 comments on commit 1d04ea9

Please sign in to comment.