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; } } }