dynamic generate theme preview