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

Commit 7535c64

Browse files
committed
Make things better for dark theme
1 parent 815ee14 commit 7535c64

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/GitHub.VisualStudio.UI/Views/Documents/PullRequestPageView.xaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
</Grid.RowDefinitions>
4141

4242
<TextBlock Margin="0 8"
43+
Foreground="{DynamicResource VsBrush.WindowText}"
4344
Style="{DynamicResource {x:Static vsui:VsResourceKeys.TextBlockEnvironment200PercentFontSizeStyleKey}}">
4445
<Run Text="{Binding Title, Mode=OneWay}"/>
4546
<Hyperlink Command="{Binding OpenOnGitHub}">
@@ -48,7 +49,7 @@
4849
</TextBlock>
4950

5051
<StackPanel Grid.Row="1" Orientation="Horizontal">
51-
<TextBlock >
52+
<TextBlock Foreground="{DynamicResource VsBrush.WindowText}">
5253
<InlineUIContainer BaselineAlignment="Bottom">
5354
<v:IssueishStateBadge DataContext="{Binding State}" Margin="0,0,0,-2"/>
5455
</InlineUIContainer>
@@ -107,7 +108,7 @@
107108
</StackPanel>
108109
</Border>
109110

110-
<markdig:MarkdownViewer Name="bodyMarkdown" Margin="8" Markdown="{Binding Body}"/>
111+
<markdig:MarkdownViewer Name="bodyMarkdown" Margin="8" Foreground="{DynamicResource VsBrush.WindowText}" Markdown="{Binding Body}"/>
111112
</StackPanel>
112113
</Border>
113114

@@ -122,6 +123,7 @@
122123
<ghfvs:OcticonImage DockPanel.Dock="Left"
123124
Margin="2 0 4 0"
124125
Width="16"
126+
Foreground="{DynamicResource VsBrush.WindowText}"
125127
Icon="repo_push"
126128
Grid.Column="0"
127129
HorizontalAlignment="Center" />
@@ -176,6 +178,7 @@
176178
</Hyperlink>
177179
</TextBlock>
178180
<TextBlock Margin="0,0,0,2"
181+
Foreground="{DynamicResource VsBrush.WindowText}"
179182
Text="{Binding Header}"
180183
VerticalAlignment="Center"/>
181184
</DockPanel>

0 commit comments

Comments
 (0)