diff options
author | Jakub Steiner <jimmac@gmail.com> | 2020-04-03 16:17:24 +0200 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2020-04-03 16:17:24 +0200 |
commit | 43b443bc3306c61798ff2ad295458271b445d769 (patch) | |
tree | e9db6ef1a1cd5cdc479c0c85439fa19db11cdf42 | |
parent | fb325afc79536c6c1547eb42e57fca1f9fa11b8b (diff) | |
download | gtk+-wip/jimmac/increase-vte-contrast.tar.gz |
Adwaita: add public color for text viewswip/jimmac/increase-vte-contrast
- 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
-rw-r--r-- | gtk/theme/Adwaita/_colors-public.scss | 3 |
1 files changed, 3 insertions, 0 deletions
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%))}; |