Skip to content

Commit fffbf46

Browse files
authored
Feature: Added a new theme for fake mica (#10716)
1 parent bad8b63 commit fffbf46

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed
293 KB
Loading
269 KB
Loading

src/Files.App/Files.App.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@
6969
</Content>
7070
<Content Remove="Assets\FilesHome.png" />
7171
</ItemGroup>
72+
<ItemGroup>
73+
<None Remove="Themes\Fake Mica" />
74+
<None Remove="Themes\Fake Mica.xaml" />
75+
</ItemGroup>
76+
<ItemGroup>
77+
<Page Remove="Themes\Fake Mica.xaml" />
78+
</ItemGroup>
7279
<ItemGroup>
7380
<PackageReference Include="ByteSize" Version="2.1.1" />
7481
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />

src/Files.App/Themes/Fake Mica.xaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<ResourceDictionary
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:BelowWindows10version1809="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract, 7)"
5+
xmlns:Windows10version1809="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 7)">
6+
<ResourceDictionary.ThemeDictionaries>
7+
<ResourceDictionary x:Key="Default">
8+
<ImageBrush
9+
x:Key="RootBackgroundBrush"
10+
ImageSource="\Assets\Themes\MicaBlurDark.jpg"
11+
Stretch="UniformToFill" />
12+
</ResourceDictionary>
13+
<ResourceDictionary x:Key="Light">
14+
<ImageBrush
15+
x:Key="RootBackgroundBrush"
16+
ImageSource="\Assets\Themes\MicaBlurLight.jpg"
17+
Stretch="UniformToFill" />
18+
</ResourceDictionary>
19+
</ResourceDictionary.ThemeDictionaries>
20+
</ResourceDictionary>

0 commit comments

Comments
 (0)