Theme dynamic function added.