HC: special case .dim-label

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3507
This commit is contained in:
Jakub Steiner 2021-01-06 12:46:35 +01:00
parent de8a8d7bde
commit fd00aa98ea
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;