add gray style to template