[gnome-text-editor/wip/exalm/headerbar] recoloring: Increase header bar contrast for light




commit 567ed603875b5f3a9f60cb260e542342aed20d2a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Jul 20 05:22:46 2022 +0400

    recoloring: Increase header bar contrast for light
    
    It way more similar to the window bg color than with the default colors.

 src/editor-recoloring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index 389eee5..c87e036 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -275,7 +275,7 @@ _editor_recoloring_generate_css (GtkSourceStyleScheme *style_scheme)
   if (get_metadata_color (style_scheme, "headerbar_bg_color", &color))
     define_color (str, "headerbar_bg_color", &color);
   else if (has_bg && has_fg)
-    define_color_mixed (str, "headerbar_bg_color", &text_bg, &text_fg, .05);
+    define_color_mixed (str, "headerbar_bg_color", &text_bg, &text_fg, .085);
   else if (is_dark)
     define_color_mixed (str, "headerbar_bg_color", &text_bg, alt, .025);
   else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]