The facts is that the major nationalistic movement in Catalonia was lead by a racist person, if you think that a man that governed the region for twenty fucking years doesn't represent the way of thinking of their voters you may also well believe that most nazis that voted for Hitler weren't antisemitic.
Also, there are other racist statements by the actual president of Catalonia or Carme Forcadell, the Catalonian Parliament president, you can say that they don't represent what most nationalist catalans think, and I believe that many aren't racist, but a lot of them are, as shown by their leaders
Nationalism is a fucking cancer that has killed millions and is in their way of causing a civil war, or in the best case, the total economic misery of both Spain and specially Catalonia, so well done.
It's been already some years that the independentist movement in Catalonia has gone beyond nationalism and has become a transversal movement: even people supporting Spanish national team and wearing the national shirt are now supporting independence. It's not a matter of feeling Spanish or not, it's a matter of political decency and getting away from corrupt Spanish institutions controlled by PP/PSOE, parties that are still being voted by the rest of Spain.
Last election results, where blue is PP: