From 932d247d37fec1debf64b6321621c2dc9af1f26e Mon Sep 17 00:00:00 2001 From: zumun Date: Tue, 20 Oct 2026 20:48:08 +0900 Subject: [PATCH] fix: enforce deep dark backgrounds on UserControls and inject explicit DataGrid/ComboBox templates to eliminate white backgrounds --- Styles/Theme.xaml | 155 +++++++++++++++++++++++++----- Views/ActiveDirectoryView.xaml | 3 +- Views/DashboardView.xaml | 3 +- Views/NetAppView.xaml | 3 +- Views/SettingsView.xaml | 3 +- Views/ShareAccessManagerView.xaml | 3 +- Views/SqlDatabaseView.xaml | 3 +- 7 files changed, 143 insertions(+), 30 deletions(-) diff --git a/Styles/Theme.xaml b/Styles/Theme.xaml index 1248e68..164a455 100644 --- a/Styles/Theme.xaml +++ b/Styles/Theme.xaml @@ -31,11 +31,15 @@ Segoe UI, Apple SD Gothic Neo, Malgun Gothic Segoe MDL2 Assets, Segoe Fluent Icons - + - + + + + + - + - + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + diff --git a/Views/ActiveDirectoryView.xaml b/Views/ActiveDirectoryView.xaml index 4ff257b..5375b9f 100644 --- a/Views/ActiveDirectoryView.xaml +++ b/Views/ActiveDirectoryView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}"> diff --git a/Views/DashboardView.xaml b/Views/DashboardView.xaml index 51b4064..587fbd2 100644 --- a/Views/DashboardView.xaml +++ b/Views/DashboardView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}"> diff --git a/Views/NetAppView.xaml b/Views/NetAppView.xaml index 5f73753..489a75d 100644 --- a/Views/NetAppView.xaml +++ b/Views/NetAppView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}"> diff --git a/Views/SettingsView.xaml b/Views/SettingsView.xaml index 14b638b..ce7200d 100644 --- a/Views/SettingsView.xaml +++ b/Views/SettingsView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}"> diff --git a/Views/ShareAccessManagerView.xaml b/Views/ShareAccessManagerView.xaml index 1f9f91f..b5781b6 100644 --- a/Views/ShareAccessManagerView.xaml +++ b/Views/ShareAccessManagerView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}"> diff --git a/Views/SqlDatabaseView.xaml b/Views/SqlDatabaseView.xaml index b6b910c..c2ea9a9 100644 --- a/Views/SqlDatabaseView.xaml +++ b/Views/SqlDatabaseView.xaml @@ -1,5 +1,6 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + Background="{StaticResource BgDarkBrush}">