Skip to content

Commit

Permalink
Feature: Adjusted the mica tint color (#10645)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Dec 7, 2022
1 parent 5eab84f commit 6bb0724
Show file tree
Hide file tree
Showing 23 changed files with 5 additions and 640 deletions.
11 changes: 4 additions & 7 deletions src/Files.App/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@
<ResourceDictionary>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<Color x:Key="SolidBackgroundAcrylic">#FFFFFF</Color>
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SubtleFillColorTransparent}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerFillColorDefault}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SubtleFillColorTertiary}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="{StaticResource SubtleFillColorSecondary}" />
<SolidColorBrush x:Key="TabViewItemSeparator" Color="{StaticResource DividerStrokeColorDefault}" />
<SolidColorBrush x:Key="TabContainerFillColorPrimary" Color="{StaticResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="TabContainerFillColorSecondary" Color="{StaticResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="NavigationToolbarBackgroundBrush" Color="{StaticResource LayerFillColorDefault}" />
<SolidColorBrush x:Key="NavigationToolbarBackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
<SolidColorBrush x:Key="NavigationToolbarBreadcrumbBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="FileBrowserHeaderBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="RootBackgroundBrush" Color="Transparent" />
Expand All @@ -41,15 +40,14 @@
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<Color x:Key="SolidBackgroundAcrylic">#2C2C2C</Color>
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SubtleFillColorTransparent}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerFillColorDefault}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SubtleFillColorTertiary}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="{StaticResource SubtleFillColorSecondary}" />
<SolidColorBrush x:Key="TabViewItemSeparator" Color="{StaticResource DividerStrokeColorDefault}" />
<SolidColorBrush x:Key="TabContainerFillColorPrimary" Color="{StaticResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="TabContainerFillColorSecondary" Color="{StaticResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="NavigationToolbarBackgroundBrush" Color="{StaticResource LayerFillColorDefault}" />
<SolidColorBrush x:Key="NavigationToolbarBackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
<SolidColorBrush x:Key="NavigationToolbarBreadcrumbBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="FileBrowserHeaderBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="RootBackgroundBrush" Color="Transparent" />
Expand All @@ -58,7 +56,6 @@
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<Color x:Key="SolidBackgroundAcrylic">#2C2C2C</Color>
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SystemColorWindowColor}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerFillColorDefault}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SystemColorHighlightColor}" />
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
mc:Ignorable="d">

<winuiex:WindowEx.Backdrop>
<winuiex:MicaSystemBackdrop DarkTintOpacity="0.8" />
<winuiex:MicaSystemBackdrop DarkTintOpacity="0.8" LightTintColor="#CCf3f3f3"/>
</winuiex:WindowEx.Backdrop>

<Grid />
Expand Down
163 changes: 0 additions & 163 deletions src/Files.App/Themes/Acrylic.xaml

This file was deleted.

102 changes: 0 additions & 102 deletions src/Files.App/Themes/Blue Acrylic.xaml

This file was deleted.

4 changes: 0 additions & 4 deletions src/Files.App/Themes/Bound to be Blue.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#274472</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#3967B1</Color>
<Color x:Key="SystemAccentColorDark1">#3967B1</Color>
Expand All @@ -37,8 +35,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#4781DE</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#82B0FE</Color>
<Color x:Key="SystemAccentColorDark1">#82B0FE</Color>
Expand Down
4 changes: 0 additions & 4 deletions src/Files.App/Themes/Bronze.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#A26829</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#FFDF87</Color>
<Color x:Key="SystemAccentColorDark1">#FFDF87</Color>
Expand All @@ -37,8 +35,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#D5B18A</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#A26829</Color>
<Color x:Key="SystemAccentColorDark1">#D5B18A</Color>
Expand Down
4 changes: 0 additions & 4 deletions src/Files.App/Themes/Burgundy.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#592A37</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#CB607C</Color>
<Color x:Key="SystemAccentColorDark1">#CB607C</Color>
Expand All @@ -37,8 +35,6 @@
<SolidColorBrush x:Key="SolidBackgroundFillColorSecondaryBrush" Color="{ThemeResource SolidBackgroundFillColorSecondary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorTertiaryBrush" Color="{ThemeResource SolidBackgroundFillColorTertiary}" />
<SolidColorBrush x:Key="SolidBackgroundFillColorQuarternaryBrush" Color="{ThemeResource SolidBackgroundFillColorQuarternary}" />
<!-- Acrylic Resources -->
<Color x:Key="SolidBackgroundAcrylic">#CB607C</Color>
<!-- Accent Color -->
<Color x:Key="SystemAccentColor">#97475C</Color>
<Color x:Key="SystemAccentColorDark1">#97475C</Color>
Expand Down
Loading

0 comments on commit 6bb0724

Please sign in to comment.