Skip to content

Commit d38aa4a

Browse files
committed
gtk3: Use darker text_view_bg for dark variant
Earlier commit [1] added the text_view_bg public color, but simply applied the base background color to it. Use the $dark_sidebar_bg in dark variant to achieve better contrast, as that is the intended purpose for the public color. [1] 2c726e4
1 parent 81130a2 commit d38aa4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/gtk-3.0/3.24/sass/_colors-public.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
@define-color link_color #{"" + $link_color};
3232

3333
@define-color content_view_bg #{"" + $base_color};
34-
@define-color text_view_bg #{"" + $base_color};
34+
@define-color text_view_bg #{"" + if($variant != 'dark', $base_color, opacify($dark_sidebar_bg, 1))};
35+
3536

3637
//WM
3738
$wm_highlight: lighten(opacify($header_bg, 1), 3%);

0 commit comments

Comments
 (0)