[gnome-text-editor/wip/exalm/message-dialog] recoloring: Recolor the new dialogs
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor/wip/exalm/message-dialog] recoloring: Recolor the new dialogs
- Date: Mon, 27 Jun 2022 19:26:44 +0000 (UTC)
commit 33aedf69e228c4069b3bfb204725c269a6026c66
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Jun 27 23:25:09 2022 +0400
recoloring: Recolor the new dialogs
They use two new colors, intended to have the same background as popovers
in dark variant and same as window in light variant.
Adjust the card style as well to be adaptive in dark, so that the save
changes dialog list still stands out.
src/editor-recoloring.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index 4829d0e..389eee5 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -29,15 +29,18 @@
"@define-color headerbar_fg_color @window_fg_color;\n" \
"@define-color headerbar_border_color @window_fg_color;\n" \
"@define-color popover_fg_color @window_fg_color;\n" \
+ "@define-color dialog_fg_color @window_fg_color;\n" \
"@define-color dark_fill_bg_color @headerbar_bg_color;\n" \
"@define-color view_bg_color @card_bg_color;\n" \
"@define-color view_fg_color @window_fg_color;\n"
#define LIGHT_CSS_SUFFIX \
"@define-color popover_bg_color mix(@window_bg_color, white, .1);\n" \
+ "@define-color dialog_bg_color @window_bg_color;\n" \
"@define-color card_bg_color alpha(white, .6);\n"
#define DARK_CSS_SUFFIX \
"@define-color popover_bg_color mix(@window_bg_color, white, 0.07);\n" \
- "@define-color card_bg_color @popover_bg_color;\n" \
+ "@define-color dialog_bg_color mix(@window_bg_color, white, 0.07);\n" \
+ "@define-color card_bg_color alpha(white, .08);\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]