From 1923545ec41113fbdddd4a774def04cfe458e5ca Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Tue, 9 Apr 2024 17:17:17 +0200 Subject: FIX lowering contrast of white on blue for note - FIX #22 --- shell/shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/shell.c b/shell/shell.c index a97dd5da..26b6675d 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -374,10 +374,10 @@ static ShellNote *note_new(void) gtk_widget_show(border_box); #if GTK_CHECK_VERSION(3, 0, 0) - GdkRGBA info_default_text_color = { .red = 1.0, .green = 1.0, .blue = 1.0, .alpha = 1.0 }; + GdkRGBA info_default_text_color = { .red = 0.7, .green = 0.7, .blue = 0.7, .alpha = 1.0 }; gtk_widget_override_color(note->label, GTK_STATE_FLAG_NORMAL, &info_default_text_color); #else - GdkColor info_default_text_color = { 0, 0xffff, 0xffff, 0xffff }; + GdkColor info_default_text_color = { 0, 0xafff, 0xafff, 0xafff }; gtk_widget_modify_fg(note->label, GTK_STATE_NORMAL, &info_default_text_color); #endif gtk_widget_modify_bg(border_box, GTK_STATE_NORMAL, &info_default_fill_color); -- cgit v1.2.3