From 582eef1b9d805f797d9bee80ac50fbb522ecdc71 Mon Sep 17 00:00:00 2001 From: mshafer1 <2565361+mshafer1@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:27:32 -0600 Subject: [PATCH] massage the colors a little more --- ntfysh_client/NotificationDialog.cs | 2 +- ntfysh_client/Themes/DarkModeTheme.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ntfysh_client/NotificationDialog.cs b/ntfysh_client/NotificationDialog.cs index a5cc21d..d456faa 100644 --- a/ntfysh_client/NotificationDialog.cs +++ b/ntfysh_client/NotificationDialog.cs @@ -122,6 +122,7 @@ namespace ntfysh_client // this one is not "hiding" ButtonClose.BackColor = _theme.ControlBackGroundColor; + ButtonClose.ForeColor = _theme.BackgroundColor; // handle mouse over ButtonClose.FlatAppearance.MouseOverBackColor = _theme.ControlMouseOverBackgroundColor; @@ -131,7 +132,6 @@ namespace ntfysh_client TxBMessage.ForeColor = _theme.ForegroundColor; LblTimeout.ForeColor = _theme.ForegroundColor; ProgressBar1.ForeColor = _theme.ForegroundColor; - ButtonClose.ForeColor = _theme.ForegroundColor; } private void UpdateProgress(object? sender, EventArgs e) diff --git a/ntfysh_client/Themes/DarkModeTheme.cs b/ntfysh_client/Themes/DarkModeTheme.cs index 51adc3c..300809f 100644 --- a/ntfysh_client/Themes/DarkModeTheme.cs +++ b/ntfysh_client/Themes/DarkModeTheme.cs @@ -7,6 +7,6 @@ namespace ntfysh_client.Themes public override Color BackgroundColor { get => SystemColors.ControlDark; } public override Color ControlBackGroundColor { get => Color.Black; } public override Color ControlMouseOverBackgroundColor { get => Color.Silver; } - public override Color ForegroundColor { get => SystemColors.ControlLight; } + public override Color ForegroundColor { get => SystemColors.WindowText; } } }