I haven’t come across any recommended method of deploying a theme with a SharePoint solution, but here’s a suggestion that should work: Simply deploy all the theme files to their relevant location in 12\TEMPLATE\THEMES using the TemplateFiles element (ok, maybe this is the recommended way
.
You’ll also need to deploy an updated copy of 12\TEMPLATE\LAYOUTS\1033\SPTHEMES.XML. I’m not sure if this would be supported as you’re overwriting a core SharePoint file in your deployment, but it’ll do the trick. You would have to modify this file manually anyway I suppose (although there’s the risk that your deployment could overwrite previous themes added manually in this file by someone else).
As far as I know, there’s also no out-the-box method of applying the theme automatically to a site. You could write a feature event receiver to do this though via the SharePoint API.
How about this one:
http://solutionizing.net/category/sharepoint/
I mean this article specifically:
STSDEV Theme Solution Generator
http://solutionizing.net/2008/09/14/stsdev-theme-solution-generator/
Just used your post to export and import a theme manually from one site to another. Very helpful, thanks!
No problem Joe, glad to be of assistance