Before the 20th century, both political parties were defined by sectional, ethnic and interest group ties, rather than ideology. So, the enterprise of finding an ideological through line is fatally flawed.
Yes, but hatred of the yellow menace seems to be the one constant, regardless if it's railroad workers in the west or uneducated hicks from Michigan.
Racism against Asians was never unique to the Democratic party. And, it didn't really exist when the Democratic party was founded, as there were no Asians in the United States.
What are you driving at?