added dark.css support via template param.