This is the best doc regarding portal theme customizing I’ve seen so far. Recommended.

Portal theme customizing