Restyle template patterns