diff --git a/gtk/theme/Adwaita/_colors.scss b/gtk/theme/Adwaita/_colors.scss index 6c7f211ad1..be1215d795 100644 --- a/gtk/theme/Adwaita/_colors.scss +++ b/gtk/theme/Adwaita/_colors.scss @@ -77,4 +77,4 @@ $checkradio_bg_color: if($variant == 'light', $selected_bg_color, lighten($selec $checkradio_fg_color: $selected_fg_color; $checkradio_borders_color: if($variant == 'light', darken($checkradio_bg_color,20%), darken($checkradio_bg_color,40%)); $focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3)); -$alt_focus_border_color: transparentize(white, 0.5); +$alt_focus_border_color: if($variant == 'light', transparentize(white, 0.2), transparentize(white,0.7)); diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 894e9a51de..6b5d9f5c10 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -342,7 +342,7 @@ entry { &.#{$e_type} { color: $e_color; - @include focus-ring($within: true, $fc: $e_color); + @include focus-ring($within: true, $fc: transparentize($e_color, 0.5)); &:focus-within { @include entry(focus, $e_color); } @@ -676,7 +676,7 @@ button { (destructive-action, $destructive_color) { &.#{$b_type} { @include button(normal, $b_color, white); - @include focus-ring($fc: transparentize(white,0.1)); + @include focus-ring($fc: $alt_focus_border_color); &.flat { @include button(undecorated);