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

Commit 047c192

Browse files
committed
Use GitHubAccentBrush for GitHubProgressBar Foreground
1 parent 51ff7bd commit 047c192

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/GitHub.UI/Assets/Controls.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
<!-- ProgressBar -->
2323
<Style x:Key="GitHubProgressBar" TargetType="{x:Type ui:GitHubProgressBar}">
24-
<Setter Property="Foreground" Value="#999999" />
25-
<Setter Property="Background" Value="#DDDDDD" />
24+
<Setter Property="Foreground" Value="{DynamicResource GitHubAccentBrush}" />
25+
<Setter Property="Background" Value="Transparent" />
2626
<Setter Property="Height" Value="4" />
2727
<Setter Property="IsHitTestVisible" Value="False" />
2828
<Setter Property="Focusable" Value="False" />

src/GitHub.VisualStudio.UI/Views/Dialog/ForkRepositorySelectView.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
</TextBlock>
2929

3030
<ui:GitHubProgressBar DockPanel.Dock="Top"
31-
Foreground="{DynamicResource GitHubAccentBrush}"
3231
IsIndeterminate="True"
3332
Style="{DynamicResource GitHubProgressBar}"
3433
Visibility="{Binding IsLoading, Converter={ui:BooleanToHiddenVisibilityConverter}}"/>

src/GitHub.VisualStudio.UI/Views/GitHubPane/GitHubPaneView.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
<Grid>
7171
<DockPanel Visibility="{Binding ContentOverride, Converter={ghfvs:EqualsToVisibilityConverter None}}">
7272
<ghfvs:GitHubProgressBar DockPanel.Dock="Top"
73-
Foreground="{DynamicResource GitHubAccentBrush}"
7473
IsIndeterminate="True"
7574
Style="{DynamicResource GitHubProgressBar}"
7675
Visibility="{Binding Content.Content.IsBusy, Converter={ghfvs:BooleanToHiddenVisibilityConverter}, FallbackValue=Hidden}"/>

0 commit comments

Comments
 (0)