diff --git a/src/Wpf.Ui/Controls/NumberBox/NumberBox.xaml b/src/Wpf.Ui/Controls/NumberBox/NumberBox.xaml index 160b0daa8..bbda72352 100644 --- a/src/Wpf.Ui/Controls/NumberBox/NumberBox.xaml +++ b/src/Wpf.Ui/Controls/NumberBox/NumberBox.xaml @@ -1,4 +1,4 @@ - - - - - - - - - - - - - - - - - + + + + @@ -104,11 +92,8 @@ Margin="0" Padding="1,0" VerticalAlignment="Top" - Text="{TemplateBinding PlaceholderText}"> - - - - + Foreground="{DynamicResource TextControlPlaceholderForeground}" + Text="{TemplateBinding PlaceholderText}" /> - - - + Cursor="Arrow" + Foreground="{DynamicResource TextControlButtonForeground}"> @@ -152,10 +135,8 @@ Command="{Binding Path=TemplateButtonCommand, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="increment" Cursor="Arrow" + Foreground="{DynamicResource TextControlButtonForeground}" Visibility="Collapsed"> - - - @@ -178,10 +159,8 @@ CommandParameter="decrement" Cursor="Arrow" FontSize="{StaticResource NumberBoxButtonIconSize}" + Foreground="{DynamicResource TextControlButtonForeground}" Visibility="Collapsed"> - - - @@ -245,16 +224,8 @@ - - - - - - - - - - + + @@ -262,11 +233,7 @@ - - - - - + @@ -276,13 +243,13 @@ - - - - - - - + + + + + + + diff --git a/src/Wpf.Ui/Controls/PasswordBox/PasswordBox.xaml b/src/Wpf.Ui/Controls/PasswordBox/PasswordBox.xaml index d9147be4f..71df96b8b 100644 --- a/src/Wpf.Ui/Controls/PasswordBox/PasswordBox.xaml +++ b/src/Wpf.Ui/Controls/PasswordBox/PasswordBox.xaml @@ -1,4 +1,4 @@ - - - - - - - - - - - - - - - - - + + + + @@ -103,16 +91,8 @@ - - - - - - - - - - + + @@ -120,20 +100,16 @@ - - - - - + - - - - + + + + @@ -148,22 +124,10 @@ - - - - - - - - - - - - - - - - + + + + @@ -223,11 +187,8 @@ Margin="0" Padding="1,0" VerticalAlignment="Top" - Text="{TemplateBinding PlaceholderText}"> - - - - + Foreground="{DynamicResource TextControlPlaceholderForeground}" + Text="{TemplateBinding PlaceholderText}" /> @@ -247,10 +208,8 @@ BorderBrush="Transparent" Command="{Binding Path=TemplateButtonCommand, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="clear" - Cursor="Arrow"> - - - + Cursor="Arrow" + Foreground="{DynamicResource TextControlButtonForeground}"> @@ -272,10 +231,8 @@ BorderBrush="Transparent" Command="{Binding Path=TemplateButtonCommand, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="reveal" - Cursor="Arrow"> - - - + Cursor="Arrow" + Foreground="{DynamicResource TextControlButtonForeground}"> @@ -343,16 +300,8 @@ - - - - - - - - - - + + @@ -360,23 +309,19 @@ - - - - - + - - - - - - - + + + + + + + diff --git a/src/Wpf.Ui/Resources/Theme/Dark.xaml b/src/Wpf.Ui/Resources/Theme/Dark.xaml index 5fb3dab63..3fe88c95b 100644 --- a/src/Wpf.Ui/Resources/Theme/Dark.xaml +++ b/src/Wpf.Ui/Resources/Theme/Dark.xaml @@ -507,7 +507,7 @@ - + @@ -522,5 +522,5 @@ - + diff --git a/src/Wpf.Ui/Resources/Theme/Light.xaml b/src/Wpf.Ui/Resources/Theme/Light.xaml index c292ed024..86f0463a0 100644 --- a/src/Wpf.Ui/Resources/Theme/Light.xaml +++ b/src/Wpf.Ui/Resources/Theme/Light.xaml @@ -510,7 +510,7 @@ - +