Skip to content

Commit

Permalink
remove unused resources
Browse files Browse the repository at this point in the history
  • Loading branch information
karkarl committed Jun 10, 2022
1 parent 55af91f commit 6b01046
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions WinUIGallery/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,22 @@
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="Black"/>
<StaticResource x:Key="ControlExampleDisplayBrush" ResourceKey="SolidBackgroundFillColorBaseBrush" />
<SolidColorBrush x:Key="SearchBoxBorderBrush" Color="Transparent" />
<Thickness x:Key="SearchBoxBorderThickness">0</Thickness>
<Thickness x:Key="ControlExampleDisplayBorderThickness">0</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="White"/>
<StaticResource x:Key="ControlExampleDisplayBrush" ResourceKey="SolidBackgroundFillColorBaseBrush" />
<SolidColorBrush x:Key="SearchBoxBorderBrush" Color="Transparent" />
<Thickness x:Key="SearchBoxBorderThickness">0</Thickness>
<Thickness x:Key="ControlExampleDisplayBorderThickness">0</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="{ThemeResource SystemColorWindowColor}" />
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="{ThemeResource SystemColorWindowTextColor}"/>
<SolidColorBrush x:Key="ControlExampleDisplayBrush" Color="{ThemeResource SystemColorWindowColor}" />
<SolidColorBrush x:Key="SearchBoxBorderBrush" Color="{ThemeResource SystemColorWindowTextColor}" />
<Thickness x:Key="SearchBoxBorderThickness">2</Thickness>
<Thickness x:Key="ControlExampleDisplayBorderThickness">1</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>

<CornerRadius x:Key="ControlCornerRadius">8</CornerRadius>

<LinearGradientBrush x:Key="HeroImageGradientBrush" StartPoint="0.5,0" EndPoint="0.5,1.5">
<GradientStop Offset="0" Color="Transparent"/>
<GradientStop Offset="0.5" Color="{ThemeResource LayerFillColorDefaultBrush}"/>
<GradientStop Offset="1" Color="{ThemeResource LayerFillColorDefaultBrush}"/>
</LinearGradientBrush>
<x:Double x:Key="TeachingTipMinWidth">50</x:Double>

<!-- Application-specific resources -->
<common:NullableBooleanToBooleanConverter x:Key="nullableBooleanToBooleanConverter" />
Expand All @@ -82,8 +64,6 @@
<CornerRadius x:Key="NavigationViewContentGridCornerRadius">8,0,0,0</CornerRadius>
<Thickness x:Key="NavigationViewHeaderMargin">56,34,0,0</Thickness>

<SolidColorBrush x:Key="GridViewHeaderItemDividerStroke" Color="Transparent"/>

<x:String x:Key="AppTitleName">WinUI 2 Gallery</x:String>
<x:String x:Key="WinUIVersion">SDK 2.8</x:String>

Expand Down Expand Up @@ -121,8 +101,6 @@
<Setter Property="Margin" Value="12,0,12,12" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
</Style>

<x:Double x:Key="TeachingTipMinWidth">50</x:Double>
</ResourceDictionary>
</Application.Resources>
</Application>

0 comments on commit 6b01046

Please sign in to comment.