fix: white backgroud in datepicker in mf

This commit is contained in:
arham committed 2026-08-23 22:05:31 -04:00
1 parent 4d4b2cf967
commit 38d87cddcf
1 file changed
+20 -3
+20 -3
View File
@@ -90,9 +90,26 @@
<Setter Property="CaretBrush" Value="{u:BTSBrush UI.TextBox.normal_caret}" />
</Style>
<Style x:Key="TextBox.Dark" TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}" />
<Style x:Key="ListBoxItem.Dark" TargetType="ListBoxItem">
<Style x:Key="TextBox.Dark" TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}" />
<Style TargetType="DatePicker">
<Setter Property="Background" Value="{u:BTSBrush UI.TextBox.normal_background}" />
<Setter Property="Foreground" Value="{u:BTSBrush UI.TextBox.normal_foreground}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style TargetType="DatePickerTextBox">
<Setter Property="Background" Value="{u:BTSBrush UI.TextBox.normal_background}" />
<Setter Property="Foreground" Value="{u:BTSBrush UI.TextBox.normal_foreground}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="CaretBrush" Value="{u:BTSBrush UI.TextBox.normal_caret}" />
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style x:Key="ListBoxItem.Dark" TargetType="ListBoxItem">
<Setter Property="Background" Value="{StaticResource ListBoxItem.Background}" />
<Setter Property="Foreground" Value="{StaticResource ListBoxItem.Foreground}" />
<Setter Property="BorderThickness" Value="0" />