Adwaita: tone down suggested focus ring for dark

This commit is contained in:
Jakub Steiner 2020-05-06 19:02:19 +02:00
parent efd009e6d8
commit 3fa691a1ab
2 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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);