Skip to content

Commit

Permalink
Begin work on item Search, tweaks to Fluent Design
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeblevins committed Jun 4, 2019
1 parent 3c29c4f commit b73afdb
Show file tree
Hide file tree
Showing 12 changed files with 314 additions and 53 deletions.
8 changes: 5 additions & 3 deletions Files UWP/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
<SolidColorBrush x:Key="NavigationViewTopPaneBackground" Color="White"/>
<AcrylicBrush x:Key="NavigationViewExpandedPaneBackground" BackgroundSource="HostBackdrop" TintOpacity="0.6" TintColor="White" FallbackColor="#eaeaea"/>
<SolidColorBrush x:Key="UnmodifiedSystemPageColor" Color="White"/>
<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="#f4f4f4"/>

<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="#f3f1ef"/>
<SolidColorBrush x:Key="YourHomeCardBorderColor" Color="#f3f1ef"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Light">
<AcrylicBrush x:Key="NavigationViewDefaultPaneBackground" FallbackColor="#eaeaea" BackgroundSource="Backdrop" TintColor="LightSlateGray" TintOpacity="0.6"/>
<SolidColorBrush x:Key="NavigationViewTopPaneBackground" Color="White"/>
<AcrylicBrush x:Key="NavigationViewExpandedPaneBackground" BackgroundSource="HostBackdrop" TintOpacity="0.6" TintColor="White" FallbackColor="#eaeaea"/>
<SolidColorBrush x:Key="UnmodifiedSystemPageColor" Color="White"/>
<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="#f4f4f4"/>
<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="#f3f1ef"/>
<SolidColorBrush x:Key="YourHomeCardBorderColor" Color="#f3f1ef"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<AcrylicBrush x:Key="NavigationViewDefaultPaneBackground" BackgroundSource="Backdrop" TintColor="Black" TintOpacity="0.6"/>
Expand All @@ -30,6 +31,7 @@
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="#191919"/>
<SolidColorBrush x:Key="UnmodifiedSystemPageColor" Color="Black"/>
<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="Black"/>
<SolidColorBrush x:Key="YourHomeCardBorderColor" Color="White"/>
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<!-- This empty dictionary ensures that the default high contrast resources are used when the user turns on high contrast mode. -->
Expand Down
7 changes: 7 additions & 0 deletions Files UWP/FilesUWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
<DependentUpon>Properties.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Search.xaml.cs">
<DependentUpon>Search.xaml</DependentUpon>
</Compile>
<Compile Include="Settings.xaml.cs">
<DependentUpon>Settings.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -198,6 +201,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Search.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Settings.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down
3 changes: 1 addition & 2 deletions Files UWP/GenericFileBrowser.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
mc:Ignorable="d" PointerReleased="GenericItemView_PointerReleased" Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<Page.Resources>
<Style x:Key="MenuFlyoutFluentThemeResources" TargetType="MenuFlyoutPresenter">
<Setter Property="CornerRadius" Value="5" />
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="CornerRadius" Value="4" />
</Style>

<Style x:Key="TextBoxStyleForPathBar" TargetType="TextBox">
Expand Down
2 changes: 1 addition & 1 deletion Files UWP/InstanceTabsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</Setter>
</Style>
<ControlTemplate x:Key="TabViewTemplate1" TargetType="Custom:TabView">
<Grid Background="{ThemeResource SystemControlChromeHighAcrylicWindowMediumBrush}" x:Name="TabViewContainer">
<Grid Background="{ThemeResource SystemControlAcrylicWindowMediumHighBrush}" x:Name="TabViewContainer">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Custom:TabView.ConstrainColumn="True" Custom:TabView.IgnoreColumn="True" Width="Auto"/>
Expand Down
3 changes: 1 addition & 2 deletions Files UWP/PhotoAlbum.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

<Page.Resources>
<Style x:Key="MenuFlyoutFluentThemeResources" TargetType="MenuFlyoutPresenter">
<Setter Property="CornerRadius" Value="5" />
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="CornerRadius" Value="4" />
</Style>

<Style x:Key="TextBoxStyleForPathBar" TargetType="TextBox">
Expand Down
Loading

0 comments on commit b73afdb

Please sign in to comment.