Commit 13fe6390 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

re-add adwaita patch

parent 170007ad
......@@ -126,9 +126,10 @@
// $tc is the text color
// $bg is the background color
//
$_lbg: lightness($bg)/100%;
@if lightness($tc)<50% { @return transparentize(white, 1-$_lbg/($_lbg*1.3)); }
@else { @return transparentize(black, $_lbg*0.8); }
$_lbg: lightness($bg)/100%; @if lightness($tc)<50% {
@if $_lbg == 0 { @return white; }
@else { @return transparentize(white, 1-$_lbg/($_lbg*1.3)); }
} @else { @return transparentize(black, $_lbg*0.8); }
}
@function _button_hilight_color($c) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment