Use a union before setting text styles