[libadwaita/wip/exalm/entry-colors: 3/3] stylesheet: Improve success/warning color contrast in light
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/entry-colors: 3/3] stylesheet: Improve success/warning color contrast in light
- Date: Fri, 5 Aug 2022 19:19:47 +0000 (UTC)
commit 1824e46a3fa5e99f10cc15a16f62cd993bdbcd8a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Aug 5 22:14:01 2022 +0400
stylesheet: Improve success/warning color contrast in light
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/488
src/stylesheet/_defaults.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_defaults.scss b/src/stylesheet/_defaults.scss
index 53514ea6..e313d5f9 100644
--- a/src/stylesheet/_defaults.scss
+++ b/src/stylesheet/_defaults.scss
@@ -21,11 +21,11 @@
// Levelbars, entries, labels and infobars. These don't need text colors
@define-color success_bg_color #{if($variant == 'dark', "@green_5", "@green_4")};
@define-color success_fg_color white;
-@define-color success_color #{if($variant == 'dark', "@green_1", "@green_5")};
+@define-color success_color #{if($variant == 'dark', "@green_1", "#1b8553")};
@define-color warning_bg_color #{if($variant == 'dark', #cd9309, "@yellow_5")};
@define-color warning_fg_color #{transparentize(black, .2)};
-@define-color warning_color #{if($variant == 'dark', "@yellow_2", #ae7b03)};
+@define-color warning_color #{if($variant == 'dark', "@yellow_2", #9c6e03)};
@define-color error_bg_color #{if($variant == 'dark', "@red_4", "@red_3")};
@define-color error_fg_color white;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]