[libadwaita/wip/exalm/recoloring-fixes: 12/32] stylesheet: Redo osd buttons




commit 35f432f98ff7550d5965008ddb2fe335c002a863
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 1 13:18:55 2021 +0500

    stylesheet: Redo osd buttons
    
    Don't use $osd_bg_colot anymore.

 src/stylesheet/widgets/_buttons.scss | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 3eb4fe70..b4556b79 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -109,7 +109,7 @@ button {
     transition: $button_transition;
 
     color: $osd_fg_color;
-    background-color: $osd_bg_color;
+    background-color: transparentize(black, .35);
 
     @if $contrast == 'high' {
       box-shadow: 0 0 0 1px currentColor;
@@ -117,25 +117,25 @@ button {
 
     &:hover {
       color: white;
-      background-color: lighten($osd_bg_color, 10%);
+      background-color: transparentize(black, .5);
     }
 
     &.keyboard-activating,
     &:active {
       color: white;
-      background-color: darken($osd_bg_color, 20%);
+      background-color: transparentize(black, .2);
     }
 
     &:checked {
-      background-color: darken($osd_bg_color, 15%);
+      background-color: transparentize(black, .25);
 
       &:hover {
-        background-color: darken($osd_bg_color, 5%);
+        background-color: transparentize(black, .35);
       }
 
       &.keyboard-activating,
       &:active {
-        background-color: darken($osd_bg_color, 30%);
+        background-color: transparentize(black, .1);
       }
     }
 


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