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

Commit 4d09ce5

Browse files
authored
Merge pull request #442 from github/fixes/417-icon-dark-theme
Fix github icon on dark theme.
2 parents c13cd7a + 27d61da commit 4d09ce5

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed
Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
<ui:OcticonImage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2-
xmlns:cache="clr-namespace:GitHub.VisualStudio.Helpers"
3-
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
4-
Foreground="{DynamicResource GitHubVsToolWindowText}"
5-
Icon="mark_github">
6-
<ui:OcticonImage.Resources>
7-
<ResourceDictionary>
8-
<ResourceDictionary.MergedDictionaries>
9-
<cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio;component/SharedDictionary.xaml" />
10-
<cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
11-
</ResourceDictionary.MergedDictionaries>
12-
</ResourceDictionary>
13-
</ui:OcticonImage.Resources>
14-
</ui:OcticonImage>
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
Width="1024" Height="1024">
3+
<Border BorderBrush="Transparent" BorderThickness="1">
4+
<ui:OcticonImage xmlns:cache="clr-namespace:GitHub.VisualStudio.Helpers"
5+
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
6+
Foreground="{DynamicResource GitHubContextMenuIconBrush}"
7+
Icon="mark_github">
8+
<ui:OcticonImage.Resources>
9+
<ResourceDictionary>
10+
<ResourceDictionary.MergedDictionaries>
11+
<cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio;component/SharedDictionary.xaml" />
12+
<cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
13+
</ResourceDictionary.MergedDictionaries>
14+
</ResourceDictionary>
15+
</ui:OcticonImage.Resources>
16+
</ui:OcticonImage>
17+
</Border>
18+
</Viewbox>

0 commit comments

Comments
 (0)