bobtemplates.plone
bobtemplates.plone copied to clipboard
How to create theme-compiled.css
Hi there,
I create a new theme within my addon using bobtemplates.plone. After correcting @barceloneta_path and enabling the developer mode in http://localhost:8080/Plone3/@@resourceregistry-controlpanel the theme is finally visible.
Now I want to create the file theme-compiled.css so I can disable development mode again. How can I do that?
I added already the plone-compile-resources to my develop.cfg:
parts +=
resources
[resources]
recipe = zc.recipe.egg
eggs =
plone.staticresources
scripts = plone-compile-resources
and tried compiling the resources but it seems not to find the theme. Do I have to create a bundle manually in profiles/default/registry.xml to make it work? If yes, what do I need to add there exactly?
I also tried compiling CSS in the tools menu of the @@theming-controlpanel-mapper. But this seems to be "Working..." endlessly. Also there is no information anywhere visible in the backend. I usually start my client in the foreground (client1 fg).
Any advice on how to compile the theme for production use? Thank you!
Hi @NicolasGoeddel, which template di you use and which version of plonecli/bobtemplates.plone do you have?