diff options
author | hwspeedy <ns@bigbear.dk> | 2024-04-09 17:17:17 +0200 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-04-09 17:17:17 +0200 |
commit | 1923545ec41113fbdddd4a774def04cfe458e5ca (patch) | |
tree | 3104d12067d05765945192c152b5d6e74c5f4e6b | |
parent | c3198605ba2220b3c2a990a6af053729f2b86777 (diff) |
FIX lowering contrast of white on blue for note - FIX #22
-rw-r--r-- | shell/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |