add theme management in plugins