wrap styles into tpl