Revert "remove theming engine"

This reverts commit 4da2e8490d0a5db9807d309bcc7657e7ae91496b.