Merge branch 'wip/jimmac/dark-seuggested' into 'master'

Adwaita: tone down suggested focus ring for dark

See merge request GNOME/gtk!1843
This commit is contained in:
Matthias Clasen 2020-05-06 18:32:09 +00:00
commit 8efebbaf46
2 changed files with 2 additions and 2 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

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