Skip to content

Commit

Permalink
fix(gtk320: functions: _text_shadow_color): fix divizion by zero caus…
Browse files Browse the repository at this point in the history
…ed by bg #000000 and also mistake in the formula (fixes #93)
  • Loading branch information
actionless committed May 18, 2024
1 parent 6d13fb4 commit 22d8aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtk-3.20/scss/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ $modules: () !default;
$_lbg: lightness($bg) / 100%;

@if lightness($tc) < 50% {
@return transparentize($white, 1 - $_lbg / ($_lbg * 1.3));
@return transparentize($white, $_lbg * .3);
} @else {
@return transparentize($black, $_lbg * .8);
}
Expand Down

0 comments on commit 22d8aa3

Please sign in to comment.