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

Commit b544ae3

Browse files
authored
Merge pull request #1096 from github/fixes/glyph-colors
Fix glyph colors
2 parents 802c54d + cea9b3f commit b544ae3

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

src/GitHub.InlineReviews/Tags/AddInlineCommentGlyph.xaml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,12 @@
66
mc:Ignorable="d">
77
<UserControl.Resources>
88
<SolidColorBrush x:Key="DiffChangeBackground" Color="DarkSlateGray" />
9-
<SolidColorBrush x:Key="AddDiffChangeBackground" Color="Green" />
10-
<SolidColorBrush x:Key="RemovedDiffChangeBackground" Color="Red" />
119
</UserControl.Resources>
1210

1311
<Grid Background="{DynamicResource DiffChangeBackground}">
1412
<Viewbox x:Name="AddViewbox">
15-
<Path
16-
Data="M13 2H1c-0.55 0-1 0.45-1 1v8c0 0.55 0.45 1 1 1h2v3.5l3.5-3.5h6.5c0.55 0 1-0.45 1-1V3c0-0.55-0.45-1-1-1z m0 9H6L4 13V11H1V3h12v8z M7,5 L7,9 M5,7 L9,7">
17-
<Path.Style>
18-
<Style TargetType="Path">
19-
<Style.Triggers>
20-
<DataTrigger Binding="{Binding DiffChangeType}" Value="Add">
21-
<Setter Property="Stroke" Value="{DynamicResource AddDiffChangeBackground}" />
22-
</DataTrigger>
23-
24-
<DataTrigger Binding="{Binding DiffChangeType}" Value="None">
25-
<Setter Property="Stroke" Value="{DynamicResource DiffChangeBackground}" />
26-
</DataTrigger>
27-
28-
<DataTrigger Binding="{Binding DiffChangeType}" Value="Delete">
29-
<Setter Property="Stroke" Value="{DynamicResource RemovedDiffChangeBackground}" />
30-
</DataTrigger>
31-
</Style.Triggers>
32-
</Style>
33-
</Path.Style>
34-
</Path>
13+
<Path Stroke="Black"
14+
Data="M13 2H1c-0.55 0-1 0.45-1 1v8c0 0.55 0.45 1 1 1h2v3.5l3.5-3.5h6.5c0.55 0 1-0.45 1-1V3c0-0.55-0.45-1-1-1z m0 9H6L4 13V11H1V3h12v8z M7,5 L7,9 M5,7 L9,7"/>
3515
</Viewbox>
3616
</Grid>
3717
</UserControl>

0 commit comments

Comments
 (0)