[gtk/gtk-3-24: 1/2] HighContrast: Improve contrast of notebook tabs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] HighContrast: Improve contrast of notebook tabs
- Date: Tue, 11 Jun 2019 17:12:48 +0000 (UTC)
commit afd61c357018af65f62ac506ea041658e5b461bd
Author: Colomban Wendling <cwendling hypra fr>
Date: Wed May 29 17:46:41 2019 +0200
HighContrast: Improve contrast of notebook tabs
gtk/theme/HighContrast/_common.scss | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 57fb694411..f9a13c76e3 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1712,7 +1712,7 @@ notebook {
& header {
// FIXME: double borders in some case, can't fix it w/o a class tho
// FIXME: doesn't work on dark var
- background-color: mix($bg_color, $borders_color, 70%);
+ background-color: mix($bg_color, $borders_color, 85%);
// this is the shading of the header behind the tabs
.frame & {
@@ -1853,14 +1853,14 @@ notebook {
label { //tab text
padding: 0 2px; // needed for a nicer focus ring
font-weight: bold;
- color: $insensitive_fg_color; /* color: inherit doesn't work here */
+ color: mix($fg_color, $insensitive_fg_color, 50%); /* color: inherit doesn't work here */
&:backdrop {
color: $insensitive_fg_color;
}
}
&:hover label {
// prelight tab text
- color: mix($fg_color, $insensitive_fg_color, 50%);
+ color: mix($fg_color, $insensitive_fg_color, 75%);
}
&:checked label {
// active tab text
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]