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

Commit a29b006

Browse files
committed
Use themed color for CodeStyleKey/CodeBlockStyleKey
1 parent 493ed04 commit a29b006

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.UI/Assets/Markdown.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@
4343
</Style>
4444
<Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.CodeBlockStyleKey}">
4545
<Setter Property="Foreground" Value="{DynamicResource VsBrush.Text}" />
46+
<Setter Property="Background" Value="{DynamicResource GitHubBranchNameBackgroundBrush}" />
4647
<Setter Property="Padding" Value="2" />
4748
<Setter Property="FontFamily" Value="Consolas, Lucida Sans Typewriter, Courier New" />
4849
</Style>
4950
<Style TargetType="{x:Type Run}" x:Key="{x:Static markdig:Styles.CodeStyleKey}">
5051
<Setter Property="Foreground" Value="{DynamicResource VsBrush.Text}" />
52+
<Setter Property="Background" Value="{DynamicResource GitHubBranchNameBackgroundBrush}" />
5153
<Setter Property="FontFamily" Value="Consolas, Lucida Sans Typewriter, Courier New" />
5254
</Style>
5355
</ResourceDictionary>

0 commit comments

Comments
 (0)