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

Commit a55182e

Browse files
committed
Make text work in Dark Theme
1 parent 9921f72 commit a55182e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GitHub.VisualStudio.UI/Views/InlineAnnotationView.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@
4646
<imaging:CrispImage Width="16" Height="16" Moniker="{x:Static catalog:KnownMonikers.StatusError}" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Failure}}"/>
4747
</StackPanel>
4848

49-
<TextBlock Grid.Column="1" Grid.Row="0" Margin="4 0 0 0">
49+
<TextBlock Grid.Column="1" Grid.Row="0" Margin="4 0 0 0" Foreground="{DynamicResource VsBrush.ToolWindowText}">
5050
<Run FontWeight="SemiBold" Text="{Binding Model.Path, Mode=OneWay}"/>
5151
</TextBlock>
5252

53-
<TextBlock Grid.Column="1" Grid.Row="1" FontSize="14" Margin="4 8 0 8">
53+
<TextBlock Grid.Column="1" Grid.Row="1" FontSize="14" Margin="4 8 0 8" Foreground="{DynamicResource VsBrush.ToolWindowText}">
5454
<Run FontWeight="SemiBold" Text="{Binding Model.CheckSuiteName, Mode=OneWay}"/>
5555
<Run Text="/"/>
5656
<Run Text="{Binding Model.CheckRunName, Mode=OneWay}"/>
5757
</TextBlock>
5858

59-
<TextBlock Grid.Column="1" Grid.Row="2" FontWeight="SemiBold" Margin="4 0 0 8">
59+
<TextBlock Grid.Column="1" Grid.Row="2" FontWeight="SemiBold" Margin="4 0 0 8" Foreground="{DynamicResource VsBrush.ToolWindowText}">
6060
<Run Text="{Binding Model.Title, Mode=OneWay}"/>
6161
</TextBlock>
6262

63-
<TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Grid.Column="1" Grid.Row="3" Margin="4 0 0 0" FontFamily="Consolas" FontSize="12" Text="{Binding Model.Message}"/>
63+
<TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Grid.Column="1" Grid.Row="3" Margin="4 0 0 0" FontFamily="Consolas" FontSize="12" Text="{Binding Model.Message}" Foreground="{DynamicResource VsBrush.ToolWindowText}" />
6464
</Grid>
6565
</Border>
6666
</Grid>

0 commit comments

Comments
 (0)