either these need to go back to #fff, or the graphics (recur at least) that are loade...
authorChuck Hagenbuch <chuck@horde.org>
Mon, 31 Aug 2009 02:04:53 +0000 (22:04 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 31 Aug 2009 02:05:13 +0000 (22:05 -0400)
kronolith/lib/Event.php
kronolith/lib/Kronolith.php

index 06d002c..a54f59d 100644 (file)
@@ -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';
             }
         }
 
index 39e7347..674b17c 100644 (file)
@@ -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';
     }
 
     /**