use light grey instead of white

remotes/origin/stable45
Georg Ehrke 13 years ago
parent be11f71d27
commit 6a060ecd23
  1. 2
      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';
}
}

Loading…
Cancel
Save