From 56e74828d753e6c6674bfc7fb0c47cfafcd4af09 Mon Sep 17 00:00:00 2001 From: Sia Gupta Date: Tue, 28 Jan 2025 14:34:48 +0530 Subject: [PATCH 1/9] Adding style for GroupBox in fluent and also adding corresponding control and fluent brushes for the same --- .../Resources/Theme/Dark.xaml | 7 +++ .../Resources/Theme/HC.xaml | 5 +++ .../Resources/Theme/Light.xaml | 7 +++ .../Styles/GroupBox.xaml | 43 +++++++++++++++++++ .../Themes/Fluent.Dark.xaml | 27 ++++++++++++ .../Themes/Fluent.HC.xaml | 26 +++++++++++ .../Themes/Fluent.Light.xaml | 27 ++++++++++++ 7 files changed, 142 insertions(+) create mode 100644 src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GroupBox.xaml diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml index 305a819d347..bcb3d4032fd 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml @@ -100,6 +100,8 @@ #09FFFFFF #09FFFFFF + #FFFFFFFF + #2C2C2C @@ -259,6 +261,8 @@ + + @@ -475,6 +479,9 @@ + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml index 56208b9124a..9675b7349f1 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml @@ -157,6 +157,8 @@ + + @@ -350,6 +352,9 @@ + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml index b205e7d492d..fd0fe5e6bf4 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml @@ -100,6 +100,8 @@ #40FFFFFF #40FFFFFF + #FF000000 + #F9F9F9 @@ -259,6 +261,8 @@ + + @@ -472,6 +476,9 @@ + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GroupBox.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GroupBox.xaml new file mode 100644 index 00000000000..0ce9dc85a7f --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GroupBox.xaml @@ -0,0 +1,43 @@ + + + 0,0,0,15 + 20 + 0,4,0,20 + + + + + 0,0,0,15 + 20 + 0,4,0,20 + + + 0,0,0,15 + 20 + 0,4,0,20 + + + 0,0,0,15 + 20 + 0,4,0,20 + + - 0,0,0,15 + 0,0,0,16 20 - 0,4,0,20 + 0,4,0,12 - 0,0,0,15 + 0,0,0,16 20 - 0,4,0,20 + 0,4,0,12 - 0,0,0,15 + 0,0,0,16 20 - 0,4,0,20 + 0,4,0,12