Now that I've finally got my head around color.module (whee)
And have decided to try once more building on Zen (arrg)
... I can't get the two to play nice together.
Research shows some of the issues identified :
color.module hardcodes 'style.css'
Move discovery of theme information to .info files (and improve theme inheritance)
... but they are talking about D6-7
Just Getting Zen to work with a subtheme (as recommended in the docs) has already involved quite a bit of hacking s/path_to_theme/path_to_subtheme/g (dear God why?)
But I still can't figure how to get these two powerhouses of themeing to go together.
Has anyone managed it? I don't mind dirty patches and code.
Or is it simply known to be too hard at the moment?
I've got the color.inc and image building actually happening ... but because zen has deprecated 'style.css' and color.module relies on it - no color rewrites are happening for me.
Additionally, I've taken to breaking my css up into even smaller bits for revision management, like block-specific css files that get conditionally included as needed. I suppose there is no hope that color.module can be made to recognise these?
color gurus?
Comments
more research
Does anyone know if (for example) Color module limited to style.css this patch for 6 can reasonably be back-ported to 5?
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Not a solution, but...
Hey dman,
I'm struggling though this issue myself. I see your post is quite old and nobody responded, sorry about that. I'm posting anyway, as I know this is something many themers are trying to do. This is by no means a solution, but as a hack, simply name your theme "style". This provides style.css and gives color.module a way hook into your theme. Things fall apart as soon as you add subthemes, but hopefully this will get you going. It worked for me with D6.
Blessings,
-NP
Yeah, old, but thanks for
Yeah, old, but thanks for the reply.
FWIW, I found that color - next generation module was much more fun to work with. Can't recall if I got subthemes working there, but I got lots of other stuff going well.
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thanks!
Thanks dman, I'll check that out.