Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 51ff7bd

Browse files
committed
Set the back/forground colors for GitHub pane views
This lets us see what it will look like in the designer.
1 parent f3a25a6 commit 51ff7bd

15 files changed

+27
-0
lines changed

src/GitHub.VisualStudio.UI/Views/GitHubPane/GitHubPaneView.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
xmlns:views="clr-namespace:GitHub.VisualStudio.Views"
88
xmlns:local="clr-namespace:GitHub.VisualStudio.Views.GitHubPane"
99
xmlns:uic="clr-namespace:GitHub.VisualStudio.UI.Controls"
10+
Background="{DynamicResource GitHubVsToolWindowBackground}"
1011
Foreground="{DynamicResource GitHubVsWindowText}"
1112
d:DesignHeight="300"
1213
d:DesignWidth="300"

src/GitHub.VisualStudio.UI/Views/GitHubPane/LoggedOutView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
d:DesignHeight="300"
1010
d:DesignWidth="300"
1111
mc:Ignorable="d"
12+
Background="{DynamicResource GitHubVsToolWindowBackground}"
13+
Foreground="{DynamicResource GitHubVsWindowText}"
1214
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.LoggedOutViewCustom}">
1315

1416
<Control.Resources>

src/GitHub.VisualStudio.UI/Views/GitHubPane/LoginFailedView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:ghfvs="https://github.com/github/VisualStudio"
7+
Background="{DynamicResource GitHubVsToolWindowBackground}"
8+
Foreground="{DynamicResource GitHubVsWindowText}"
79
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
810

911
<Control.Resources>

src/GitHub.VisualStudio.UI/Views/GitHubPane/NoRemoteOriginView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
DataContext="{Binding ViewModel}"
99
d:DesignHeight="300"
1010
d:DesignWidth="300"
11+
Background="{DynamicResource GitHubVsToolWindowBackground}"
12+
Foreground="{DynamicResource GitHubVsWindowText}"
1113
mc:Ignorable="d">
1214

1315
<Control.Resources>

src/GitHub.VisualStudio.UI/Views/GitHubPane/NotAGitHubRepositoryView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
DataContext="{Binding ViewModel}"
99
d:DesignHeight="300"
1010
d:DesignWidth="300"
11+
Background="{DynamicResource GitHubVsToolWindowBackground}"
12+
Foreground="{DynamicResource GitHubVsWindowText}"
1113
mc:Ignorable="d">
1214

1315
<Control.Resources>

src/GitHub.VisualStudio.UI/Views/GitHubPane/NotAGitRepositoryView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
DataContext="{Binding ViewModel}"
99
d:DesignHeight="300"
1010
d:DesignWidth="300"
11+
Background="{DynamicResource GitHubVsToolWindowBackground}"
12+
Foreground="{DynamicResource GitHubVsWindowText}"
1113
mc:Ignorable="d">
1214

1315
<Control.Resources>

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestAnnotationsView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging"
1010
xmlns:catalog="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.ImageCatalog"
1111
xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"
12+
Background="{DynamicResource GitHubVsToolWindowBackground}"
13+
Foreground="{DynamicResource GitHubVsWindowText}"
1214
mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="300">
1315

1416
<d:DesignData.DataContext>

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestCheckView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
xmlns:ghfvs="https://github.com/github/VisualStudio"
88
xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI"
99
d:DesignWidth="600"
10+
Background="{DynamicResource GitHubVsToolWindowBackground}"
11+
Foreground="{DynamicResource GitHubVsWindowText}"
1012
mc:Ignorable="d">
1113

1214
<d:DesignData.DataContext>

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestCreationView.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
d:DesignHeight="450"
1010
d:DesignWidth="300"
1111
Background="{DynamicResource GitHubVsToolWindowBackground}"
12+
Foreground="{DynamicResource GitHubVsWindowText}"
1213
DataContext="{Binding ViewModel}"
1314
IsEnabled="{Binding IsBusy, Converter={ghfvs:InverseBooleanConverter}}"
1415
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationViewCustom}"

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestFileCommentsView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:ghfvs="https://github.com/github/VisualStudio"
77
xmlns:local="clr-namespace:GitHub.VisualStudio.Views.GitHubPane"
8+
Background="{DynamicResource GitHubVsToolWindowBackground}"
9+
Foreground="{DynamicResource GitHubVsWindowText}"
810
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
911

1012
<d:DesignData.DataContext>

0 commit comments

Comments
 (0)