|
10 | 10 | SizeToContent="Height" |
11 | 11 | ResizeMode="NoResize" |
12 | 12 | WindowStartupLocation="CenterOwner" |
13 | | - ShowInTaskbar="False"> |
| 13 | + ShowInTaskbar="False" |
| 14 | + Background="{DynamicResource {x:Static vsshell:VsBrushes.WindowKey}}" |
| 15 | + Foreground="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}"> |
14 | 16 |
|
15 | 17 | <platformUi:DialogWindow.Resources> |
16 | 18 | <vm:NullOrEmptyToVisibilityConverter x:Key="NullOrEmptyToVisibilityConverter" /> |
17 | 19 | <BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" /> |
18 | 20 |
|
19 | 21 | <Style x:Key="ErrorTextStyle" TargetType="TextBlock"> |
20 | | - <Setter Property="Foreground" Value="#D32F2F" /> |
| 22 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.ControlEditRequiredBackgroundKey}}" /> |
21 | 23 | <Setter Property="FontSize" Value="11" /> |
22 | 24 | <Setter Property="Margin" Value="0,2,0,0" /> |
23 | 25 | <Setter Property="TextWrapping" Value="Wrap" /> |
|
26 | 28 | <Style x:Key="LabelStyle" TargetType="TextBlock"> |
27 | 29 | <Setter Property="Margin" Value="0,0,0,4" /> |
28 | 30 | <Setter Property="FontWeight" Value="SemiBold" /> |
| 31 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
29 | 32 | </Style> |
30 | 33 |
|
31 | 34 | <Style x:Key="FieldContainerStyle" TargetType="StackPanel"> |
|
35 | 38 | <Style x:Key="GroupBoxStyle" TargetType="GroupBox"> |
36 | 39 | <Setter Property="Margin" Value="0,0,0,12" /> |
37 | 40 | <Setter Property="Padding" Value="8" /> |
| 41 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
| 42 | + <Setter Property="BorderBrush" Value="{DynamicResource {x:Static vsshell:VsBrushes.AccentBorderKey}}" /> |
| 43 | + </Style> |
| 44 | + |
| 45 | + <Style TargetType="TextBox"> |
| 46 | + <Setter Property="Background" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowKey}}" /> |
| 47 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
| 48 | + <Setter Property="BorderBrush" Value="{DynamicResource {x:Static vsshell:VsBrushes.AccentBorderKey}}" /> |
| 49 | + <Setter Property="Padding" Value="4" /> |
| 50 | + </Style> |
| 51 | + |
| 52 | + <Style TargetType="PasswordBox"> |
| 53 | + <Setter Property="Background" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowKey}}" /> |
| 54 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
| 55 | + <Setter Property="BorderBrush" Value="{DynamicResource {x:Static vsshell:VsBrushes.AccentBorderKey}}" /> |
| 56 | + <Setter Property="Padding" Value="4" /> |
| 57 | + </Style> |
| 58 | + |
| 59 | + <Style TargetType="RadioButton"> |
| 60 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
| 61 | + </Style> |
| 62 | + |
| 63 | + <Style TargetType="CheckBox"> |
| 64 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
| 65 | + </Style> |
| 66 | + |
| 67 | + <Style TargetType="Button"> |
| 68 | + <Setter Property="Background" Value="{DynamicResource {x:Static vsshell:VsBrushes.ButtonFaceKey}}" /> |
| 69 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.ButtonTextKey}}" /> |
| 70 | + <Setter Property="BorderBrush" Value="{DynamicResource {x:Static vsshell:VsBrushes.AccentBorderKey}}" /> |
| 71 | + <Setter Property="Padding" Value="8,4" /> |
| 72 | + </Style> |
| 73 | + |
| 74 | + <Style TargetType="TextBlock"> |
| 75 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsshell:VsBrushes.WindowTextKey}}" /> |
38 | 76 | </Style> |
39 | 77 | </platformUi:DialogWindow.Resources> |
40 | 78 |
|
|
0 commit comments