[libadwaita/wip/exalm/accent: 6/17] stylesheet: Make sure switch and progress bar recoloring works




commit 8727138b9da91d37614d53781fc01590bafcb6bb
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jun 11 23:16:49 2021 +0500

    stylesheet: Make sure switch and progress bar recoloring works

 src/stylesheet/widgets/_progress-bar.scss | 9 +++++----
 src/stylesheet/widgets/_switch.scss       | 1 -
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/stylesheet/widgets/_progress-bar.scss b/src/stylesheet/widgets/_progress-bar.scss
index 8cfb203e..9a758bdd 100644
--- a/src/stylesheet/widgets/_progress-bar.scss
+++ b/src/stylesheet/widgets/_progress-bar.scss
@@ -14,10 +14,11 @@ progressbar {
     }
   }
 
-  // FIXME: insensitive state missing and some other state should be set probably
-  font-size: smaller;
-  color: transparentize($fg_color, 0.6);
-  font-feature-settings: "tnum";
+  > text {
+    @extend .dim-label;
+    font-size: smaller;
+    font-feature-settings: "tnum";
+  }
 
   &:disabled {
     filter: opacity(.5);
diff --git a/src/stylesheet/widgets/_switch.scss b/src/stylesheet/widgets/_switch.scss
index 6579afd9..195e89cf 100644
--- a/src/stylesheet/widgets/_switch.scss
+++ b/src/stylesheet/widgets/_switch.scss
@@ -17,7 +17,6 @@ switch {
    }
    @else {
      background-color: $trough_color;
-     color: $fg_color;
 
      &:hover {
       background-color: $trough_hover_color;


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