Merge branch 'wip/jimmac/hc-dim-label' into 'master'

HC: special case .dim-label

Closes #3507

See merge request GNOME/gtk!3042
This commit is contained in:
Matthias Clasen 2021-01-06 13:04:24 +00:00
commit 2af9f1ad62
3 changed files with 4 additions and 1 deletions

View File

@ -71,3 +71,4 @@ $switch_bg_color: $selected_bg_color;
$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),darken($switch_bg_color,30%));
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3));
$alt_focus_border_color: if($variant == 'light', transparentize(white, 0.2), transparentize(white,0.7));
$dim_label_opacity: 0.55;

View File

@ -180,7 +180,7 @@ label {
}
.dim-label {
opacity: 0.55;
opacity: $dim_label_opacity;
text-shadow: none;
}

View File

@ -20,3 +20,5 @@ $insensitive_borders_color: mix($borders_color, $bg_color, 80%);
//focus rings
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.2), transparentize(white, 0.4));
$alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
$dim_label_opacity: 0.9;