From: Chuck Hagenbuch Date: Mon, 31 Aug 2009 02:04:53 +0000 (-0400) Subject: either these need to go back to #fff, or the graphics (recur at least) that are loade... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=572858594a7129d5b6a64bbc385249f8b18fbb6b;p=horde.git either these need to go back to #fff, or the graphics (recur at least) that are loaded based on foreground color need to be renamed --- diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 06d002c3a..a54f59d12 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -234,7 +234,7 @@ abstract class Kronolith_Event $backgroundColor = $share->get('color'); if (!empty($backgroundColor)) { $this->_backgroundColor = $backgroundColor; - $this->_foregroundColor = Horde_Image::brightness($this->_backgroundColor) < 128 ? '#f6f6f6' : '#000'; + $this->_foregroundColor = Horde_Image::brightness($this->_backgroundColor) < 128 ? '#fff' : '#000'; } } diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 39e734770..674b17c3f 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -1825,7 +1825,7 @@ class Kronolith */ public static function foregroundColor($calendar) { - return Horde_Image::brightness(self::backgroundColor($calendar)) < 128 ? '#f6f6f6' : '#000'; + return Horde_Image::brightness(self::backgroundColor($calendar)) < 128 ? '#fff' : '#000'; } /**