Skip to content

Feature: Added a new theme for fake mica #10716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/Files.App/Assets/Themes/MicaBlurDark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Files.App/Assets/Themes/MicaBlurLight.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/Files.App/Files.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@
</Content>
<Content Remove="Assets\FilesHome.png" />
</ItemGroup>
<ItemGroup>
<None Remove="Themes\Fake Mica" />
<None Remove="Themes\Fake Mica.xaml" />
</ItemGroup>
<ItemGroup>
<Page Remove="Themes\Fake Mica.xaml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ByteSize" Version="2.1.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
Expand Down
20 changes: 20 additions & 0 deletions src/Files.App/Themes/Fake Mica.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:BelowWindows10version1809="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract, 7)"
xmlns:Windows10version1809="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 7)">
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
<ImageBrush
x:Key="RootBackgroundBrush"
ImageSource="\Assets\Themes\MicaBlurDark.jpg"
Stretch="UniformToFill" />
</ResourceDictionary>
<ResourceDictionary x:Key="Light">
<ImageBrush
x:Key="RootBackgroundBrush"
ImageSource="\Assets\Themes\MicaBlurLight.jpg"
Stretch="UniformToFill" />
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>