mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
2427ebf9ba
commit
c09b9904c8
@ -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%))};
|
||||
|
@ -2017,4 +2017,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_button_active_color_a shade(#353535, 0.85);
|
||||
@define-color wm_button_active_color_b shade(#353535, 0.89);
|
||||
@define-color wm_button_active_color_c shade(#353535, 0.9);
|
||||
/* content view background such as thumbnails view in Photos or Boxes */
|
||||
@define-color content_view_bg #2d2d2d;
|
||||
/* Very contrasty background for text views (@theme_text_color foreground) */
|
||||
@define-color text_view_bg #1e1e1e;
|
||||
|
@ -2033,4 +2033,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_button_active_color_a shade(#f6f5f4, 0.85);
|
||||
@define-color wm_button_active_color_b shade(#f6f5f4, 0.89);
|
||||
@define-color wm_button_active_color_c shade(#f6f5f4, 0.9);
|
||||
/* content view background such as thumbnails view in Photos or Boxes */
|
||||
@define-color content_view_bg #ffffff;
|
||||
/* Very contrasty background for text views (@theme_text_color foreground) */
|
||||
@define-color text_view_bg #ffffff;
|
||||
|
Loading…
Reference in New Issue
Block a user