diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-02 21:48:14 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-09-02 21:48:14 +0200 |
commit | 0a49757535fa09b9ce6a9734ec8bd495a7244482 (patch) | |
tree | b05e5523b837632ac01c8e879cc6070d27ff23ab /apps/theming/lib/Util.php | |
parent | 27c6dc965774f72688ce32f047da654aee64fed8 (diff) | |
download | nextcloud-server-0a49757535fa09b9ce6a9734ec8bd495a7244482.tar.gz nextcloud-server-0a49757535fa09b9ce6a9734ec8bd495a7244482.zip |
Change invertion threshold to 55%
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Util.php')
-rw-r--r-- | apps/theming/lib/Util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php index f0e8fd92ca8..83d8c7aae47 100644 --- a/apps/theming/lib/Util.php +++ b/apps/theming/lib/Util.php @@ -62,7 +62,7 @@ class Util { */ public function invertTextColor($color) { $l = $this->calculateLuminance($color); - if($l>0.5) { + if($l>0.55) { return true; } else { return false; |