[libadwaita/wip/exalm/recoloring-fixes: 13/32] stylesheet: Fix caret color




commit 9610b3d64629d4ae9493e7d183db8934165af3c0
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 1 13:21:14 2021 +0500

    stylesheet: Fix caret color
    
    It was dark on dark at least in osd entries. Set it to match the text color
    everywhere.

 src/stylesheet/widgets/_entries.scss | 1 +
 src/stylesheet/widgets/_labels.scss  | 2 ++
 src/stylesheet/widgets/_views.scss   | 2 ++
 3 files changed, 5 insertions(+)
---
diff --git a/src/stylesheet/widgets/_entries.scss b/src/stylesheet/widgets/_entries.scss
index c69c9218..5d6b7fbd 100644
--- a/src/stylesheet/widgets/_entries.scss
+++ b/src/stylesheet/widgets/_entries.scss
@@ -9,6 +9,7 @@ entry {
     border-spacing: 6px;
     background-clip: padding-box;
     transition: all 200ms $ease-out-quad;
+    caret-color: currentColor;
 
     @include entry(normal);
 
diff --git a/src/stylesheet/widgets/_labels.scss b/src/stylesheet/widgets/_labels.scss
index e0186c92..6de7aca7 100644
--- a/src/stylesheet/widgets/_labels.scss
+++ b/src/stylesheet/widgets/_labels.scss
@@ -1,4 +1,6 @@
 label {
+  caret-color: currentColor;
+
   &.separator {
     @extend .dim-label;
   }
diff --git a/src/stylesheet/widgets/_views.scss b/src/stylesheet/widgets/_views.scss
index e1c22c8d..266cd379 100644
--- a/src/stylesheet/widgets/_views.scss
+++ b/src/stylesheet/widgets/_views.scss
@@ -18,6 +18,8 @@
 }
 
 textview {
+  caret-color: currentColor;
+
   > text {
     @extend %view;
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]