From 59ef14bfa2aefe201ee20239a6d61be7632dfd5d Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Mon, 11 Jul 2022 01:10:42 +0800 Subject: [PATCH] Port microsoft/microsoft-ui-xaml#3960 (#481) --- ModernWpf/ThemeResources/Dark.xaml | 56 ++++++++++------------ ModernWpf/ThemeResources/HighContrast.xaml | 10 ++-- ModernWpf/ThemeResources/Light.xaml | 34 ++++++------- 3 files changed, 45 insertions(+), 55 deletions(-) diff --git a/ModernWpf/ThemeResources/Dark.xaml b/ModernWpf/ThemeResources/Dark.xaml index 34ed515c..3d76b7fa 100644 --- a/ModernWpf/ThemeResources/Dark.xaml +++ b/ModernWpf/ThemeResources/Dark.xaml @@ -209,9 +209,7 @@ #5DFFFFFF - #FFFFFF - #B3FFFFFF - #5DFFFFFF + #FFFFFF #000000 #80000000 @@ -219,23 +217,23 @@ #0FFFFFFF #15FFFFFF - #0BFFFFFF + #08FFFFFF #0BFFFFFF #00FFFFFF - #15FFFFFF + #B31E1E1E - #87FFFFFF + #8BFFFFFF #3FFFFFFF #454545 #00FFFFFF - #05FFFFFF - #0BFFFFFF - #0BFFFFFF + #08FFFFFF + #0FFFFFFF + #00FFFFFF #00FFFFFF - #1A000000 + #19000000 #0BFFFFFF #12000000 #00FFFFFF @@ -246,20 +244,18 @@ #131313 #0078D4 - #006BC6 - #0084D9 - #0B000000 #28FFFFFF - #33000000 - #73000000 - #33000000 - #73000000 + #14FFFFFF + #4C000000 + #14FFFFFF + #23000000 #37000000 #33000000 + #6B000000 - #1A000000 + #19000000 #1C1C1C #8BFFFFFF @@ -274,28 +270,30 @@ #FFFFFF #B3000000 - #0FFFFFFF + #0DFFFFFF #08FFFFFF - #33000000 + #4C000000 #09FFFFFF - #05FFFFFF + #0DFFFFFF #05FFFFFF #202020 #1C1C1C - #242424 - #282828 + #282828 + #2C2C2C #0070CB #6CCB5F #FCE100 #FF99A4 + #8BFFFFFF #08FFFFFF #393D1B #433519 #442726 + #08FFFFFF @@ -310,9 +308,7 @@ - - - + @@ -346,10 +342,7 @@ - - - - + @@ -362,6 +355,7 @@ + @@ -396,10 +390,12 @@ + + diff --git a/ModernWpf/ThemeResources/HighContrast.xaml b/ModernWpf/ThemeResources/HighContrast.xaml index eabbdf77..efb3bd01 100644 --- a/ModernWpf/ThemeResources/HighContrast.xaml +++ b/ModernWpf/ThemeResources/HighContrast.xaml @@ -165,9 +165,7 @@ - - - + @@ -202,9 +200,6 @@ - - - @@ -217,6 +212,7 @@ + @@ -251,10 +247,12 @@ + + diff --git a/ModernWpf/ThemeResources/Light.xaml b/ModernWpf/ThemeResources/Light.xaml index 1aecb583..3ef67bc4 100644 --- a/ModernWpf/ThemeResources/Light.xaml +++ b/ModernWpf/ThemeResources/Light.xaml @@ -209,9 +209,7 @@ #5C000000 - #FFFFFF - #B3FFFFFF - #5C000000 + #FFFFFF #FFFFFF #B3FFFFFF @@ -241,23 +239,21 @@ #00FFFFFF #C9FFFFFF - #1A1A1A - #131313 - #131313 + #F3F3F3 + #EBEBEB + #00FFFFFF #0078D4 - #006BC6 - #0084D9 - #11000000 #37000000 #0F000000 #29000000 - #0F000000 - #29000000 + #14FFFFFF + #66000000 #37000000 #0F000000 + #59FFFFFF #0F000000 #EBEBEB @@ -277,7 +273,7 @@ #B3FFFFFF #80F6F6F6 - #31000000 + #4D000000 #80FFFFFF #FFFFFF @@ -292,10 +288,12 @@ #117D11 #A16100 #D03728 + #72000000 #80F6F6F6 #DFF6DD #FFF4CE #FDE7E9 + #06000000 @@ -310,9 +308,7 @@ - - - + @@ -346,10 +342,7 @@ - - - - + @@ -362,6 +355,7 @@ + @@ -396,10 +390,12 @@ + +