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

Commit c67c5b4

Browse files
committed
Make everything a diamond
1 parent a0e2fcd commit c67c5b4

File tree

3 files changed

+31
-12
lines changed

3 files changed

+31
-12
lines changed

src/GitHub.InlineReviews/Tags/ShowInlineAnnotationGlyph.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111
<Viewbox HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,1,0,0">
1212
<Canvas Width="16" Height="16">
1313
<Canvas.Resources>
14-
<Style TargetType="Path">
14+
<Style TargetType="Rectangle">
1515
<Setter Property="Fill" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
16+
<Setter Property="Stroke" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
1617
</Style>
1718
</Canvas.Resources>
1819
<Rectangle Width="8"
1920
Height="8"
2021
Canvas.Top="2.3"
2122
Canvas.Left="2.3"
22-
Fill="#23A1D0"
23+
Fill="#959da5"
2324
Stroke="White"
2425
StrokeThickness="1">
2526
<Rectangle.LayoutTransform>

src/GitHub.InlineReviews/Tags/ShowInlineCommentAnnotationGlyph.xaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,25 @@
99
<Grid>
1010
<Border Background="{DynamicResource GitHubGlyphMarginCommentableBackground}" BorderThickness="0,0,1,0" />
1111
<Viewbox HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,1,0,0">
12-
<Canvas Width="16" Height="15">
13-
<Path Canvas.Top="1" Canvas.Left="0.85"
14-
Data="M1,0 C0.45,0 0,0.45 0,1 L0,9 C0,9.55 0.45,10 1,10 L3,10 L3,13.5 L6.5,10 L13,10 C13.55,10 14,9.55 14,9 L14,1 C14,0.45 13.55,0 13,0 L1,0 Z" />
15-
<Path Canvas.Top="1" Canvas.Left="0.85" Opacity="0.163" Stroke="Red" Fill="Red"
16-
Data="M3.5,12.2928932 L6.29289322,9.5 L13,9.5 C13.2738576,9.5 13.5,9.27385763 13.5,9 L13.5,1 C13.5,0.726142375 13.2738576,0.5 13,0.5 L1,0.5 C0.726142375,0.5 0.5,0.726142375 0.5,1 L0.5,9 C0.5,9.27385763 0.726142375,9.5 1,9.5 L3.5,9.5 L3.5,12.2928932 Z" />
12+
<Canvas Width="16" Height="16">
1713
<Canvas.Resources>
1814
<Style TargetType="Path">
1915
<Setter Property="Fill" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
16+
<Setter Property="Stroke" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
2017
</Style>
2118
</Canvas.Resources>
19+
20+
<Rectangle Width="8"
21+
Height="8"
22+
Canvas.Top="2.3"
23+
Canvas.Left="2.3"
24+
Fill="#959da5"
25+
Stroke="White"
26+
StrokeThickness="1">
27+
<Rectangle.LayoutTransform>
28+
<RotateTransform Angle="-45" />
29+
</Rectangle.LayoutTransform>
30+
</Rectangle>
2231
</Canvas>
2332
</Viewbox>
2433
</Grid>

src/GitHub.InlineReviews/Tags/ShowInlineCommentGlyph.xaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,25 @@
99
<Grid>
1010
<Border Background="{DynamicResource GitHubGlyphMarginCommentableBackground}" BorderThickness="0,0,1,0" />
1111
<Viewbox HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,1,0,0">
12-
<Canvas Width="16" Height="15">
13-
<Path Canvas.Top="1" Canvas.Left="0.85"
14-
Data="M1,0 C0.45,0 0,0.45 0,1 L0,9 C0,9.55 0.45,10 1,10 L3,10 L3,13.5 L6.5,10 L13,10 C13.55,10 14,9.55 14,9 L14,1 C14,0.45 13.55,0 13,0 L1,0 Z" />
15-
<Path Canvas.Top="1" Canvas.Left="0.85" Opacity="0.163" Stroke="#313131"
16-
Data="M3.5,12.2928932 L6.29289322,9.5 L13,9.5 C13.2738576,9.5 13.5,9.27385763 13.5,9 L13.5,1 C13.5,0.726142375 13.2738576,0.5 13,0.5 L1,0.5 C0.726142375,0.5 0.5,0.726142375 0.5,1 L0.5,9 C0.5,9.27385763 0.726142375,9.5 1,9.5 L3.5,9.5 L3.5,12.2928932 Z" />
12+
<Canvas Width="16" Height="16">
1713
<Canvas.Resources>
1814
<Style TargetType="Path">
1915
<Setter Property="Fill" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
16+
<Setter Property="Stroke" Value="{DynamicResource GitHubDiffGlyphFill.None}" />
2017
</Style>
2118
</Canvas.Resources>
19+
20+
<Rectangle Width="8"
21+
Height="8"
22+
Canvas.Top="2.3"
23+
Canvas.Left="2.3"
24+
Fill="#959da5"
25+
Stroke="White"
26+
StrokeThickness="1">
27+
<Rectangle.LayoutTransform>
28+
<RotateTransform Angle="-45" />
29+
</Rectangle.LayoutTransform>
30+
</Rectangle>
2231
</Canvas>
2332
</Viewbox>
2433
</Grid>

0 commit comments

Comments
 (0)