Add color module support that recolors fonts and all the background gradients (there are lots in the theme, will add more as we go along)
EclipseGc is currently working on this and can sure use helping hands. http://github.com/EclipseGc/busy
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | gradient-shadow.jpg | 10.66 KB | eigentor |
| #1 | bg-shadow-color-bar-left.jpg | 777 bytes | eigentor |
Comments
Comment #1
eigentor commentedThere is one thing that might not even be doable with the patched color module.
There is a place where the dropshadow overlaps the gradient of the blue background bar:
Which results in this background image:
Could we circumvent this by providing the dropshadow as a transparent png and combining it with the gradient using the imagecopy function? http://php.net/manual/de/function.imagecopy.ph
Comment #2
jarek foksa commentedHave you considered using box-shadow property? Just like border-radius it's supported in all browsers based on current versions of Webkit and Gecko + next version of Presto (Opera). And there is a workaround for IEs, though I haven't tried it myself.
Comment #3
eigentor commentedEclipsegc: Tried out your implementation, and it only partially worked. The fonts are recolored, but not the Graphics. Looking into the .inc file, i see that the slices are not done yet. Maybe you need some more information from me like you said recently?
Here is the error message it gives me:
* Notice: Uninitialized string offset: 0 in element_children() (line 5459 of F:\xampp\htdocs\Jobs\busy\includes\common.inc).
* Notice: Uninitialized string offset: 0 in element_children() (line 5459 of F:\xampp\htdocs\Jobs\busy\includes\common.inc).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined index: in color_scheme_form() (line 196 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Uninitialized string offset: 0 in element_children() (line 5459 of F:\xampp\htdocs\Jobs\busy\includes\common.inc).
* Notice: Uninitialized string offset: 0 in element_children() (line 5459 of F:\xampp\htdocs\Jobs\busy\includes\common.inc).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* The specified file sites/all/themes/busy/images/menu-collapsed.gif could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The specified file sites/all/themes/busy/images/menu-collapsed-rtl.gif could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The specified file sites/all/themes/busy/images/menu-expanded.gif could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The specified file sites/all/themes/busy/images/menu-leaf.gif could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* Notice: Undefined index: gradient in _color_render_images() (line 470 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined offset: 5 in color_get_palette() (line 135 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Undefined index: in color_scheme_form() (line 196 of F:\xampp\htdocs\Jobs\busy\modules\color\color.module).
* Notice: Uninitialized string offset: 0 in element_children() (line 5459 of F:\xampp\htdocs\Jobs\busy\includes\common.inc).
Comment #4
eigentor commentedComment #5
EvanDonovan commentedBusy is not a core theme now, so assuming this can be won't fix.