summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-01 01:02:54 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-01 01:02:54 +0200
commit6a060ecd230f5b94b94dd08fc16845303627a1ab (patch)
tree35c1496aefa13a30e3c396f05a27a4ab4ae989ef /apps/calendar
parentbe11f71d27e704a2d3cc4958e1dda66441659390 (diff)
downloadnextcloud-server-6a060ecd230f5b94b94dd08fc16845303627a1ab.tar.gz
nextcloud-server-6a060ecd230f5b94b94dd08fc16845303627a1ab.zip
use light grey instead of white
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php
index 6cac99ba489..7778242464c 100644
--- a/apps/calendar/lib/calendar.php
+++ b/apps/calendar/lib/calendar.php
@@ -303,6 +303,6 @@ class OC_Calendar_Calendar{
$blue = hexdec(substr($calendarcolor,2,2));
//recommendation by W3C
$computation = ((($red * 299) + ($green * 587) + ($blue * 114)) / 1000);
- return ($computation > 130)?'black':'white';
+ return ($computation > 130)?'#000000':'#FAFAFA';
}
}