add style to type