[TASK] Refactoring -> move theme detection completely outside the repository