|
1 | 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 | xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" |
4 | | - xmlns:vs="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.14.0" |
5 | | - xmlns:local="clr-namespace:GitHub.VisualStudio.Styles" |
6 | | - xmlns:vsui="clr-namespace:GitHub.VisualStudio.UI"> |
| 4 | + xmlns:vs="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.14.0" |
| 5 | + xmlns:shell="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.14.0"> |
7 | 6 |
|
8 | 7 | <Style x:Key="GitHubVsPromptTextBox" TargetType="{x:Type ui:PromptTextBox}"> |
9 | | - <Setter Property="Background" Value="{DynamicResource GitHubVsBrandedUIBackground}"/> |
10 | | - <Setter Property="Foreground" Value="{DynamicResource GitHubVsToolWindowText}"/> |
11 | | - <Setter Property="BorderBrush" Value="{DynamicResource GitHubVsBrandedUIBorder}"/> |
| 8 | + <Setter Property="Background" Value="{DynamicResource {x:Static vs:CommonControlsColors.TextBoxBackgroundBrushKey}}"/> |
| 9 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vs:CommonControlsColors.TextBoxTextBrushKey}}"/> |
| 10 | + <Setter Property="BorderBrush" Value="{DynamicResource {x:Static vs:CommonControlsColors.TextBoxBorderBrushKey}}"/> |
12 | 11 | <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/> |
13 | 12 | <Setter Property="HorizontalContentAlignment" Value="Left"/> |
14 | 13 | <Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
|
31 | 30 | <Grid> |
32 | 31 | <ScrollViewer x:Name="PART_ContentHost" Padding="{TemplateBinding Padding}" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" VerticalAlignment="Top" Margin="0"/> |
33 | 32 | <Label x:Name="PromptLabel" HorizontalAlignment="Left" |
34 | | - Foreground="{DynamicResource GitHubVsGrayText}" |
| 33 | + Foreground="{DynamicResource {x:Static shell:VsBrushes.GrayTextKey}}" |
35 | 34 | FontSize="{TemplateBinding FontSize}" Padding="{TemplateBinding Padding}" Opacity="0" |
36 | 35 | Target="{Binding ElementName=Bd}" |
37 | 36 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Focusable="False" IsHitTestVisible="False" |
|
0 commit comments