[gtk/wip/rishi/increase-vte-contrast-3-24] Adwaita: add public color for text views
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/rishi/increase-vte-contrast-3-24] Adwaita: add public color for text views
- Date: Fri, 7 Aug 2020 15:13:59 +0000 (UTC)
commit 905d27a95b9da2826a44a5250a6a2aaab071cb9a
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Apr 3 16:17:24 2020 +0200
Adwaita: add public color for text views
- define @text_view_bg to complement @theme_text_color for high
contrast legible text views.
Possible solution to https://gitlab.gnome.org/GNOME/vte/-/issues/226
gtk/theme/Adwaita/_colors-public.scss | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_colors-public.scss b/gtk/theme/Adwaita/_colors-public.scss
index 8ccc3413cc..3b638e2bf6 100644
--- a/gtk/theme/Adwaita/_colors-public.scss
+++ b/gtk/theme/Adwaita/_colors-public.scss
@@ -112,5 +112,8 @@ read if you used those and something break with a version upgrade you're on your
//FIXME this is really an API
+/* content view background such as thumbnails view in Photos or Boxes */
@define-color content_view_bg #{"" + $base_color};
+/* Very contrasty background for text views (@theme_text_color foreground) */
+@define-color text_view_bg #{"" + if($variant == 'light', $base_color, darken($base_color,6%))};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]