[gtk+/gtk-3-20] Adwaita: set secondary caret color to selection blue
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] Adwaita: set secondary caret color to selection blue
- Date: Fri, 1 Apr 2016 14:47:53 +0000 (UTC)
commit 8d402589cfeab084224596e4127d75c8f5dbef11
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Apr 1 16:42:40 2016 +0200
Adwaita: set secondary caret color to selection blue
see https://bugzilla.gnome.org/show_bug.cgi?id=764204
gtk/theme/Adwaita/_common.scss | 2 ++
gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++-
gtk/theme/Adwaita/gtk-contained.css | 3 ++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index c8114cb..ed64ed7 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -39,6 +39,8 @@ $button_transition: all 200ms $ease-out-quad;
outline-offset: -3px;
outline-width: 1px;
-gtk-outline-radius: 2px;
+
+ -gtk-secondary-caret-color: $selected_bg_color
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index fee8e67..7b6a592 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -14,7 +14,8 @@
outline-style: dashed;
outline-offset: -3px;
outline-width: 1px;
- -gtk-outline-radius: 2px; }
+ -gtk-outline-radius: 2px;
+ -gtk-secondary-caret-color: #215d9c; }
/***************
* Base States *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 8d10bbe..a5cee5f 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -14,7 +14,8 @@
outline-style: dashed;
outline-offset: -3px;
outline-width: 1px;
- -gtk-outline-radius: 2px; }
+ -gtk-outline-radius: 2px;
+ -gtk-secondary-caret-color: #4a90d9; }
/***************
* Base States *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]