adds styling to text