mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
use light grey instead of white
This commit is contained in:
parent
be11f71d27
commit
6a060ecd23
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue