[gnome-text-editor/wip/exalm/styles: 8/8] recoloring: Improve contrast for dark colors




commit f9fd63af9a16dd1474d9302572d3838a0c39d309
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jan 7 17:17:55 2022 +0500

    recoloring: Improve contrast for dark colors

 src/editor-recoloring.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index 3ac2490..5a96354 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -36,8 +36,8 @@
   "@define-color popover_bg_color mix(@window_bg_color, white, .1);\n" \
   "@define-color card_bg_color alpha(white, .6);\n"
 #define DARK_CSS_SUFFIX \
-  "@define-color popover_bg_color mix(@window_bg_color, black, 0.1);\n" \
-  "@define-color card_bg_color lighter(mix(@window_bg_color,@window_fg_color,.025));\n" \
+  "@define-color popover_bg_color mix(@window_bg_color, white, 0.07);\n" \
+  "@define-color card_bg_color @popover_bg_color;\n" \
   "@define-color view_bg_color darker(@window_bg_color);\n"
 
 enum {


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