Before we get down the business of creating a theme, make sure you have all the tools and settings in place:
1. Run Zope in foreground mode. When developing, always launch Zope using
bin/instance fg
rather thanbin/instance start
. At the cost of a little processor power, this greatly speeds development by...Puting Zope into debug mode. This means it will notice certain changes to the product we're developing without needing to be constantly restarted. In Plone 3.3 and above, this automatically turns on the CSS and JavaScript debug modes as well (explained below).
Printing error messages, usually hidden in the
event.log
file, to the terminal. Plone typically makes a lot of noise when it starts up; that can be ignored. But watch for errors, hidden among the innocuousINFO
andDEBUG
messages, when you exercise the functionality of your product.
2. Turn on CSS debug mode. With Plone 3.3 or above, you can skip this step, as it's implicitly done when you run...