Skip to content

Commit

Permalink
Update AcrylicBackgroundFillColorBaseBrush and AcrylicInAppFillColorB…
Browse files Browse the repository at this point in the history
…aseBrush (#5177)

* update acrylic dark mode brush

* append brush updates

* changes from comments
  • Loading branch information
karkarl authored Jun 12, 2021
1 parent 9738f87 commit 3362d11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dev/Materials/Acrylic/AcrylicBrush_19h1_themeresources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
BackgroundSource="Backdrop"/>
<local:AcrylicBrush
x:Key="AcrylicBackgroundFillColorBaseBrush"
TintColor="#1C1C1C"
TintOpacity="0.75"
TintColor="#202020"
TintOpacity="0.5"
FallbackColor="#1C1C1C"
BackgroundSource="HostBackdrop"/>
<local:AcrylicBrush
x:Key="AcrylicInAppFillColorBaseBrush"
TintColor="#1C1C1C"
TintOpacity="0.75"
TintColor="#202020"
TintOpacity="0.5"
FallbackColor="#1C1C1C"
BackgroundSource="Backdrop"/>
<local:AcrylicBrush
Expand Down
4 changes: 2 additions & 2 deletions dev/Materials/Acrylic/AcrylicBrush_rs2_themeresources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@
BackgroundSource="Backdrop"/>
<local:AcrylicBrush
x:Key="AcrylicBackgroundFillColorBaseBrush"
TintColor="#1C1C1C"
TintColor="#202020"
TintOpacity="0.8"
FallbackColor="#1C1C1C"
BackgroundSource="HostBackdrop"/>
<local:AcrylicBrush
x:Key="AcrylicInAppFillColorBaseBrush"
TintColor="#1C1C1C"
TintColor="#202020"
TintOpacity="0.8"
FallbackColor="#1C1C1C"
BackgroundSource="Backdrop"/>
Expand Down
4 changes: 2 additions & 2 deletions dev/dll/XamlControlsResources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ void XamlControlsResources::UpdateAcrylicBrushesDarkTheme(const winrt::IInspecta
}
if (const auto acrylicBackgroundFillColorBaseBrush = dictionary.Lookup(box_value(c_AcrylicBackgroundFillColorBaseBrush)).try_as<winrt::AcrylicBrush>())
{
acrylicBackgroundFillColorBaseBrush.TintLuminosityOpacity(0.92);
acrylicBackgroundFillColorBaseBrush.TintLuminosityOpacity(0.96);
}
if (const auto acrylicInAppFillColorBaseBrush = dictionary.Lookup(box_value(c_AcrylicInAppFillColorBaseBrush)).try_as<winrt::AcrylicBrush>())
{
acrylicInAppFillColorBaseBrush.TintLuminosityOpacity(0.92);
acrylicInAppFillColorBaseBrush.TintLuminosityOpacity(0.96);
}
if (const auto accentAcrylicBackgroundFillColorDefaultBrush = dictionary.Lookup(box_value(c_AccentAcrylicBackgroundFillColorDefaultBrush)).try_as<winrt::AcrylicBrush>())
{
Expand Down

0 comments on commit 3362d11

Please sign in to comment.