Skip to content

Commit

Permalink
Fix SimpleTimePicker accept and dismiss buttons' foreground in dark t…
Browse files Browse the repository at this point in the history
…heme (#21)
  • Loading branch information
Kinnara committed Mar 30, 2020
1 parent 7e075a3 commit 1270e86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ModernWpf/Styles/TimePicker.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<Style x:Key="DateTimePickerFlyoutButtonStyle" TargetType="ButtonBase">
<Setter Property="Background" Value="{DynamicResource DateTimePickerFlyoutButtonBackground}" />
<Setter Property="Foreground" Value="{DynamicResource SystemControlForegroundBaseHighBrush}" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="FocusVisualStyle" Value="{DynamicResource {x:Static SystemParameters.FocusVisualStyleKey}}" />
Expand Down

0 comments on commit 1270e86

Please sign in to comment.