* Code style fix 2...
parent
1df54746f2
commit
46c6fd780a
gtk-3.20/scss
|
@ -85,10 +85,10 @@ $modules: () !default;
|
||||||
// $tc is the text color
|
// $tc is the text color
|
||||||
// $bg is the background color
|
// $bg is the background color
|
||||||
//
|
//
|
||||||
$_lbg: lightness($bg)/100%;
|
$_lbg: lightness($bg) / 100%;
|
||||||
|
|
||||||
@if lightness($tc) < 50% {
|
@if lightness($tc) < 50% {
|
||||||
@return transparentize(white, 1 - $_lbg/($_lbg * 1.3));
|
@return transparentize(white, 1 - $_lbg / ($_lbg * 1.3));
|
||||||
} @else {
|
} @else {
|
||||||
@return transparentize(black, $_lbg * .8);
|
@return transparentize(black, $_lbg * .8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue