Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-11-07 14:31:23 +0300
committerJulius Härtl <jus@bitgrid.net>2017-11-07 14:31:23 +0300
commit00956c00b240789ad29289b9c100c237b1843e1f (patch)
treeb72ecc9a040af0f9041330e72f4a165313287535 /apps/theming/lib/Util.php
parent44f9779f9f1b85110d2185ca4396d9b26ab85eec (diff)
Theming: expose element color though capabilities API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Util.php')
-rw-r--r--apps/theming/lib/Util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php
index 5d0eba49ecd..194b5eeb0d0 100644
--- a/apps/theming/lib/Util.php
+++ b/apps/theming/lib/Util.php
@@ -81,9 +81,8 @@ class Util {
$l = $this->calculateLuminance($color);
if($l>0.8) {
return '#555555';
- } else {
- return $color;
}
+ return $color;
}
/**