aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Util.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-03-27 16:03:31 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-27 16:03:31 +0100
commit00b2afb2224f1319af367539c9db8bc484c1f8bd (patch)
tree853ffc743b58edf9dfc2330a014b48d02c4073f7 /apps/theming/lib/Util.php
parent448699502851a60883faf5f0d5cea4a9855bec66 (diff)
downloadnextcloud-server-00b2afb2224f1319af367539c9db8bc484c1f8bd.tar.gz
nextcloud-server-00b2afb2224f1319af367539c9db8bc484c1f8bd.zip
Darken element color and add exception for primary buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Util.php')
-rw-r--r--apps/theming/lib/Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php
index 38b876f3610..75abea142c8 100644
--- a/apps/theming/lib/Util.php
+++ b/apps/theming/lib/Util.php
@@ -79,7 +79,7 @@ class Util {
public function elementColor($color) {
$l = $this->calculateLuminance($color);
if($l>0.8) {
- return '#dddddd';
+ return '#aaaaaa';
}
return $color;
}