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

Commit 9097dba

Browse files
committed
Update annotation colors
1 parent 120a2b7 commit 9097dba

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/GitHub.InlineReviews/Tags/ShowInlineAnnotationGlyph.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
</Rectangle.LayoutTransform>
3232
<Rectangle.Style>
3333
<Style TargetType="Rectangle">
34-
<Setter Property="Fill" Value="#2b91af"/>
34+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerInfoFill}"/>
3535
<Style.Triggers>
3636
<DataTrigger Binding="{Binding SummaryAnnotationLevel}"
3737
Value="Failure">
38-
<Setter Property="Fill" Value="Red"/>
38+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerFailureFill}"/>
3939
</DataTrigger>
4040
<DataTrigger Binding="{Binding SummaryAnnotationLevel}"
4141
Value="Warning">
42-
<Setter Property="Fill" Value="Yellow"/>
42+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerWarningFill}"/>
4343
</DataTrigger>
4444
</Style.Triggers>
4545
</Style>

src/GitHub.InlineReviews/Tags/ShowInlineCommentAnnotationGlyph.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
</Rectangle.LayoutTransform>
4040
<Rectangle.Style>
4141
<Style TargetType="Rectangle">
42-
<Setter Property="Fill" Value="#2b91af"/>
42+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerInfoFill}"/>
4343
<Style.Triggers>
4444
<DataTrigger Binding="{Binding SummaryAnnotationLevel}"
4545
Value="{x:Static models:CheckAnnotationLevel.Failure}">
46-
<Setter Property="Fill" Value="Red"/>
46+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerFailureFill}"/>
4747
</DataTrigger>
4848
<DataTrigger Binding="{Binding SummaryAnnotationLevel}"
4949
Value="{x:Static models:CheckAnnotationLevel.Warning}">
50-
<Setter Property="Fill" Value="Yellow"/>
50+
<Setter Property="Fill" Value="{DynamicResource GitHubAnnotationMarkerWarningFill}"/>
5151
</DataTrigger>
5252
</Style.Triggers>
5353
</Style>

src/GitHub.VisualStudio.UI/Styles/VsBrush.xaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
<SolidColorBrush x:Key="GitHubGlyphMarginCommentableBackground" Color="{DynamicResource VsColor.SearchBoxBackground}" />
1919

20+
<SolidColorBrush x:Key="GitHubAnnotationMarkerInfoFill" Color="#23a1d0" />
21+
<SolidColorBrush x:Key="GitHubAnnotationMarkerWarningFill" Color="#ffc806" />
22+
<SolidColorBrush x:Key="GitHubAnnotationMarkerFailureFill" Color="#d53243" />
23+
2024
<!-- Team Foundation Colors -->
2125
<SolidColorBrush x:Key="TFRequiredTextBoxBorderBrushKey" Color="{Binding Source={x:Static vsui:TeamFoundationColors.Instance}, Path=RequiredTextBoxBorderColor, Mode=OneWay}" />
2226
<SolidColorBrush x:Key="TFTextBoxBorderBrushKey" Color="{Binding Source={x:Static vsui:TeamFoundationColors.Instance}, Path=TextBoxBorderColor, Mode=OneWay}" />

0 commit comments

Comments
 (0)