[libadwaita/wip/exalm/switch] stylesheet: Add an offset for switch focus ring




commit 015892d88dcff10435a9a8152c9327705b81f042
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jun 1 15:27:29 2021 +0500

    stylesheet: Add an offset for switch focus ring
    
    Make focus more visible.
    
    See https://gitlab.gnome.org/GNOME/libadwaita/-/issues/182#note_1126459

 src/stylesheet/widgets/_switch.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_switch.scss b/src/stylesheet/widgets/_switch.scss
index 98cae5f7..6579afd9 100644
--- a/src/stylesheet/widgets/_switch.scss
+++ b/src/stylesheet/widgets/_switch.scss
@@ -28,7 +28,7 @@ switch {
     > image { color: transparent; }
    }
 
-  @include focus-ring($offset: 0, $outer: true);
+  @include focus-ring($offset: 1px, $outer: true);
 
   &:disabled {
     filter: opacity(0.5);


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