Set content toggle gradient dynamically.