Adwaita: add public color for text views

- define @text_view_bg to complement @theme_text_color for high
  contrast legible text views.

Fixes https://gitlab.gnome.org/GNOME/vte/-/issues/226
This commit is contained in:
Jakub Steiner 2020-08-07 18:58:32 +02:00
parent 9d60047616
commit 96500816bc

View File

@ -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%))};