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

Commit 284b3b5

Browse files
committed
Dynamic colors
1 parent a55182e commit 284b3b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<RowDefinition Height="Auto" />
2525
</Grid.RowDefinitions>
2626

27-
<StackPanel Background="#f8d45c" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" />
27+
<StackPanel Background="#23a1d0" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Notice}}" />
28+
<StackPanel Background="#f8d45c" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Warning}}"/>
29+
<StackPanel Background="#cc180e" Grid.Row="0" Grid.Column="0" Grid.RowSpan="5" Visibility="{Binding Model.AnnotationLevel, Converter={ghfvs:EqualsToVisibilityConverter Failure}}"/>
2830

2931
<Border Grid.Column="1" Padding="8">
3032
<Grid>

0 commit comments

Comments
 (0)